Getting Db (Decibels) value in python, c++ in real time [closed]

  audio, audio-streaming, c++, python

I am new to this world of programing and etc, and I’ve been trying to make a filter to OBS, I have an basic ideas of where I wanna go:

Set ShakeFilter = true
Set ShakeFilter = false 

^ Basically, if I talk higher than 18 dbs for example, it sets another filter or source visible.

But how do I get these decibels value? I’ve been searching and it seems like python don’t get these values, but maybe c++ or C get then.

If you can help I would be very happy 😀

Source: Windows Questions C++