Open ParametricToroid opened 4 years ago
I'm on mobile right now, so I'll keep it short, but I'd leave out the ManyButtonsSelector (it doesn't work with variables, the arguments are pin numbers). You can call bank.select(setting)
directly: https://tttapa.github.io/Control-Surface-doc/Doxygen/db/dbd/classBank.html#a801ab5dedea8200f1cdb26533cb6f78b, where setting
is a number between zero and N-1.
Awesome! I'll give that a try. Thanks for your quick reply!
Hello,
Thank you again for creating this excellent library! I have been able to change the address of a set of encoders in the past with Bankable::ManyAddresses:CCRotaryEncoder. However, I'd like to implement a more complex method of changing the address of a single encoder.
If have one encoder that I would like to have 5 different addresses, I could change the address using banks and something like ManyButtonsSelector, or IncrementSelector. However, I'd like to use three buttons, where two of them (physical) will each correspond to an address, and the third I will be able to press multiple times to cycle through addresses (each press simulates a different button press).
I suppose that this would look like: Button_1 press -> midi cc address 1 Button_2 press -> midi cc address 2 Button_3 press -> midi cc address 3 Button_3 press -> midi cc address 4 Button_3 press -> midi cc address 5 And the cycle would continue: Button_1 press -> midi cc address 1
What I'd like to do would be to use ManyButtonSelector, and simulate multiple third button presses being treated like physical buttons. I would think it would look like this:
This is what I would like to be able to do. However, it does not seem like ManyButtonsSelector works this way. Is there an alternative to being able to use two physical buttons, and three (virtual) buttons being cycled through?
I greatly appreciate your help figuring this out.
Thank you!!