0
0

Hello. I’m pretty new to FMOD but have been really impressed with it so far. I’m working in VB6 and would like to write my channel output to disk.
I managed to do this using WAV_WRITER but writing begins immediately after initialising FMOD.

The problem is that after init I have to load about 16 sounds (each 4-6 seconds long) and then play at different points in a timeline – the end result is a wav file that does sound like the speaker/channel output, but with a tiny difference: there is a period of silence at the beginning of the wav, where the samples are being loaded into memory.

I’ve seen references to using a custom DSP to acheive a similar effect, but can’t find a working example for VB6. Is there any way to delay WAV_WRITER and have it start at a specific time – or perhaps a way of trimming the first 1 second out of a wav file (so I could init FMOD, then start my multiple-sample playback on a 1 second timer, then trim this silence out once the file has been written to disk)?

Any help would be appreciated!
Many thanks
Chris

  • You must to post comments
0
0

Hi Chris,

There is no way to delay the wavwriter, so you would have to use a custom DSP as you mentioned. That involves writing the data to file yourself and creating a wav header. The custom DSP example is a good starting point, we haven’t ported that example to VB6 so you might need to look at the C++ example to work out what you need to do.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.