Inbetween states. Midi nodes and config nodes use same interface now.

This commit is contained in:
Sebastian
2024-12-07 22:09:06 +01:00
parent 3b0e7e986f
commit d9c97be326
5 changed files with 341 additions and 84 deletions
+8 -8
View File
@@ -77,8 +77,8 @@ namespace VISEQ::GRAPH::NODES {
{"position", N.position},
{"distributionMode", N.distributionMode},
{"nodeType", N.nodeType},
{"midi_note_channel",N.midi_note_channel},
{"midi_note",N.midi_note},
{"midi_note_channel",N.getNotes().channel},
{"midi_note",N.getNotes().note},
{"midi_velocity",N.midi_velocity},
{"midi_gate",N.midi_gate},
{"midi_cc_channel",N.midi_cc_channel},
@@ -98,8 +98,8 @@ namespace VISEQ::GRAPH::NODES {
j.at("position").get_to<Vec2Df>(N.position);
j.at("distributionMode").get_to(N.distributionMode);
j.at("nodeType").get_to(N.nodeType);
j.at("midi_note_channel").get_to(N.midi_note_channel);
j.at("midi_note").get_to(N.midi_note);
j.at("midi_note_channel").get_to(N.getNotes().channel);
j.at("midi_note").get_to(N.getNotes().note);
j.at("midi_velocity").get_to(N.midi_velocity);
j.at("midi_gate").get_to(N.midi_gate);
j.at("midi_cc_channel").get_to(N.midi_cc_channel);
@@ -136,8 +136,8 @@ namespace VISEQ::GRAPH::NODES {
{"position", N.position},
{"distributionMode", N.distributionMode},
{"nodeType", N.nodeType},
{"midi_note_channel",N.midiNote.channel},
{"midi_note",N.midiNote.note},
{"midi_note_channel",N.getNotes().channel},
{"midi_note",N.getNotes().note},
{"midi_cc_channel",N.midiCC.channel},
{"midi_cc",N.midiCC.value},
{"midi_pitch_bend_channel",N.midiPitchBend.channel},
@@ -152,8 +152,8 @@ namespace VISEQ::GRAPH::NODES {
j.at("position").get_to<Vec2Df>(N.position);
j.at("distributionMode").get_to(N.distributionMode);
j.at("nodeType").get_to(N.nodeType);
j.at("midi_note_channel").get_to(N.midiNote.channel);
j.at("midi_note").get_to(N.midiNote.note);
j.at("midi_note_channel").get_to(N.getNotes().channel);
j.at("midi_note").get_to(N.getNotes().note);
j.at("midi_cc_channel").get_to(N.midiCC.channel);
j.at("midi_cc").get_to(N.midiCC.value);
j.at("midi_pitch_bend_channel").get_to(N.midiPitchBend.channel);