0
0

Hi,

How do I get the current recording level for the audio going in when using System::recordStart?

As far as I can understand the documentation, both System::getWaveData and Channel::getWaveData provide levels for the audio coming out through the mixer, but I haven’t been able to find anything on the level of the sound being recorded.

  • You must to post comments
0
0

AFAIK you can only assess an audio stream on playback. So you have to setup a new sound to record into ( set to loop), wait a short moment, then play the sound you are recording.

Have a look at the example "recording", it will do this for you.

  • You must to post comments
0
0

Thanks tdc

The example app "recording" gets the current location using:

[code:gyjxnvhk]result = system->getRecordPosition(0, &currentrecpos)[/code:gyjxnvhk]

…but I can´t see it getting the level, neither directly nor via the loop you suggest?

Am I missing something?

  • You must to post comments
0
0

Hi,

I was referring you to the "recording" example not for a level getting method, but for the approach that you must take in order to get access to the audio data so you can then build a level meter.

Have a look at the Pitch Detection example as it shows an alternate approach of accessing the audio data – it uses a custom DSP and then Callbacks to grab the data.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.