sendNoteOn(pitch, velocity, channel); How to use?? #355
Unanswered
AaronHaCohen
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Assuming the main object is MIDI, then: |
Beta Was this translation helpful? Give feedback.
3 replies
-
Hello Bart,
Thanks for the advice. Someday I might remember to use the dot operator. I
hope that day is soon. Thanks again, Aaron
…On Mon, Aug 12, 2024 at 2:14 AM Bart De Lathouwer ***@***.***> wrote:
Assuming the main object is MIDI, then: MIDI.sendNoteOn(pitch, velocity,
channel);
—
Reply to this email directly, view it on GitHub
<#355 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BKNG34HFZD5YAPAAN4T2K23ZRBOG3AVCNFSM6AAAAABMLJRCWKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZRGA3DKNA>
.
You are receiving this because you authored the thread.Message ID:
<FortySevenEffects/arduino_midi_library/repo-discussions/355/comments/10310654
@github.com>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Can anyone tell me how to use this function? I tried but it wouldn't compile in my otherwise error free Callbacks.ino code. The compiler complains that sendNoteOn() is undeclared. I thought that was handled in MIDI.hpp like the other functions in the Callbacks code. The documentation says "Definition at line [226] in MIDI.hpp. and curiously, line 230 says" "send(NoteOn, inNoteNumber, inVelocity, inChannel);
Is this a typo? Thanks for any help, Aaron
Code snippet:
void handleNoteOn(byte channel, byte pitch, byte velocity) { sendNoteOn(pitch, velocity, channel); }
Beta Was this translation helpful? Give feedback.
All reactions