UI tweaks done. Code tweaks now
This commit is contained in:
@@ -27,6 +27,10 @@ namespace VISEQ::GRAPH::NODES {
|
||||
MIDI::MidiAftertouch midiAftertouch;
|
||||
MIDI::MidiPolyPressure midiPolyPressure;
|
||||
|
||||
enum Handles {NOTE = 0, CC, PC, PB, AT, PP};
|
||||
|
||||
std::map<Handles, std::vector<std::shared_ptr<NodeHandle<int>>>> midiHandles;
|
||||
|
||||
std::vector<std::shared_ptr<NodeHandle<int>>> midiNoteHandles;
|
||||
std::vector<std::shared_ptr<NodeHandle<int>>> midiCCHandles;
|
||||
std::vector<std::shared_ptr<NodeHandle<int>>> midiPCHandles;
|
||||
@@ -75,6 +79,8 @@ namespace VISEQ::GRAPH::NODES {
|
||||
float orbit_4 = orbit_3 + 20.0f;
|
||||
float orbit_5 = orbit_4 + 30.0f;
|
||||
|
||||
//midiHandles[NOTE].emplace_back(std::make_shared<NodeHandle<int>>(midiNote.note, position, VS_COLOR_GREEN, "NOTE", orbit_5, 12));
|
||||
|
||||
midiNoteHandles.emplace_back(std::make_shared<NodeHandle<int>>(midiNote.note, position, VS_COLOR_GREEN, "NOTE", orbit_5, 12));
|
||||
midiNoteHandles.emplace_back(std::make_shared<NodeHandle<int>>(midiNote.channel, position, VS_COLOR_PINK, "CHANNEL", orbit_1, 16, 1, 16, 40, 150));
|
||||
midiNoteHandles.emplace_back(std::make_shared<NodeHandle<int>>(midiNote.gate, position, VS_COLOR_RED, "GATE", orbit_3, 30, 10, 30000, 40, 300));
|
||||
|
||||
Reference in New Issue
Block a user