This is a point I’m stumbling over again and again …
I’m recording the voice of a computer operator, and telling FMod to stop recording when a certain VU level is maintained for a period of time. I have this bit working no worries. 😀
What is bugging me is that the playback part to get the VU level stuff to work requires that the voice input goes straight to the speaker output. With the slight delay in the C++ sample code that I converted, there appears to be an echo played back to the user.
My questions are:
– is it possible to mute the speakers programatically (even outside of FMod)?
– has anyone tried this technique of playing back while recording to get/show the VU levels?
– is there another way to achieve what I need to do?
Adam “Divot” Finster
- Divot asked 11 years ago
One year ago I made a recording program in VB using Fmod, and had to face the same problem of Vu meter. To disable the output you juste have to desactivate fmod’s last processing stage “clip and copy unit” with two function : FSOUND_DSP_GetClipAndCopyUnit to get the unit handle and then FSOUND_DSP_SetActive(unithandle,0) to disable it.
Then displaying the Vu : I can’t get the GetCurrentsLevels function working accurancily, even with AccuratesVuLevels as init flags, so I started working out an external function, but I had no time to complete it. If you manage to get it working fine please tell me !
the source of my program : [url=http://www.vbfrance.com/code.aspx?id=22988:3m69aqzt]here[/url:3m69aqzt]
- Anonymous answered 11 years ago
Please login first to submit.