-
Notifications
You must be signed in to change notification settings - Fork 261
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
V5.1.0 Coming? #359
Comments
What kind of errors did you get? Unfortunately, between work and web OSS in @47ng, I don't have a ton of free time to give to this project anymore. |
Ok, falls understand. Seeing how many people build from this lib i would love to put some effort in it if possible. |
Hi, for example when i just try the example for Filters, having the lib defined in platform io like that: i cant even start because MIDIMessage is not defined. what do i miss here? |
Hum that's weird, the definition should be here: arduino_midi_library/src/serialMIDI.h Line 109 in 7e9222b
Does it compile if you replace that |
Hi,
Its working with 1. With 2 only if i do DIN_MIDI0Message. For me it was not possible to get it done with the custom instance. My project also uses the other transports. APPLEMIDI_CREATE_INSTANCE(WiFiUDP, RTP_MIDI, config.hardware.devicename, 5004);
IPMIDI_CREATE_INSTANCE(WiFiUDP, IP_MIDI, 21928);
#ifdef BLE_ENABLED
BLEMIDI_CREATE_INSTANCE("STOMPCS", BLE_MIDI);
#endif Here for example i have to do BLEBLE_MIDI.setHandleConnected([]() {config.midiRouting.bleConnected = true;});
BLEBLE_MIDI.setHandleDisconnected([]() {config.midiRouting.bleConnected = false;}); but that is fine: BLE_MIDI.begin(MIDI_CHANNEL_OMNI);
BLE_MIDI.turnThruOff();
BLE_MIDI.setHandleNoteOn([](uint8_t channel, uint8_t note, uint8_t velocity) { m_onMidiReceive(4, 0, note, velocity, channel); });
BLE_MIDI.setHandleNoteOff([](uint8_t channel, uint8_t note, uint8_t velocity) { m_onMidiReceive(4, 0, note, velocity, channel); });
BLE_MIDI.setHandleControlChange([](uint8_t channel, uint8_t control, uint8_t value) { m_onMidiReceive(4, 2, control, value, channel); });
BLE_MIDI.setHandleProgramChange([](uint8_t channel, uint8_t program) { m_onMidiReceive(4, 1, program, 0, channel); }); It seems like the Macros are not what they could be. the other libs for example dont support: midiOutput.send(NoteOn, note, velocity, channel); for other things than Notes, CC and PC. Thanks for your great lib without my project wouldnt be possible anyways! |
Ah it looks like the issue is in the BLE macro prepending cc @lathoub |
Yes. I tried all macros and i had very different results. |
Hi,
As im.very interested in Thru Maps i just wanted to ask how its going?
I tried the dev branch but i get a lot of Compiler errors so i guess this is still completly in progress?
Best
Adrian
The text was updated successfully, but these errors were encountered: