Understanding absolute wave values in OSC streaming.
Posted: Tue Jan 17, 2023 6:20 am
Hi James!
Thank you for your app and code!
Recently I started using your Python script (https://github.com/Enigma644/MindMonito ... eedback.py) translating OCR from Muse to laptop. It allows to play sound when one of the waves (gamma in my case) reaches particular relative amount.
You calculated relative amounts using this equation:
rel_waves[wave] = math.pow(10,abs_waves[wave]) / (math.pow(10,abs_waves[0]) + math.pow(10,abs_waves[1]) + math.pow(10,abs_waves[2]) + math.pow(10,abs_waves[3]) + math.pow(10,abs_waves[4]))
I want to modify this code to set the threshold as an absolute value not relative. It’s because the relative one changes rapidly when all values change (if u move, for example).
There is a problem: I see in the FAQ table (https://mind-monitor.com/FAQ.php#oscspec) that absolute waves values are in Bels. But in the .csv file recorded by Mind Monitor these values are in [-1;1] range. What are the absolute values of waves in “abs_waves[wave]”? How can I convert these values into dB that are displayed in the Mind Monitor app?
Thank you in advance!
Best wishes.
Thank you for your app and code!
Recently I started using your Python script (https://github.com/Enigma644/MindMonito ... eedback.py) translating OCR from Muse to laptop. It allows to play sound when one of the waves (gamma in my case) reaches particular relative amount.
You calculated relative amounts using this equation:
rel_waves[wave] = math.pow(10,abs_waves[wave]) / (math.pow(10,abs_waves[0]) + math.pow(10,abs_waves[1]) + math.pow(10,abs_waves[2]) + math.pow(10,abs_waves[3]) + math.pow(10,abs_waves[4]))
I want to modify this code to set the threshold as an absolute value not relative. It’s because the relative one changes rapidly when all values change (if u move, for example).
There is a problem: I see in the FAQ table (https://mind-monitor.com/FAQ.php#oscspec) that absolute waves values are in Bels. But in the .csv file recorded by Mind Monitor these values are in [-1;1] range. What are the absolute values of waves in “abs_waves[wave]”? How can I convert these values into dB that are displayed in the Mind Monitor app?
Thank you in advance!
Best wishes.