aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Doukhan <rudk@users.sourceforge.net>2011-02-07 16:03:10 +0000
committerDavid Doukhan <rudk@users.sourceforge.net>2011-02-07 16:03:10 +0000
commit06bbf51551ba3fdd95109ddb3fe8de8c894f7080 (patch)
tree223d8add4183105c0fea2c026d3062aff58880bb
parent8dafbb20414cb9595c1ebe3fa2aba0acadf15f22 (diff)
better makefile!
svn path=/trunk/externals/ddoukhan/cw_binaural~/; revision=14857
-rw-r--r--Makefile18
-rw-r--r--azimuth.gifbin0 -> 3199 bytes
-rw-r--r--cw_binaural~-help.pd35
-rw-r--r--elevation.gifbin0 -> 2934 bytes
4 files changed, 48 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index d3cdaba..96f9c6e 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ LIBRARY_NAME = cw_binaural~
# add your .c source files, one object per file, to the SOURCES
# variable, help files will be included automatically
-SOURCES = src/cw_binaural~.cpp #mycobject.c
+SOURCES = cw_binaural~.cpp #mycobject.c
SRC=src/riff.cpp \
src/generic_riff.cpp \
@@ -31,10 +31,19 @@ OBJ = $(SRC:.cpp=.o)
PDOBJECTS = #mypdobject.pd
# example patches and related files, in the 'examples' subfolder
-EXAMPLES = #bothtogether.pd
+EXAMPLES = 01-getting_started.pd \
+ 02-supported_hrtf_database.pd \
+ 03-advanded_support_of_hrtf_database.pd \
+ 04-using_subset_of_hrtf_database.pd \
+ 05-cw_binaural~_creation_arguments.pd \
+ 06-FFT_filtering.pd \
+ azimuth.gif \
+ coordinates.gif \
+ elevation.gif \
+ fft_binaural.pd
# manuals and related files, in the 'manual' subfolder
-MANUAL = manual.txt
+MANUAL = # manual.txt
# if you want to include any other files in the source and binary tarballs,
# list them here. This can be anything from header files, test patches,
@@ -216,7 +225,7 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME)))
endif
# in case somebody manually set the HELPPATCHES above
-HELPPATCHES ?= $(SOURCES:.cpp=-help.pd) $(PDOBJECTS:.pd=-help.pd)
+HELPPATCHES ?= cw_binaural~-help.pd elevation.gif azimuth.gif #$(SOURCES:.cpp=-help.pd) $(PDOBJECTS:.pd=-help.pd)
CFLAGS += $(OPT_CFLAGS)
@@ -229,7 +238,6 @@ $(OBJ) : %.o: %.cpp
$(CXX) $(CFLAGS) -o "$*.o" -c "$*.cpp"
%.$(EXTENSION): $(OBJ)
- echo regele extension $*.o
$(CXX) $(LDFLAGS) -o "$*.$(EXTENSION)" $(OBJ) $(LIBS)
chmod a-x "$*.$(EXTENSION)"
diff --git a/azimuth.gif b/azimuth.gif
new file mode 100644
index 0000000..2117182
--- /dev/null
+++ b/azimuth.gif
Binary files differ
diff --git a/cw_binaural~-help.pd b/cw_binaural~-help.pd
new file mode 100644
index 0000000..6154fd3
--- /dev/null
+++ b/cw_binaural~-help.pd
@@ -0,0 +1,35 @@
+#N canvas 277 247 461 596 10;
+#X obj 122 299 cw_binaural~;
+#X obj 144 353 dac~;
+#X obj 141 245 *~ 360;
+#X obj 37 235 noise~;
+#X obj 133 221 phasor~ 0.1;
+#X floatatom 290 227 5 0 0 0 - - -;
+#X msg 32 430 listen_db /home/david/listen/1048/COMPENSATED/WAV/IRC_1048_C
+;
+#X text 19 212 audio input;
+#X text 132 201 azimuth (degree);
+#X text 271 201 elevation (degree);
+#X text 67 387 A click on this message loads the HRTF that will be
+used: it is required to perform any processing.;
+#X text 44 459 Listen HRIRs can be downloaded on the website of IRCAM's
+Room Acoustics Team: see http://recherche.ircam.fr/equipes/salles/listen
+Once a given HRIR has been unzipped \, the path to the directory containing
+wavs corresponding to conpensated hrir should be given in the message.
+;
+#X obj 178 119 image azimuth.gif;
+#X obj 350 133 image elevation.gif;
+#X text 53 27 azimuth and elevation are expressed in vertical polar
+coordinates;
+#X text 59 -61 This patch performs binaural synthesis using cw_binaural~
+;
+#X text 58 -37 More details concerning the methods used for the synthesis
+can be found in: cw_binaural~: A binaural synthesis external for pure
+data \, David Doukhan and Anne Sedes \, PDCon09;
+#X connect 0 0 1 0;
+#X connect 0 1 1 1;
+#X connect 2 0 0 1;
+#X connect 3 0 0 0;
+#X connect 4 0 2 0;
+#X connect 5 0 0 2;
+#X connect 6 0 0 0;
diff --git a/elevation.gif b/elevation.gif
new file mode 100644
index 0000000..dd07e0a
--- /dev/null
+++ b/elevation.gif
Binary files differ