UI tweaks done. Code tweaks now

This commit is contained in:
Sebastian
2024-12-28 15:13:16 +01:00
parent 2725806749
commit 011552c020
2 changed files with 10 additions and 1 deletions
+6
View File
@@ -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));