Page 1 of 1
Record a stream of audio into a wave file or wave table?
Posted: Wed Nov 05, 2014 1:17 pm
by glitchcpt
Hi guys,
I'm struggling to get my head around how to achieve this with Flowstone?
I want to stream audio into a module where its saved as a loop/sample/wavetable where it can be manipulated or resynthed.
Apologies if its a noob question, and thanks in advance for the feedback
Re: Record a stream of audio into a wave file or wave table?
Posted: Wed Nov 05, 2014 4:31 pm
by nix
prolly the best way to do it is to write to a mem.
you need to build a stream counter,
which renders the samples into the mem.
You can see my implementation at
www.phonicsaudio.com The plugin is called Sync
This is really the only practical method.
It's also possible to take float array chunks and append them,
but this gets discontinuities when the CPU is busy.
I would be happy to sell the schematic for Sync
Maybe I could chop out the juicy parts for ya anyway-
happy to answer a next round of questions if you've got them
Re: Record a stream of audio into a wave file or wave table?
Posted: Wed Nov 05, 2014 4:58 pm
by glitchcpt
I just want to say thanks again for your generosity

this is more a learning experience than anything else, I will end up giving my plugins to my students and followers for free also for learning processes, so I will try focus on getting it right by myself, I think this has given me a bit of a push so lets see

Re: Record a stream of audio into a wave file or wave table?
Posted: Wed Nov 05, 2014 5:16 pm
by nix
you're welcome!
the way to get a stream to count upwards at samplerate is to feedback
1 into an add
Well it's the simplest way without writing a code snippet
All success
Re: Record a stream of audio into a wave file or wave table?
Posted: Wed Nov 05, 2014 5:58 pm
by glitchcpt
Thanks man!! I think logically its coming together in my head
