d00mfish/BPM-to-OSC

Tap

grbfst opened this issue · 6 comments

As I am not able to compile (getting WX errors) would it be easy to also send a signal to the Tap button?

Sounds like it can be done.
I even tried to send a signal to the tap-button on every beat but the problem is that it takes for ever to get to the new bpm at a tempo change.
What are you trying to achieve with this that is different than the current method?

Glad, you like the program :)

The code would partly work.
However there occurs this problem, that after a change in tempo, the bmp only change very slowly becase the new tempo is added to the average tap duration of the old tempo thus never resulting in the desired tempo change.

To prevent this, there must be a 1-2 second break in sending the tap signal for resolume to realize a new tempo is now tapped.

I personally find the beat-indicator (the little rotating square) enough as a visual cue. But if you want I can implement and compile it for you.

Also, small addition,
The Resync button in Resolume stays on when the resync bar in the app is clicked.
I think you should also send a /composition/tempocontroller/resync/0 when the button is pressed again or send the same after the button click.

Resync button is not active after pressed. It only has 'focus' wich is a feature that can not be turned of in wxpython. By pressing another button or tab it goes away though.

Also Like I said, you could do what you are suggesting. At a beat change it will take about one minute to reach the new BPM value though, as the tap-bpm are an average of multiple taps. And if the average-array has different bpm taps in it, it will be something in between.

Example-Array in seconds between taps with a tempo change in between:
[0.5, 0.5, 0.5, | 0.3, 0.3, 0.3] -> Avg is 0.4 -> BPM is 150 instead of the new 200

Do you get what I mean?
And to add a feature to detect tempo-change and pause the tapping for a second or two is possible but I dont really see the benefit compared to the current way of directly sending the bpm.
But since it is opensource you can fork it and build it yourself.

If you need help with the wx errors, maybe I can help there. Had some myself, most important is to install Version 4.1.1