From 5c433111e29dc5c677e598d8f9ba409bdf32aa12 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 25 Jun 2026 08:53:11 +0200 Subject: [PATCH] standard values for midi nodes added --- src/midi-node.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/midi-node.cpp b/src/midi-node.cpp index b9c543a..e409552 100644 --- a/src/midi-node.cpp +++ b/src/midi-node.cpp @@ -20,6 +20,11 @@ namespace VISEQ::GRAPH::NODES { float orbit_4 = orbit_3 + 20.0f; float orbit_5 = orbit_4 + 30.0f; + midiNote.note = 64; + midiNote.channel = 1; + midiNote.gate = 250; + midiNote.velocity = 64; + midiHandles[NOTE].emplace_back(std::make_shared>(midiNote.note, position, VS_COLOR_GREEN, "NOTE", orbit_5, 12)); midiHandles[NOTE].emplace_back(std::make_shared>(midiNote.channel, position, VS_COLOR_PINK, "CHANNEL", orbit_1, 16, 1, 16, 40, 150)); midiHandles[NOTE].emplace_back(std::make_shared>(midiNote.gate, position, VS_COLOR_RED, "GATE", orbit_3, 30, 10, 30000, 40, 300));