My goal is to play a background track while a user plays an instrument, and record the background track mixed with the instrument into a single output file.
I can successfully record the instrument while the background track is playing, I just don’t see a way to mix the background track into the final recording.
I have a guess about the right approach, but can’t find a way to make it work:
Create a channel group that takes as its input a record driver id and sound playback channel, then register that channel group as a new record driver and call System::recordStart
is this the correct strategy? If so, how would it be implemented? If not, what is the correct strategy?
Thank you for your help!
- kky asked 9 years ago
- You must login to post comments
[quote:53qwfi4g]then register that channel group as a new record driver[/quote:53qwfi4g]
The record driver is a device driver that allows software to interact with hardware. You must choose a record driver to do recording.
You should be able to find everything you need in the recordtodisk example.
where you see the line:
[quote:53qwfi4g] result = g_system->addDSP(g_recording_dsp, 0);[/quote:53qwfi4g]
This means that all the sound data from the FMOD system runs through the dsp unit which is doing the recording. If you want to only record the sound for a channel group you could just add the dsp to that channel group.
-Pete
- Guest answered 9 years ago
- You must login to post comments
Please login first to submit.