Move all source files to subdirectory to be less confusing for Arduino IDE
This commit is contained in:
parent
7e1db21883
commit
e388248c7c
7 changed files with 0 additions and 0 deletions
25
NuEVI/midi.h
Normal file
25
NuEVI/midi.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
#ifndef __MIDI_H
|
||||
#define __MIDI_H
|
||||
|
||||
//Enable use of USB and serial MIDI
|
||||
#define USE_MIDI_USB
|
||||
#define USE_MIDI_SERIAL
|
||||
|
||||
//Set / get current midi channel
|
||||
void midiSetChannel(byte channel);
|
||||
byte midiGetChannel();
|
||||
|
||||
void midiSendProgramChange(int patch);
|
||||
void midiSendControlChange(int ccParam, int ccValue);
|
||||
void midiSendNoteOn(byte note, int velocity);
|
||||
void midiSendNoteOff(byte note);
|
||||
void midiSendAfterTouch(byte value);
|
||||
void midiSendPitchBend(int value);
|
||||
|
||||
|
||||
void midiReset(); // reset controllers
|
||||
void midiPanic(); // turn all notes off
|
||||
|
||||
void midiInitialize(byte channel=1);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue