introduction of config nodes

This commit is contained in:
Sebastian
2024-11-07 00:56:33 +01:00
parent 96a19d55ef
commit 529106e815
5 changed files with 66 additions and 10 deletions
+37 -1
View File
@@ -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;