Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Octave change for multiplexer buttons #113

Open
hajozo opened this issue Jun 5, 2021 · 4 comments
Open

Octave change for multiplexer buttons #113

hajozo opened this issue Jun 5, 2021 · 4 comments

Comments

@hajozo
Copy link

hajozo commented Jun 5, 2021

Hey,

Awesome library! Thanks.

I have built my first midi keyboard with 2 octaves (piano layout, 24 keys). I am using two multiplexers to get all the inputs for my arduino pro micro.

My first code was constructed from your multiplexer example. I made the multiplexer pinscorrespond the midi values for piano keys. This worked perfect, but what I would love to do is have a 3- way switch to change between octaves (add or substract 12 from each key value that is given for the multiplexers buttons) I tried to make "if" and "else" functions to the code...but because the loop function only has the midi_controller.refresh command, I dont understand how to make the uint8_t variables to change keys.

I this kind of a octave change possible in the main code or does this require sone tweaks on the library?

Wish to hear from you all though this library is quite old 😁.

From Finland (sorry my bad english)

@tttapa
Copy link
Owner

tttapa commented Jun 7, 2021

As mentioned in the readme, I no longer offer support for the MIDI_Controller library.

Please see https://tttapa.github.io/Control-Surface-doc/Doxygen/da/d2d/Transposer_8ino-example.html.

@hajozo
Copy link
Author

hajozo commented Jun 7, 2021 via email

@tttapa
Copy link
Owner

tttapa commented Jun 7, 2021

@hajozo
Copy link
Author

hajozo commented Jun 7, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants