I am trying to program a simple Babymonitor for Windows (personal use). The babimonitor should simply determine the dB level of the microphone and the triggers at a certain level.
After some research, I found the Bass.dll library and came across a function BASS_ChannelGetLevel, which is great, but it seems to have limitations and does not meet my needs (peak is equal to DWORD value).
In the examples, I found an example of life, which is "almost" what I need. The example is used BASS_ChannelGetData, but I do not quite understand how to handle the returned array ...
I want this to be as simple as possible: define the microphone volume as dB or any other value (for example, the value 0-MAXINT).
How can this be done with the Bass.dll library?
source
share