Move all source files to subdirectory to be less confusing for Arduino IDE

This commit is contained in:
John Stäck 2019-03-04 10:16:58 +01:00
parent 7e1db21883
commit e388248c7c
7 changed files with 0 additions and 0 deletions

25
NuEVI/midi.h Normal file
View 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