Permalink
Browse files

added resonator.dsp sketch

  • Loading branch information...
1 parent 5bab26f commit 147f3b76aa7e6ecaf554e1ad4126f8e588dbd97a @timowest committed Jan 18, 2012
Showing with 744 additions and 252,288 deletions.
  1. +9 −9 Makefile
  2. +0 −252,279 csv
  3. +1 −0 faust/flauta.dsp
  4. +121 −0 faust/resonator.dsp
  5. +2 −0 flauta.sh
  6. +495 −0 orig/modules/Flauta.cpp
  7. +116 −0 orig/modules/Flauta.h
View
@@ -4,6 +4,14 @@ PAQ = `pkg-config --cflags --libs paq`
FAUST = -I/usr/local/lib/faust/
TESTS = gen/blow.cpp gen/bernoulli.cpp gen/excitation.cpp gen/jetdrive.cpp gen/receptivity.cpp gen/turbulence.cpp gen/vortex.cpp gen/jet.cpp gen/sources.cpp
+# temporary
+gen/resonator.cpp:
+ faust -a alsa-gtk.cpp -double faust/resonator.dsp > gen/resonator.cpp
+
+# temporary
+resonator: gen/resonator.cpp
+ g++ -Wall gen/resonator.cpp $(ALSA_GTK) $(FAUST) $(CFLAGS) -lm -o resonator.out
+
gen/flauta.cpp:
faust -a alsa-gtk.cpp -double faust/flauta.dsp > gen/flauta.cpp
@@ -25,19 +33,11 @@ compare_fast: $(TESTS)
cd orig/modules;make clean fast;cd ../..
python compare.py fast
-# deprecated
-compare2: $(TESTS)
- g++ -Wall -fpermissive tests/tests.cpp -g $(FAUST) -lm -Igen/ -Isrc/ -o tests.out
- ./tests.out
- cd orig/modules;make clean standalone;cd ../..
- python compare2.py
-
svg:
rm -rf faust/*-svg
faust -svg -sn faust/flauta.dsp
+ faust -svg -sn faust/resonator.dsp
clean:
rm -rf *.so *.out *.wav gen/* faust/*-svg alsa-gtk
-carlos:
- make clean; make; make standalone; ./flauta.out
Oops, something went wrong.

0 comments on commit 147f3b7

Please sign in to comment.