-
Notifications
You must be signed in to change notification settings - Fork 70
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
2 adresses for 1 button matrix #66
Comments
Arduino UNO. I have a very similar problem. I have two keyboards: one matrix keyboard: 8x4 and the other matrix keyboard: 2x2 and I want both to work on different midi channels. A single-keyboard program works fine. After adding the second table to the code - the code compiles correctly and nothing works after uploading to arduino uno, i.e. it does not send any midi messages. #include <Controller.h> /* This is an example of the "ButtonMatrix" class of the MIDI_controller library. #include "MIDI_Controller.h" // Include the library const uint8_t velocity = 0b1111111; // Maximum velocity (0b1111111 = 0x7F = 127) { 58, 59 }, }; // Create a new instance of the class 'ButtonMatrix', called 'buttonmatrix', with dimensions 4 rows and 3 columns, with the rows connected to pins 2, 3, 4 and 5 void loop() { https://github.com/Romek1234/Double-matrix-keyboard-and-one-arduino |
Description of the problem or question
Hi,
I'am trying to creat a MIDI diatonic accordion (it has two notes for one button depending on pushing or pulling the air). I read a lot on your well documented library but i can't find how to (if it is possible) have a button matrix pointing on two different adresses. I found the solution to change the channel with an offset of 1 and just listening the chanel 2 on my PC, that works. Nevertheless i recive the 2 notes (atributed to one button) . Is there any other solution because if i releas the "air button" before the note it never stop to play? I hope i am clear enought.
Steps to reproduce the problem
Hardware
arduino UNO
Full code
The goal of your project and aditional information
The text was updated successfully, but these errors were encountered: