0
0

Hi,
How can I convert the value returned by getcurrentlevels into dbs?

thanks in advance

  • You must to post comments
0
0

You can’t, I think, because it depends on multiple things like sound card, speaker system, amplified or not, and system volume, etc. Correct me if I’m wrong…

  • You must to post comments
0
0

You can obtain db measurement reading the mix buffer content thru a DSP callback. There are values in the smallint range (-32768 <> 32767) that you can convert to db values (-120dbFS <> 0dbFS).
The only thing to check is the soundcard DC offset, that shifts you measurement a little above or below it’s center, but if you don’t need a super-accurate level display it can be just an issue.

“Plug and Pray” :)

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.