On Feb 12, 2009, at 7:01 AM, IOhannes m zmoelnig wrote:
Hans-Christoph Steiner wrote:
If it was a WAV, then yes. This is a 3D array of floats: http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/earplu... ~/
well, this is semantics. the data you are including is a set of HRIRs. to the best of my knowledge HRIRs are usually saved as WAVs (or similar formats, like AIFF), and the bundled into a group by meta- information like filenames, or paths.
of course you can decode the binary WAVs to a a human readable textfile (like earplug_data.txt).
(the comments of earplug_data.txt illustrate what i want to say)
i still think, that the WAVs should be included in the CVS and the earplug_data.txt (or earplug~.h) should be generated from them. you might gain precision with a smaller memory footprint.
but of course, i actually don't really care about it. but i think, such practices are rather bad examples on why we should not have CVS diffs included any more.
fgdam,r IOhannes
I was ignorant of all this WAV stuff, I just wanted to make earplug~ work without having to load a textfile. If you think it should be WAV, then by all means convert the code. But I do think that earplug~ should work without having to load a file, whether that file is a .h, .txt, or .wav.
.hc
----------------------------------------------------------------------------
Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish. -William Carlos Williams