zak-45 / WLEDAudioSyncRTBeat

Real Time beat detection using aubio. Send BPM to OSC.
MIT License
10 stars 1 forks source link

Different BPM-Values for GrandMA3 #1

Closed salopeknet closed 6 months ago

salopeknet commented 6 months ago

Hello, I am trying to use your code to set the BPM via OSC to GrandMA3. Do you know that console/software?

The problem I ran into is, that GrandMA3 does not expect the absolute value for BPM. Instead it handles the BPM based on percent of the SpeedMaster-Fader, where 100% are 240 BPM.

Could you imagine to add another argument, like "-sGMA3 or --serverGMA3" which modifies the measured BPM with this formula "sqrt(bpm/240)*100" and sends it to given IP/port/address?

The idea about the additional argument instead of modifying just the output-value in general is that I could send the BPM to GMA3 (in the format it expects) and furthermore as an absolute value to another OSC-target, like MadMapper.

Thanks in advance, Micha

zak-45 commented 6 months ago

hi, will take a look

zak-45 commented 6 months ago

Added -c option for custom calculation, so for you -c GMA3 should be ok now.

zak-45 commented 6 months ago

in case of problem, just open another one