Hello fellow Pure Data enthusiasts,
I'm working on a music project where I'm sending MIDI data to Ableton using patches that include note pitch, velocity, and duration. I want to add a new feature to my setup: an external button, like D or F, that I can bang to change the value of a message box (let's call it 'C').
To give you a clearer picture, let's say D corresponds to the value 63 and F corresponds to the value 65. When I press either D or F, I want the value in the 'C' message box to change accordingly. For instance, if 'C' was previously set to 60, pressing D should keep it at 63, and pressing F should change it to 65.
This functionality would allow me to create different modes and scales on-the-fly and continue jamming seamlessly. Could you please guide me on how to achieve this? Any help or insights would be greatly appreciated.
Thank you in advance for your assistance!
Best regards,
Dr. Gazzy