State change in between a fast solo? Easy with all_notes_held!

Just want to share this with the community. My old band recently got together again (after twenty years) and I can finally use Cantabile to play with a band. There’s a song where I play a pretty challenging solo (for me) and I need to change state right during a fast ascending scale. Usually I use a pedal switch to change state, but in this case pressing the switch was getting in the way of playing the scale correctly. Fortunately, the state change happens when I play a Adim7 chord with the left hand. It is the only occurrence of an Adim7 chord during the solo.

Also fortunately, I had studied the “Chord recognition” rack by @Sergio and @dave_dore, so I knew the existence of a function named all_notes_held(): I used the function to identify the Adim7 chord and change state when it happens, with this binding

The binding is enabled only in the state when it is needed and disabled in all the other states.
Voilà…problem solved! And thanks to Sergio and Dave!

Gabriel

P.S.: 45, 48, 51, 54 are midi note numbers for A2, C3, Eb3, Gb3

3 Likes

Excellent use case Gabriel! Thanks for the explanation. :slight_smile:

1 Like