Metronome MIDI output not working #1997
Replies: 5 comments 8 replies
-
Your metronome buttons all need to be set up so that they output midi. Have you done this? |
Beta Was this translation helpful? Give feedback.
-
I have confirmed the results above with Windows and Midi-Ox. The ON button works but others do not. There is a bug. csw900 |
Beta Was this translation helpful? Give feedback.
-
Can the Teensy extract the tempo and beats information from the SYSEX messages sent by the labels? |
Beta Was this translation helpful? Give feedback.
-
Is there a developer around? |
Beta Was this translation helpful? Give feedback.
-
Ok, I have found a workaround. The bug only affects buttons that don't switch between two states. This explains why the on/off button works, but the others don't (+1, -1 etc.). For those buttons, I send the MIDI control to other buttons that I never use (in the coupling panel), setting them to send back a MIDI control to the Teensy board (so that it gets the information about the setting, to be able to display it) and finally the Teensy sends back a MIDI commands to the metronom buttons. A bit complicated, but it works ! |
Beta Was this translation helpful? Give feedback.
-
I am using GrandOrgue v3.15.0-1 with Friesach on a PC with LinuxMint.
The PC is connected to 2 keyboards and a pedalboard through USB. It is also connected to a Teensy 4.0, which I use for some custom controls. The Teensy can receive and send MIDI codes, for various purposes, such as replicating important information on a small alphanumeric LCD display, automatically sending registrations to GO, etc.
Everything has been working well for several years so far, and the Teensy has been able to send and receive the MIDI codes I wanted.
But recently, I wanted to duplicate the metronome information on the LCD display, i.e. on/off status, tempo and beats. To do so, the Teensy just needs to receive MIDI codes when any metronome control button is pressed.
And here is the problem: whatever setting I use in GO, the only setting the Teensy can receive is the On/Off button. When I press the +1, -1, +10 and -10 buttons for the tempo, the Teensy receives nothing. Same for the +1 / -1 beat button.
Here is the program I used on the Teensy for testing, I don't think I can make it simpler, nor do I see why it would not catch all MIDI events:
void setup() {
Serial.begin(500000);
while(!Serial);
}
void loop() {
if (usbMIDI.read()) {
Serial.print(usbMIDI.getChannel());
Serial.print("\t");
Serial.print(usbMIDI.getData1());
Serial.print("\t");
Serial.println(usbMIDI.getData2());
}
}
I know how to configure GO to send back MIDI codes, and, besides the metronome on/off button, I managed to do it successfully for stops activation/deactivation or key on/off events. The program above will then display the codes.
I tried various configurations, such as sending back controls, key on/off events, etc. but whatever the setting, the GrandOrgue MIDI output remains mute for metronome controls...
What am I doing wrong?
[Edit] : GO actually sends the MIDI codes at startup, once for each metronome control (there is a total of 7 controls and I get 7 MIDI frames). And then never again. This doesn't really make sense to me...
Beta Was this translation helpful? Give feedback.
All reactions