On Wed, Oct 9, 2013 at 11:11 AM, Stéphane Letz <[email protected]> wrote:
> tableSize = ffunction(int soundFileSize (), <foo.wav.h>,"");
> readSoundFile = ffunction(float readSoundFile (int), <foo.wav.h>,"");
>
As a note, this is exactly how the OpenAV Sorcer synth works:
-dump .wav file to C header (using similar tool
-use data from C header from custom ffunction
-Sorcer uses 4 wavetables, hence 4 read functions exist
See the following links for details:
https://github.com/harryhaaren/openAV-Sorcer/blob/68c21c7cdaa2db602e4121ec5ddd4869c06a1e30/faust/wavetableReader.h
https://github.com/harryhaaren/openAV-Sorcer/blob/68c21c7cdaa2db602e4121ec5ddd4869c06a1e30/faust/main.dsp#L43
Cheers, -Harry
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users