Voice for online games

In an MMORPG, how do you record a player’s voice and send it to the chat bar for other players to listen to?

Hi,

You can use System::recordStart and System::recordStop to record some audio into an FMOD sound and then use a custom DSP to save it as an audio file to place on the server for all players to listen to.

This is a lot more complicated than can fit into a Q&A answer, so I would recommend downloading the FMOD Studio API and checking out the lowlevel output_mp3.cpp and record.cpp examples.

Thanks,
Richard