0
0

I would like to intercept the packets of wave data as someone is speaking so that I can send the data to a server. I would also like to play packets that are being generated on a server. This is a speech rec and TTS application. A bonus would be to be able to compress the data. If I can do this with FMOD, please point me to the place in the documentation where I can find the API’s. If I can get the packets, I have the IP routines to transport the data.

Thanks

  • You must to post comments
0
0

[quote="brett":3aru9539]fmod wont compress data for you, but if you want to get access to recorded data in realtime, i suggest you look at the win32 api ‘record’ example. What it does is set up a dsp unit to capture the data being played back and apply reverb to it. If you dont want it played, then the dsp unit method wont help much, so you will have to poll the record position of the sample being recorded to, then memcpy the data out as it is recording, a block at a time. (using fsound_sample_lock/fsound_sample_unlock)

I can go into more detail or re-explain if you have more questions.[/quote:3aru9539]

Can you please provide more details on how to do it. I don’t want it played but compress it in wav format on the fly and send the packets to a server app.
Thanks.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.