Browse Source

Massively reoganize tree.

tags/non-daw-v1.1.0
Jonathan Moore Liles 15 years ago
parent
commit
906872c79b
100 changed files with 367 additions and 621 deletions
  1. +7
    -126
      Makefile
  2. +0
    -449
      doc/non-mixer/mup.css
  3. +1
    -0
      mixer/FL
  4. +132
    -0
      mixer/Makefile
  5. +24
    -0
      mixer/configure
  6. +0
    -0
      mixer/doc/MANUAL.html
  7. +0
    -0
      mixer/doc/MANUAL.mu
  8. +25
    -0
      mixer/doc/Makefile
  9. +0
    -0
      mixer/doc/controls.png
  10. +0
    -0
      mixer/doc/gverb-parameters-hsliders.png
  11. +0
    -0
      mixer/doc/gverb-parameters-knobs.png
  12. +0
    -0
      mixer/doc/gverb-parameters-vsliders.png
  13. +0
    -0
      mixer/doc/mixer-strips.png
  14. +0
    -0
      mixer/doc/modules.png
  15. +0
    -0
      mixer/doc/mup.css
  16. +0
    -0
      mixer/doc/new-project.png
  17. +0
    -0
      mixer/doc/non-mixer-and-non-daw-in-patchage.png
  18. +0
    -0
      mixer/doc/non-mixer-complex.png
  19. +0
    -0
      mixer/doc/single-strip.png
  20. +5
    -6
      mixer/makefile.inc
  21. +1
    -0
      mixer/nonlib
  22. +0
    -0
      mixer/pixmaps/logo.png
  23. +0
    -0
      mixer/pixmaps/logo.svg
  24. +1
    -0
      mixer/scripts
  25. +1
    -1
      mixer/src/Chain.C
  26. +0
    -0
      mixer/src/Chain.H
  27. +0
    -0
      mixer/src/Controller_Module.C
  28. +0
    -0
      mixer/src/Controller_Module.H
  29. +0
    -0
      mixer/src/DPM.C
  30. +0
    -0
      mixer/src/DPM.H
  31. +2
    -2
      mixer/src/Engine/Engine.C
  32. +1
    -1
      mixer/src/Engine/Engine.H
  33. +0
    -0
      mixer/src/Gain_Module.C
  34. +0
    -0
      mixer/src/Gain_Module.H
  35. +0
    -0
      mixer/src/JACK_Module.C
  36. +0
    -0
      mixer/src/JACK_Module.H
  37. +0
    -0
      mixer/src/LADSPAInfo.C
  38. +0
    -0
      mixer/src/LADSPAInfo.h
  39. +0
    -0
      mixer/src/Meter.H
  40. +0
    -0
      mixer/src/Meter_Indicator_Module.C
  41. +0
    -0
      mixer/src/Meter_Indicator_Module.H
  42. +0
    -0
      mixer/src/Meter_Module.C
  43. +0
    -0
      mixer/src/Meter_Module.H
  44. +2
    -2
      mixer/src/Mixer.C
  45. +0
    -0
      mixer/src/Mixer.H
  46. +1
    -1
      mixer/src/Mixer_Strip.C
  47. +0
    -0
      mixer/src/Mixer_Strip.H
  48. +0
    -0
      mixer/src/Module.C
  49. +2
    -2
      mixer/src/Module.H
  50. +1
    -1
      mixer/src/Module_Parameter_Editor.C
  51. +0
    -0
      mixer/src/Module_Parameter_Editor.H
  52. +0
    -0
      mixer/src/Mono_Pan_Module.C
  53. +0
    -0
      mixer/src/Mono_Pan_Module.H
  54. +0
    -0
      mixer/src/Panner.C
  55. +0
    -0
      mixer/src/Panner.H
  56. +1
    -1
      mixer/src/Plugin_Module.C
  57. +0
    -0
      mixer/src/Plugin_Module.H
  58. +2
    -2
      mixer/src/Project.C
  59. +0
    -0
      mixer/src/Project.H
  60. +0
    -0
      mixer/src/const.h
  61. +2
    -2
      mixer/src/main.C
  62. +0
    -0
      nonlib/Block_Timer.H
  63. +1
    -1
      nonlib/Log_Entry.C
  64. +2
    -2
      nonlib/Loggable.C
  65. +0
    -0
      nonlib/Mutex.H
  66. +0
    -0
      nonlib/Thread.C
  67. +0
    -0
      nonlib/Thread.H
  68. +0
    -0
      nonlib/debug.C
  69. +0
    -0
      nonlib/debug.h
  70. +0
    -0
      nonlib/file.C
  71. +0
    -0
      nonlib/file.h
  72. +1
    -1
      nonlib/makefile.inc
  73. +0
    -6
      pixmaps/Makefile
  74. +1
    -0
      timeline/FL
  75. +144
    -0
      timeline/Makefile
  76. +0
    -1
      timeline/configure
  77. +0
    -0
      timeline/doc/MANUAL.html
  78. +0
    -0
      timeline/doc/MANUAL.mu
  79. +3
    -9
      timeline/doc/Makefile
  80. +0
    -0
      timeline/doc/OVERVIEW.html
  81. +0
    -0
      timeline/doc/OVERVIEW.mu
  82. +0
    -0
      timeline/doc/annotations.png
  83. +0
    -0
      timeline/doc/automation.png
  84. +0
    -0
      timeline/doc/clocks.png
  85. +0
    -0
      timeline/doc/crappy-screenshot.png
  86. +0
    -0
      timeline/doc/fade-in-out.png
  87. +0
    -0
      timeline/doc/looping.png
  88. +0
    -0
      timeline/doc/mup.css
  89. +0
    -0
      timeline/doc/new-project.png
  90. +0
    -0
      timeline/doc/project-info.png
  91. +0
    -0
      timeline/doc/range.png
  92. +0
    -0
      timeline/doc/recording.png
  93. +0
    -0
      timeline/doc/tempomap.png
  94. +0
    -0
      timeline/doc/tle.png
  95. +0
    -0
      timeline/doc/track-header.png
  96. +0
    -0
      timeline/doc/transport.png
  97. +3
    -5
      timeline/makefile.inc
  98. +1
    -0
      timeline/nonlib
  99. +0
    -0
      timeline/pixmaps/logo.png
  100. +0
    -0
      timeline/pixmaps/logo.svg

+ 7
- 126
Makefile View File

@@ -17,134 +17,15 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #
###############################################################################

## Makefile for the Non-DAW.
SUBDIRS=timeline mixer

##
## Do not edit this file; run `make config` instead.
##
all:
@ for dir in $(SUBDIRS); do $(MAKE) -s -C $$dir; done

VERSION := 0.5.0
clean:
@ for dir in $(SUBDIRS); do $(MAKE) -s -C $$dir clean; done

all: .config
install:
@ for dir in $(SUBDIRS); do $(MAKE) -s -C $$dir install; done

.config: configure
@ ./configure

config:
@ ./configure

-include .config

export SYSTEM_PATH:=$(prefix)/share/
export DOCUMENT_PATH:=$(prefix)/share/doc/
export PIXMAP_PATH:=$(prefix)/share/pixmaps/

# a bit of a hack to make sure this runs before any rules
ifneq ($(CALCULATING),yes)
TOTAL := $(shell $(MAKE) CALCULATING=yes -n 2>/dev/null | sed -n 's/^.*Compiling: \([^"]\+\)"/\1/p' > .files )
endif

ifeq ($(USE_DEBUG),yes)
CFLAGS := -pipe -ggdb -fno-inline -Wall -Wextra -O0
CXXFLAGS := -Wnon-virtual-dtor -Wno-missing-field-initializers -fno-rtti -fno-exceptions
else
CFLAGS := -pipe -O2 -DNDEBUG
CXXFLAGS := -fno-rtti -fno-exceptions
endif


ifeq ($(USE_UNOPTIMIZED_DRAWING),yes)
CFLAGS+=-DUSE_UNOPTIMIZED_DRAWING
endif

ifeq ($(USE_SINGLEBUFFERED_TIMELINE),yes)
CFLAGS+=-DUSE_SINGLEBUFFERED_TIMELINE
endif

ifeq ($(USE_WIDGET_FOR_TIMELINE),yes)
CFLAGS+=-DUSE_WIDGET_FOR_TIMELINE
endif

CFLAGS+=-DVERSION=\"$(VERSION)\" \
-DINSTALL_PREFIX=\"$(prefix)\" \
-DSYSTEM_PATH=\"$(SYSTEM_PATH)\" \
-DDOCUMENT_PATH=\"$(DOCUMENT_PATH)\" \
-DPIXMAP_PATH=\"$(PIXMAP_PATH)\"

CXXFLAGS += $(SNDFILE_CFLAGS) $(FLTK_CFLAGS) $(JACK_CFLAGS)
CXXFLAGS := $(CFLAGS) $(CXXFLAGS)

INCLUDES := -I. -Iutil -IFL -Inonlib

include scripts/colors

ifneq ($(CALCULATING),yes)
COMPILING="$(BOLD)$(BLACK)[$(SGR0)$(CYAN)`scripts/percent-complete .files "$<"`$(SGR0)$(BOLD)$(BLACK)]$(SGR0) Compiling: $(BOLD)$(YELLOW)$<$(SGR0)"
else
COMPILING="Compiling: $<"
endif

.C.o:
@ echo $(COMPILING)
@ $(CXX) $(CXXFLAGS) $(INCLUDES) -c $< -o $@

%.C : %.fl
@ cd `dirname $<` && fluid -c ../$<

DONE := $(BOLD)$(GREEN)done$(SGR0)

include FL/makefile.inc
include nonlib/makefile.inc
include Timeline/makefile.inc
include Mixer/makefile.inc

SRCS:=$(FL_SRCS) $(nonlib_SRCS) $(Timeline_SRCS) $(Mixer_SRCS)
OBJS:=$(FL_OBJS) $(nonlib_OBJS) $(Timeline_OBJS) $(Mixer_OBJS)

# FIXME: isn't there a better way?
$(OBJS): .config Makefile

TAGS: $(SRCS)
etags $(SRCS)

.deps: .config $(SRCS)
ifneq ($(CALCULATING),yes)
@ echo -n Calculating dependencies...
@ makedepend -f- -- $(CXXFLAGS) $(INCLUDES) -- $(SRCS) 2>/dev/null > .deps && echo $(DONE)
@ # gcc -M $(CXXFLAGS) $(INCLUDES) $(SRCS) > .deps && echo $(DONE)
endif


install: all
@ echo -n "Installing..."
@ install Timeline/timeline $(prefix)/bin/non-daw
@ install Mixer/mixer $(prefix)/bin/non-mixer
@ mkdir -p $(SYSTEM_PATH)/non-daw
@ mkdir -p $(PIXMAP_PATH)/non-daw
@ mkdir -p $(SYSTEM_PATH)/non-mixer
@ mkdir -p $(PIXMAP_PATH)/non-mixer
@ cp pixmaps/non-mixer/*.png $(PIXMAP_PATH)/non-mixer
@ cp pixmaps/non-daw/*.png $(PIXMAP_PATH)/non-daw
@ $(MAKE) -s -C doc install
@ echo "$(DONE)"
ifneq ($(USE_DEBUG),yes)
@ echo -n "Stripping..."
@ strip $(prefix)/bin/non-daw
@ strip $(prefix)/bin/non-mixer
@ echo "$(DONE)"
endif

clean_deps:
@ rm -f .deps

.PHONEY: clean config depend clean_deps

clean: FL_clean nonlib_clean Timeline_clean Mixer_clean

dist:
git archive --prefix=non-daw-$(VERSION)/ v$(VERSION) | bzip2 > non-daw-$(VERSION).tar.bz2

scan-gpl:
@ scripts/scan-gpl $(SRCS) || echo $(BOLD)$(RED)Some source files do not contain proper license information!

-include .deps

+ 0
- 449
doc/non-mixer/mup.css View File

@@ -1,449 +0,0 @@

/* Example CSS Style for MUP */

a:link {
color: yellow;
}
a:visited {
color: olive;
}
a:active {
color: white;
}
a:link:hover {
text-decoration: underline;
}

/* #(url) */
a.ext:link {
color: red;
text-decoration: none;
border-bottom: dashed silver 1;
}
a.ext:visited {
color: darkred;
border-bottom: dashed silver 1;
text-decoration: none;
}

/* #(ref) */
a.int:link {
border-bottom: dashed silver 0.15em;
}
a.int:link:hover {
text-decoration: none;
color: white;
}

/*
a[href^="#"]:link {
border-bottom: dashed silver 0.15em;
}
a[href^="#"]:link:hover {
text-decoration: none;
color: white;
}
*/

p:contains("Warning:") {
background: #d00;
color: white;
border: dotted gray 0.5em;
display: block;
}

/* First letter of first paragraph of every chapter */
/*
h1 + p:first-letter {
text-transform: uppercase;
float: left;
line-height: 0.8em;
font-size: 350%;
font-family: Serif;
letter-spacing: 0;
margin-right: 0.1em;
margin-top: 0.1em;
border: solid gray 1px;
padding: 1px;
color: #d00;
text-shadow: #666 3px 3px 3px;
}
*/
/* First paragraph of every chapter */
/*
h1 + p {
text-indent: 0;
}
*/

/* cover */
#cover * {
background: transparent;
}
#cover {
position: relative;
background: #da0;
color: black;
text-align: center;
margin: 0;
padding: 0.5em;
}
#cover h1, #cover h3 {
text-shadow: #444 0.2em 0.2em 0.2em;
color: white;
border: none;
letter-spacing: 0.2em;
line-height: 0.8em;
margin-left: 2em;
margin-right: 2em;
}
#cover h1:before, #cover h1:after {
content: "::";
font-size: 300%;
color: black;
}
#cover h1:before {
position: absolute;
top: 0.2em;
left: 0.1em;
}
#cover h1:after {
position: absolute;
top: 0.2em;
right: 0.1em;
}
#cover hr {
display: none;
}

hr:first-child {
display: none;
}

hr {
height: 0.2em;
background: #555;
color: #555;
margin-left: 0.5em;
}

#cover a:visited {
color: black;
}

/* endnote */
#endnote {
color: black;
}

/* TOC */
#toc {
position: relative;
}
#toc hr {
}
#toc h1 {
}
#toc ul {
font-size: 125%;
font-weight: bold;
margin-bottom: 1em;
}
#toc ul ul {
font-size: 90%;
font-weight: normal;
margin-bottom: 0;
}
#toc li {
list-style: none;

}
#toc a:link {
border-bottom: 0;
}

body {
margin: 0;
background: #222;
color: white;
font-family: Arial, sans-serif;
}
/* */
#body {
position: relative;
margin: 0.5em;
padding: 0.5em;
}
/* ;, : */
h1 {
color: #ff0;
border-bottom: solid #444 0.1em;
}
/* ::, :::, ::::, :::::, :::::: */
h2, h3, h4, h5, h6 {
color: #dd0;
}

/* tables, figures */
.fig caption {
color: gray;
text-align: center;
/* Required for Mozilla */
margin: auto;
}
.fig table {
border: none;
margin: auto;
/* border-collapse: collapse; */
}
/* / */
.fig.table th {
border: none;
background: gray;
color: black;
}
/* [ */
.fig.table td {
border: none;
background: silver;
color: black;
padding-left: 1em;
padding-right: 1em;
padding-top: 0.2em;
padding-bottom: 0.2em;
}
/* < */

.fig.image table {
border: dashed silver 0.2em;
background: transparent;
/* Every browser should support border radii */
-moz-border-radius: 0.5em;
border-radius: 0.5em;

}
.fig.image tr, .fig.image td {
border: none;
background: transparent;
padding: 0;
}

/* */
p {
margin-right: 2%;
text-align: justify;
text-indent: 1em;
}
/* > */
.example *
{
background: transparent;
}
.example table
{
margin: 0;
padding: 0;
table-layout: fixed;
width: 100%;
caption-side: top;
overflow: auto;
}
.example caption
{
caption-side: top;

}
.example {
}
.example p {
display: inline;
margin: 0;
padding: 0;
text-align: center;
}
.example pre {
margin-top: 0;
font-family: Monospace;
padding: 1em;
border: dashed 0.3em gray;
background: #111;
color: white;
display: block;
overflow: auto;
/* Every browser should support border radii */
-moz-border-radius: 0.5em;
border-radius: 0.5em;
}
/* " */
/*
.quote:before {
float: left;
font-size: 500%;
content: "\201C";
}
*/
/*
blockquote:after {
content: "\201D";
}*/
.quote blockquote {
padding: 0.5em;
margin-left: 0.5em;
font-family: Serif;
border-left: solid 0.4em gray;
/* background: #333; */
color: white;
}
/* ^ */
small {
/*
color: silver;
font-size: 50%;
*/
}
.footnote p {
color: silver;
margin: 0;
}

/* Popup footnotes */
.footnote p {
display: none;
}
.footnote p:target {
display: block;
overflow: auto;
position: fixed;
left: auto;
bottom: 0;
right: 0;
max-width: 50%;
border: solid 0.3em white;
-moz-border-radius: 0.5em;
background: black;
padding: 0.2em;
}

/* { */
.admonition * {
background: transparent;
color: white;
}
.admonition dl
{
display: table;
margin: 0;
padding: 0;
background: #333;
border: dotted black 0.3em;
width: 90%
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.admonition dt
{
display: table-cell;
vertical-align: center;
border-right: solid silver 0.4em;
font-weight: bold;
font-size: 115%;
font-family: Serif;
background: gray;
width: 0;
text-shadow: black 0.15em 0.15em 0.15em;
}
.admonition dd
{
padding-left: 0.4em;
display: table-cell;
width: 100%;
text-align: justify;
}

.admonition table
{
margin: 0;
padding: 0;
background: #333;
border: dotted black 0.3em;
width: 90%
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.admonition td {
width: 100%;
text-align: justify;
}
.admonition td:first-child:contains("Warning:") {
background: #900;
}
.admonition td:first-child:contains("Caution:") {
background: #960;
}
.admonition td:first-child:contains("Note:") {
background: #690;
}
.admonition td:first-child {
border-right: solid silver 0.4em;
font-weight: bold;
font-size: 115%;
font-family: Serif;
background: gray;
width: 0;
text-shadow: black 0.15em 0.15em 0.15em;
}


/* #(b) */
/* b { color: olive; } */
/* #(c) */
tt {
color: #7f0;
}
/* ! keywords ... */
p em {
color: gray;
font-style: normal;
font-weight: bold;
}

/* *, + */
/* Bullet, numbe */
li {
color: #f0f;
}
/* Text */
li span, li p {
color: white;
}
li p {
color: red;
display: block;
}
ul {
list-style-type: square;
}
dl {
margin-left: 2%;
margin-top: 1em;
}
/* = */
dt {
background: #181818;
padding: 0.2em;
font-variant: small-caps;
font-weight: bold;
color: #f0f;
}
dd {
color: white;
text-align: justify;
margin-right: 5%;
}
dt a:link, dt a:visited {
color: #f0f;
}
dt a:link:hover {
color: silver;
text-decoration: underline;
}

+ 1
- 0
mixer/FL View File

@@ -0,0 +1 @@
../FL

+ 132
- 0
mixer/Makefile View File

@@ -0,0 +1,132 @@

###############################################################################
# Copyright (C) 2008 Jonathan Moore Liles #
# #
# This program is free software; you can redistribute it and/or modify it #
# under the terms of the GNU General Public License as published by the #
# Free Software Foundation; either version 2 of the License, or (at your #
# option) any later version. #
# #
# This program is distributed in the hope that it will be useful, but WITHOUT #
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or #
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for #
# more details. #
# #
# You should have received a copy of the GNU General Public License along #
# with This program; see the file COPYING. If not,write to the Free Software #
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #
###############################################################################

## Makefile for the Non-DAW.

##
## Do not edit this file; run `make config` instead.
##

VERSION := 0.5.0

all: .config

.config: configure
@ ./configure

config:
@ ./configure

-include .config

export SYSTEM_PATH:=$(prefix)/share/
export DOCUMENT_PATH:=$(prefix)/share/doc/
export PIXMAP_PATH:=$(prefix)/share/pixmaps/

# a bit of a hack to make sure this runs before any rules
ifneq ($(CALCULATING),yes)
TOTAL := $(shell $(MAKE) CALCULATING=yes -n 2>/dev/null | sed -n 's/^.*Compiling: \([^"]\+\)"/\1/p' > .files )
endif

ifeq ($(USE_DEBUG),yes)
CFLAGS := -pipe -ggdb -fno-inline -Wall -Wextra -O0
CXXFLAGS := -Wnon-virtual-dtor -Wno-missing-field-initializers -fno-rtti -fno-exceptions
else
CFLAGS := -pipe -O2 -DNDEBUG
CXXFLAGS := -fno-rtti -fno-exceptions
endif


CFLAGS+=-DVERSION=\"$(VERSION)\" \
-DINSTALL_PREFIX=\"$(prefix)\" \
-DSYSTEM_PATH=\"$(SYSTEM_PATH)\" \
-DDOCUMENT_PATH=\"$(DOCUMENT_PATH)\" \
-DPIXMAP_PATH=\"$(PIXMAP_PATH)\"

CXXFLAGS += $(SNDFILE_CFLAGS) $(FLTK_CFLAGS) $(JACK_CFLAGS)
CXXFLAGS := $(CFLAGS) $(CXXFLAGS)

INCLUDES := -I. -Iutil -IFL -Inonlib

include scripts/colors

ifneq ($(CALCULATING),yes)
COMPILING="$(BOLD)$(BLACK)[$(SGR0)$(CYAN)`scripts/percent-complete .files "$<"`$(SGR0)$(BOLD)$(BLACK)]$(SGR0) Compiling: $(BOLD)$(YELLOW)$<$(SGR0)"
else
COMPILING="Compiling: $<"
endif

.C.o:
@ echo $(COMPILING)
@ $(CXX) $(CXXFLAGS) $(INCLUDES) -c $< -o $@

%.C : %.fl
@ cd `dirname $<` && fluid -c ../$<

DONE := $(BOLD)$(GREEN)done$(SGR0)

include FL/makefile.inc
include nonlib/makefile.inc
include makefile.inc

SRCS:=$(FL_SRCS) $(nonlib_SRCS) $(Mixer_SRCS)
OBJS:=$(FL_OBJS) $(nonlib_OBJS) $(Mixer_OBJS)

# FIXME: isn't there a better way?
$(OBJS): .config Makefile

TAGS: $(SRCS)
etags $(SRCS)

.deps: .config $(SRCS)
ifneq ($(CALCULATING),yes)
@ echo -n Calculating dependencies...
@ makedepend -f- -- $(CXXFLAGS) $(INCLUDES) -- $(SRCS) 2>/dev/null > .deps && echo $(DONE)
@ # gcc -M $(CXXFLAGS) $(INCLUDES) $(SRCS) > .deps && echo $(DONE)
endif


install: all
@ echo -n "Installing..."
@ install src/mixer $(prefix)/bin/non-mixer
@ mkdir -p $(SYSTEM_PATH)/non-mixer
@ mkdir -p $(PIXMAP_PATH)/non-mixer
@ cp pixmaps/*.png $(PIXMAP_PATH)/non-mixer
@ $(MAKE) -s -C doc install
@ echo "$(DONE)"
ifneq ($(USE_DEBUG),yes)
@ echo -n "Stripping..."
@ strip $(prefix)/bin/non-mixer
@ echo "$(DONE)"
endif

clean_deps:
@ rm -f .deps

.PHONEY: clean config depend clean_deps

clean: FL_clean nonlib_clean Mixer_clean

dist:
git archive --prefix=non-mixer-$(VERSION)/ v$(VERSION) | bzip2 > non-mixer-$(VERSION).tar.bz2

scan-gpl:
@ scripts/scan-gpl $(SRCS) || echo $(BOLD)$(RED)Some source files do not contain proper license information!

-include .deps

+ 24
- 0
mixer/configure View File

@@ -0,0 +1,24 @@
#!/bin/sh
#
# Copyright (C) 2008 Jonathan Moore Liles
# This file is licensed under version 2 of the GPL.

. scripts/config-funcs

begin

begin_options

ask "Installation prefix" prefix /usr/local
ask "Build for debugging" USE_DEBUG no

begin_tests

require_FLTK 1.1.7 images
require_command FLUID fluid
require_command ar ar
require_command makedepend makedepend
require_package JACK 0.103.0 jack
require_package lrdf 0.4.0 lrdf

end

doc/non-mixer/MANUAL.html → mixer/doc/MANUAL.html View File


doc/non-mixer/MANUAL.mu → mixer/doc/MANUAL.mu View File


+ 25
- 0
mixer/doc/Makefile View File

@@ -0,0 +1,25 @@

SRCS=$(wildcard *.mu)

OBJS=$(SRCS:.mu=.html)

%.html: %.mu
@ echo Mupping $<...
@ mup.wrapper html $<

.PHONY: all clean

all: $(OBJS)

upload: all
@ ln -sf OVERVIEW.html index.html
@ rsync -L mup.css MANUAL.html index.html *.png ssh.tuxfamily.org:/home/non/non-mixer.tuxfamily.org-web/htdocs
@ rm -f index.html

install:
@ mkdir -p $(DOCUMENT_PATH)/non-mixer
@ cp $(OBJS) *.png mup.css ../../COPYING $(DOCUMENT_PATH)/non-mixer
# @ ln -sf $(PIXMAP_PATH)/logo.png $(DOCUMENT_PATH)

clean:
rm -f $(OBJS)

doc/non-mixer/controls.png → mixer/doc/controls.png View File


doc/non-mixer/gverb-parameters-hsliders.png → mixer/doc/gverb-parameters-hsliders.png View File


doc/non-mixer/gverb-parameters-knobs.png → mixer/doc/gverb-parameters-knobs.png View File


doc/non-mixer/gverb-parameters-vsliders.png → mixer/doc/gverb-parameters-vsliders.png View File


doc/non-mixer/mixer-strips.png → mixer/doc/mixer-strips.png View File


doc/non-mixer/modules.png → mixer/doc/modules.png View File


doc/mup.css → mixer/doc/mup.css View File


doc/non-mixer/new-project.png → mixer/doc/new-project.png View File


doc/non-mixer/non-mixer-and-non-daw-in-patchage.png → mixer/doc/non-mixer-and-non-daw-in-patchage.png View File


doc/non-mixer/non-mixer-complex.png → mixer/doc/non-mixer-complex.png View File


doc/non-mixer/single-strip.png → mixer/doc/single-strip.png View File


Mixer/makefile.inc → mixer/makefile.inc View File

@@ -2,20 +2,19 @@

all: Mixer

Mixer_SRCS := $(wildcard Mixer/*.C Mixer/*.fl Mixer/Engine/*.C)
Mixer_SRCS += util/debug.C util/Thread.C util/file.C
Mixer_SRCS := $(wildcard src/*.C src/*.fl src/Engine/*.C)

Mixer_SRCS:=$(Mixer_SRCS:.fl=.C)
Mixer_SRCS:=$(sort $(Mixer_SRCS))
Mixer_OBJS:=$(Mixer_SRCS:.C=.o)

Mixer_LIBS := $(FLTK_LIBS) $(JACK_LIBS) $(LASH_LIBS) -llrdf
Mixer_LIBS := $(FLTK_LIBS) $(JACK_LIBS) $(LASH_LIBS) $(LRDF_LIBS)

Mixer/mixer: $(Mixer_OBJS) FL nonlib
src/mixer: $(Mixer_OBJS) FL nonlib
@ echo -n Linking mixer...
@ $(CXX) $(CXXFLAGS) $(Mixer_LIBS) $(Mixer_OBJS) -o $@ -LFL -lfl_widgets -Lnonlib -lnonlib && echo $(DONE)

Mixer: Mixer/mixer
Mixer: src/mixer

Mixer_clean:
rm -f $(Mixer_OBJS) Mixer/mixer
rm -f $(Mixer_OBJS) src/mixer

+ 1
- 0
mixer/nonlib View File

@@ -0,0 +1 @@
../nonlib

pixmaps/non-mixer/logo.png → mixer/pixmaps/logo.png View File


pixmaps/non-mixer/logo.svg → mixer/pixmaps/logo.svg View File


+ 1
- 0
mixer/scripts View File

@@ -0,0 +1 @@
../scripts/

Mixer/Chain.C → mixer/src/Chain.C View File

@@ -71,7 +71,7 @@
#include "FL/menu_popup.H"
#include "FL/test_press.H"

#include "util/debug.h"
#include "debug.h"
#include "Engine/Engine.H"

#include "Mixer_Strip.H"

Mixer/Chain.H → mixer/src/Chain.H View File


Mixer/Controller_Module.C → mixer/src/Controller_Module.C View File


Mixer/Controller_Module.H → mixer/src/Controller_Module.H View File


Mixer/DPM.C → mixer/src/DPM.C View File


Mixer/DPM.H → mixer/src/DPM.H View File


Mixer/Engine/Engine.C → mixer/src/Engine/Engine.C View File

@@ -25,8 +25,8 @@
/* This is the home of the JACK process callback */

// #include "const.h"
#include "util/debug.h"
#include "util/Thread.H"
#include "debug.h"
#include "Thread.H"



Mixer/Engine/Engine.H → mixer/src/Engine/Engine.H View File

@@ -19,7 +19,7 @@

#pragma once

#include "util/Mutex.H"
#include "Mutex.H"

class Port;


Mixer/Gain_Module.C → mixer/src/Gain_Module.C View File


Mixer/Gain_Module.H → mixer/src/Gain_Module.H View File


Mixer/JACK_Module.C → mixer/src/JACK_Module.C View File


Mixer/JACK_Module.H → mixer/src/JACK_Module.H View File


Mixer/LADSPAInfo.C → mixer/src/LADSPAInfo.C View File


Mixer/LADSPAInfo.h → mixer/src/LADSPAInfo.h View File


Mixer/Meter.H → mixer/src/Meter.H View File


Mixer/Meter_Indicator_Module.C → mixer/src/Meter_Indicator_Module.C View File


Mixer/Meter_Indicator_Module.H → mixer/src/Meter_Indicator_Module.H View File


Mixer/Meter_Module.C → mixer/src/Meter_Module.C View File


Mixer/Meter_Module.H → mixer/src/Meter_Module.H View File


Mixer/Mixer.C → mixer/src/Mixer.C View File

@@ -36,7 +36,7 @@
#include "FL/Fl_Menu_Settings.H"
#include "About_Dialog.H"

#include "util/file.h"
#include "file.h"

#include <string.h>
#include "debug.h"
@@ -47,7 +47,7 @@ const double STATUS_UPDATE_FREQ = 0.2f;

extern char *user_config_dir;

#include "util/debug.h"
#include "debug.h"

static void update_cb( void *v ) {
Fl::repeat_timeout( STATUS_UPDATE_FREQ, update_cb, v );

Mixer/Mixer.H → mixer/src/Mixer.H View File


Mixer/Mixer_Strip.C → mixer/src/Mixer_Strip.C View File

@@ -51,7 +51,7 @@
#include "Meter_Module.H"
#include "Controller_Module.H"
#include "Meter_Indicator_Module.H"
#include "util/debug.h"
#include "debug.h"

#include <FL/Fl_Menu_Button.H>
#include "FL/test_press.H"

Mixer/Mixer_Strip.H → mixer/src/Mixer_Strip.H View File


Mixer/Module.C → mixer/src/Module.C View File


Mixer/Module.H → mixer/src/Module.H View File

@@ -23,10 +23,10 @@
#include <FL/Fl_Group.H>

#include <stdlib.h>
#include "util/debug.h"
#include "debug.h"
#include <vector>

#include "util/Thread.H"
#include "Thread.H"

#include "Loggable.H"
#include "JACK/Port.H"

Mixer/Module_Parameter_Editor.C → mixer/src/Module_Parameter_Editor.C View File

@@ -38,7 +38,7 @@
#include "Controller_Module.H"
#include "Chain.H"

#include <util/debug.h>
#include "debug.h"



Mixer/Module_Parameter_Editor.H → mixer/src/Module_Parameter_Editor.H View File


Mixer/Mono_Pan_Module.C → mixer/src/Mono_Pan_Module.C View File


Mixer/Mono_Pan_Module.H → mixer/src/Mono_Pan_Module.H View File


Mixer/Panner.C → mixer/src/Panner.C View File


Mixer/Panner.H → mixer/src/Panner.H View File


Mixer/Plugin_Module.C → mixer/src/Plugin_Module.C View File

@@ -35,7 +35,7 @@

#include "Plugin_Module.H"

#include "util/debug.h"
#include "debug.h"

#define HAVE_LIBLRDF 1
#include "LADSPAInfo.h"

Mixer/Plugin_Module.H → mixer/src/Plugin_Module.H View File


Mixer/Project.C → mixer/src/Project.C View File

@@ -36,8 +36,8 @@
#include <FL/filename.H>

#include "const.h"
#include "util/debug.h"
#include "util/file.h"
#include "debug.h"
#include "file.h"

#include "Mixer.H"


Mixer/Project.H → mixer/src/Project.H View File


Mixer/const.h → mixer/src/const.h View File


Mixer/main.C → mixer/src/main.C View File

@@ -32,8 +32,8 @@
#include <FL/Fl_Shared_Image.H>
#include <FL/Fl_Pack.H>
#include <FL/Boxtypes.H>
#include "util/Thread.H"
#include "util/debug.h"
#include "Thread.H"
#include "debug.h"

#include "Mixer.H"
#include "Project.H"

util/Block_Timer.H → nonlib/Block_Timer.H View File


+ 1
- 1
nonlib/Log_Entry.C View File

@@ -20,7 +20,7 @@
#include "Log_Entry.H"

// #include "const.h"
#include "util/debug.h"
#include "debug.h"

Log_Entry::Log_Entry ( )
{


+ 2
- 2
nonlib/Loggable.C View File

@@ -31,10 +31,10 @@
#include <stdio.h>
#include <string.h>

#include "util/file.h"
#include "file.h"

// #include "const.h"
#include "util/debug.h"
#include "debug.h"

#include <algorithm>
using std::min;


util/Mutex.H → nonlib/Mutex.H View File


util/Thread.C → nonlib/Thread.C View File


util/Thread.H → nonlib/Thread.H View File


util/debug.C → nonlib/debug.C View File


util/debug.h → nonlib/debug.h View File


util/file.C → nonlib/file.C View File


util/file.h → nonlib/file.h View File


+ 1
- 1
nonlib/makefile.inc View File

@@ -1,6 +1,6 @@
# -*- mode: makefile; -*-

nonlib_SRCS := $(wildcard nonlib/*.C nonlib/JACK/*.C nonlib/LASH/*.C)
nonlib_SRCS := $(wildcard nonlib/*.C nonlib/*.c nonlib/JACK/*.C nonlib/LASH/*.C)

nonlib_SRCS:=$(sort $(nonlib_SRCS))
nonlib_OBJS:=$(nonlib_SRCS:.C=.o)


+ 0
- 6
pixmaps/Makefile View File

@@ -1,6 +0,0 @@

%.png : %.svg
convert -background none $< -scale 256 -colors 256 -quality 0 $@

all: logo.png logo2.png


+ 1
- 0
timeline/FL View File

@@ -0,0 +1 @@
../FL

+ 144
- 0
timeline/Makefile View File

@@ -0,0 +1,144 @@

###############################################################################
# Copyright (C) 2008 Jonathan Moore Liles #
# #
# This program is free software; you can redistribute it and/or modify it #
# under the terms of the GNU General Public License as published by the #
# Free Software Foundation; either version 2 of the License, or (at your #
# option) any later version. #
# #
# This program is distributed in the hope that it will be useful, but WITHOUT #
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or #
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for #
# more details. #
# #
# You should have received a copy of the GNU General Public License along #
# with This program; see the file COPYING. If not,write to the Free Software #
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #
###############################################################################

## Makefile for the Non-DAW.

##
## Do not edit this file; run `make config` instead.
##

VERSION := 0.5.0

all: .config

.config: configure
@ ./configure

config:
@ ./configure

-include .config

export SYSTEM_PATH:=$(prefix)/share/
export DOCUMENT_PATH:=$(prefix)/share/doc/
export PIXMAP_PATH:=$(prefix)/share/pixmaps/

# a bit of a hack to make sure this runs before any rules
ifneq ($(CALCULATING),yes)
TOTAL := $(shell $(MAKE) CALCULATING=yes -n 2>/dev/null | sed -n 's/^.*Compiling: \([^"]\+\)"/\1/p' > .files )
endif

ifeq ($(USE_DEBUG),yes)
CFLAGS := -pipe -ggdb -fno-inline -Wall -Wextra -O0
CXXFLAGS := -Wnon-virtual-dtor -Wno-missing-field-initializers -fno-rtti -fno-exceptions
else
CFLAGS := -pipe -O2 -DNDEBUG
CXXFLAGS := -fno-rtti -fno-exceptions
endif


ifeq ($(USE_UNOPTIMIZED_DRAWING),yes)
CFLAGS+=-DUSE_UNOPTIMIZED_DRAWING
endif

ifeq ($(USE_SINGLEBUFFERED_TIMELINE),yes)
CFLAGS+=-DUSE_SINGLEBUFFERED_TIMELINE
endif

ifeq ($(USE_WIDGET_FOR_TIMELINE),yes)
CFLAGS+=-DUSE_WIDGET_FOR_TIMELINE
endif

CFLAGS+=-DVERSION=\"$(VERSION)\" \
-DINSTALL_PREFIX=\"$(prefix)\" \
-DSYSTEM_PATH=\"$(SYSTEM_PATH)\" \
-DDOCUMENT_PATH=\"$(DOCUMENT_PATH)\" \
-DPIXMAP_PATH=\"$(PIXMAP_PATH)\"

CXXFLAGS += $(SNDFILE_CFLAGS) $(FLTK_CFLAGS) $(JACK_CFLAGS)
CXXFLAGS := $(CFLAGS) $(CXXFLAGS)

INCLUDES := -I. -Iutil -IFL -Inonlib

include scripts/colors

ifneq ($(CALCULATING),yes)
COMPILING="$(BOLD)$(BLACK)[$(SGR0)$(CYAN)`scripts/percent-complete .files "$<"`$(SGR0)$(BOLD)$(BLACK)]$(SGR0) Compiling: $(BOLD)$(YELLOW)$<$(SGR0)"
else
COMPILING="Compiling: $<"
endif

.C.o:
@ echo $(COMPILING)
@ $(CXX) $(CXXFLAGS) $(INCLUDES) -c $< -o $@

%.C : %.fl
@ cd `dirname $<` && fluid -c ../$<

DONE := $(BOLD)$(GREEN)done$(SGR0)

include FL/makefile.inc
include nonlib/makefile.inc
include makefile.inc

SRCS:=$(FL_SRCS) $(nonlib_SRCS) $(Timeline_SRCS) $(Mixer_SRCS)
OBJS:=$(FL_OBJS) $(nonlib_OBJS) $(Timeline_OBJS) $(Mixer_OBJS)

# FIXME: isn't there a better way?
$(OBJS): .config Makefile

TAGS: $(SRCS)
etags $(SRCS)

.deps: .config $(SRCS)
ifneq ($(CALCULATING),yes)
@ echo -n Calculating dependencies...
@ makedepend -f- -- $(CXXFLAGS) $(INCLUDES) -- $(SRCS) 2>/dev/null > .deps && echo $(DONE)
@ # gcc -M $(CXXFLAGS) $(INCLUDES) $(SRCS) > .deps && echo $(DONE)
endif


install: all
@ echo -n "Installing..."
@ install src/timeline $(prefix)/bin/non-daw
@ mkdir -p $(SYSTEM_PATH)/non-daw
@ mkdir -p $(PIXMAP_PATH)/non-daw
@ cp pixmaps/*.png $(PIXMAP_PATH)/non-daw
@ $(MAKE) -s -C doc install
@ echo "$(DONE)"
ifneq ($(USE_DEBUG),yes)
@ echo -n "Stripping..."
@ strip $(prefix)/bin/non-daw
@ echo "$(DONE)"
endif

clean_deps:
@ rm -f .deps

.PHONEY: clean config depend clean_deps

clean: FL_clean nonlib_clean Timeline_clean

dist:
git archive --prefix=non-daw-$(VERSION)/ v$(VERSION) | bzip2 > non-daw-$(VERSION).tar.bz2

scan-gpl:
@ scripts/scan-gpl $(SRCS) || echo $(BOLD)$(RED)Some source files do not contain proper license information!

-include .deps

configure → timeline/configure View File

@@ -27,6 +27,5 @@ require_command ar ar
require_command makedepend makedepend
require_package JACK 0.103.0 jack
require_package sndfile 1.0.17 sndfile
require_package lrdf 0.1.0 lrdf

end

doc/non-daw/MANUAL.html → timeline/doc/MANUAL.html View File


doc/non-daw/MANUAL.mu → timeline/doc/MANUAL.mu View File


doc/Makefile → timeline/doc/Makefile View File

@@ -1,11 +1,7 @@

NM_SRCS=$(wildcard non-mixer/*.mu)
SRCS=$(wildcard *.mu)
ND_SRCS=$(wildcard non-daw/*.mu)

OBJS=$(SRCS:.mu=.html)
NM_OBJS=$(NM_SRCS:.mu=.html)
ND_OBJS=$(ND_SRCS:.mu=.html)

%.html: %.mu
@ echo Mupping $<...
@@ -13,7 +9,7 @@ ND_OBJS=$(ND_SRCS:.mu=.html)

.PHONY: all clean

all: $(OBJS) $(NM_OBJS) $(ND_OBJS)
all: $(OBJS)

upload: all
@ ln -sf OVERVIEW.html index.html
@@ -22,10 +18,8 @@ upload: all

install:
@ mkdir -p $(DOCUMENT_PATH)/non-daw
@ mkdir -p $(DOCUMENT_PATH)/non-mixer
@ cp $(ND_OBJS) non-daw/*.png non-daw/mup.css ../COPYING $(DOCUMENT_PATH)/non-daw
@ cp $(NM_OBJS) non-mixer/*.png non-mixer/mup.css ../COPYING $(DOCUMENT_PATH)/non-mixer
@ cp $(OBJS) *.png mup.css ../../COPYING $(DOCUMENT_PATH)/non-daw
# @ ln -sf $(PIXMAP_PATH)/logo.png $(DOCUMENT_PATH)

clean:
rm -f $(OBJS) $(NM_OBJS) $(ND_OBJS)
rm -f $(OBJS)

doc/OVERVIEW.html → timeline/doc/OVERVIEW.html View File


doc/OVERVIEW.mu → timeline/doc/OVERVIEW.mu View File


doc/non-daw/annotations.png → timeline/doc/annotations.png View File


doc/non-daw/automation.png → timeline/doc/automation.png View File


doc/non-daw/clocks.png → timeline/doc/clocks.png View File


doc/non-daw/crappy-screenshot.png → timeline/doc/crappy-screenshot.png View File


doc/non-daw/fade-in-out.png → timeline/doc/fade-in-out.png View File


doc/non-daw/looping.png → timeline/doc/looping.png View File


doc/non-daw/mup.css → timeline/doc/mup.css View File


doc/non-daw/new-project.png → timeline/doc/new-project.png View File


doc/non-daw/project-info.png → timeline/doc/project-info.png View File


doc/non-daw/range.png → timeline/doc/range.png View File


doc/non-daw/recording.png → timeline/doc/recording.png View File


doc/non-daw/tempomap.png → timeline/doc/tempomap.png View File


doc/non-daw/tle.png → timeline/doc/tle.png View File


doc/non-daw/track-header.png → timeline/doc/track-header.png View File


doc/non-daw/transport.png → timeline/doc/transport.png View File


Timeline/makefile.inc → timeline/makefile.inc View File

@@ -4,9 +4,7 @@ all: Timeline

Timeline_VERSION := 0.5.0

Timeline_SRCS := $(wildcard Timeline/*.C Timeline/*.fl Timeline/Engine/*.C)

Timeline_SRCS += util/debug.C util/Thread.C util/file.C
Timeline_SRCS := $(wildcard src/*.C src/*.fl src/Engine/*.C)

Timeline_SRCS:=$(Timeline_SRCS:.fl=.C)
Timeline_SRCS:=$(sort $(Timeline_SRCS))
@@ -14,11 +12,11 @@ Timeline_OBJS:=$(Timeline_SRCS:.C=.o)

Timeline_LIBS := $(FLTK_LIBS) $(JACK_LIBS) $(SNDFILE_LIBS)

Timeline/timeline: $(Timeline_OBJS) FL
src/timeline: $(Timeline_OBJS) FL
@ echo -n Linking timeline...
@ $(CXX) $(CXXFLAGS) $(INCLUDES) $(Timeline_LIBS) $(Timeline_OBJS) -o $@ -LFL -lfl_widgets -Lnonlib -lnonlib && echo $(DONE)

Timeline: Timeline/timeline
Timeline: src/timeline

Timeline_clean:
rm -f $(Timeline_OBJS) Timeline/timeline

+ 1
- 0
timeline/nonlib View File

@@ -0,0 +1 @@
../nonlib

pixmaps/non-daw/logo.png → timeline/pixmaps/logo.png View File


pixmaps/non-daw/logo.svg → timeline/pixmaps/logo.svg View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save