Using Directx and .NET
Does anyone have any hints about to how capture voice input and overlay it over a background music track so that during playback when the voice input is heard the music volume is lowered only during that (voice input) part of the recording.
In other words the background music is slightly muffled or the volume decreased only for the few seconds that the recorded voice is heard during playback. Hope I've been clear enough.
A scenario would be:
I get the user to record a sentence.
there is an interval of x seconds
the user records another sentence
the user stops recording
the user plays back the file. The music is heard straight away but whenever the user hears his/her own voice while they are speaking the volume of the music in the background is slightly decreased so that the users voice can be heard clearly.
Thanks for any help.