introduction of config nodes
This commit is contained in:
+37
-1
@@ -49,11 +49,47 @@ namespace VISEQ::APP{
|
||||
|
||||
namespace VISEQ::GRAPH{
|
||||
enum GraphItemType {NODE, EDGE};
|
||||
enum NodeType {OSCNODE, MIDINODE};
|
||||
enum NodeType {OSCNODE, MIDINODE, CONFIGNODE};
|
||||
enum EdgeType {MIDIEDGE, CONFIGEDGE};
|
||||
}
|
||||
|
||||
|
||||
namespace VISEQ::MIDI{
|
||||
struct MidiNote{
|
||||
int channel = 1;
|
||||
int note = 48;
|
||||
int velocity = 60;
|
||||
int gate = 10; // gate time in milliseconds
|
||||
};
|
||||
|
||||
struct MidiCC{
|
||||
int channel = 0;
|
||||
int control = 0;
|
||||
int value = 0;
|
||||
};
|
||||
|
||||
struct MidiPC{
|
||||
int channel = 0;
|
||||
int program = 0;
|
||||
int value = 0;
|
||||
};
|
||||
|
||||
struct MidiPitchBend{
|
||||
int channel = 0;
|
||||
int value = 0;
|
||||
};
|
||||
|
||||
struct MidiAftertouch{
|
||||
int channel = 0;
|
||||
int value = 0;
|
||||
};
|
||||
|
||||
struct MidiPolyPressure{
|
||||
int channel = 0;
|
||||
int note = 0;
|
||||
int value = 0;
|
||||
};
|
||||
|
||||
struct MidiOutPort{
|
||||
libremidi::output_port port;
|
||||
int number;
|
||||
|
||||
Reference in New Issue
Block a user