Hi,
I’m writing to a wav file with FMOD_OUTPUTTYPE_WAVWRITER_NRT
but instead of writing it into a single wav file, I want to piece it up into many different chunks.
The first way I tried (and rather stupidly) is to release old system and re-initializing a new system every-time I wanted a chunk of wav file but that is too expensive.
So my question is this:
- Is there any way to ask FMOD to start recording to a new file within the same system?
- If that is not possible, then instead of recording to wav files, is there any way I can have FMOD write the PCM samples to memory so that I can flush out the memory myself into a wav (or raw even) file myself? I am layering multiple sound files and adding varying, but high amount of filters to it throughout the track so the example presented here (http://www.fmod.org/questions/question/record-and-output-to-wav-file/) seems like I wont be able to do much of that (If going to have to lock every sound within my program and get the raw data and composite them myself, I wouldn’t have to use FMOD at all!)
TLDR: Need to split output wav file to multiple tracks within the same program. I can make do however with access to pcm samples from FMOD instead of having it write to wav file
I’m sorry if this question is too primitive. I am only just getting my feet wet with FMOD and I am a little bit lost.
Thanks