Incrementing or decrementing song tempo

311 viewsCSS Questionstempo
0

Is it possible to increment or decrement the song tempo by 0.50 with the press of a button?

Nic B Answered question
0

In a Tempo mapping type, set it to use your button.
Then in the Input Control Override section,
Change it to Custom
Then Control Type to Increment or Decrement
Then to get it to move exactly 0.50 each time, its a matter of playing with the Number of steps option and the Minimum / Maximum bpm settings in the section above
You would need 2 mappings, 1 for increment and 1 for decrement.

The other option would be to use a Reaction mapping
The Action needed to change the Tempo is Song > Set Tempo
Then in the Number field, change the input to custom code and enter:
Increment:
self.song().tempo + 0.50
Decrement:
self.song().tempo – 0.50


JohnC Answered question
1

Thank you John! The second option worked. Also enlightened me about the infinite possibilities of Listeners and Actions.

Nic B Answered question