forked from Gargaj/Bonzomatic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Midi sender only + review parsing json
- Loading branch information
Showing
6 changed files
with
183 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,16 @@ | ||
#ifndef BONZOMATIC_MIDI_H | ||
#define BONZOMATIC_MIDI_H | ||
#pragma once | ||
namespace MIDI | ||
{ | ||
////////////////////////////////////////////////////////////////////////// | ||
|
||
enum | ||
{ | ||
MIDIMSG_NOTE_OFF = 8, | ||
MIDIMSG_NOTE_ON = 9, | ||
MIDIMSG_POLYPHONIC_KEY = 10, | ||
MIDIMSG_CONTROL_CHANGE = 11, | ||
MIDIMSG_PROGRAM_CHANGE = 12, | ||
MIDIMSG_CHANNEL_PRESSURE = 13, | ||
MIDIMSG_PITCH_BEND = 14, | ||
MIDIMSG_SYSTEM = 15, | ||
} MIDI_MESSAGE_TYPE; | ||
|
||
|
||
bool Open(); | ||
bool Close(); | ||
float GetCCValue( unsigned char cc ); | ||
|
||
////////////////////////////////////////////////////////////////////////// | ||
}; | ||
}; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.