From 21f6cf213661493f88a8cfa207c9ac2ce6b5fa7f Mon Sep 17 00:00:00 2001 From: Fabian Gonzalez Date: Sat, 5 Apr 2025 20:38:55 -0400 Subject: [PATCH] create initial midi jucer configuration for daw instrument --- Source/MidiAlwaysEnabled.h | 20 + osci-render-midi.jucer | 868 +++++++++++++++++++++++++++++++++++++ 2 files changed, 888 insertions(+) create mode 100644 Source/MidiAlwaysEnabled.h create mode 100644 osci-render-midi.jucer diff --git a/Source/MidiAlwaysEnabled.h b/Source/MidiAlwaysEnabled.h new file mode 100644 index 00000000..ad45b96b --- /dev/null +++ b/Source/MidiAlwaysEnabled.h @@ -0,0 +1,20 @@ +#pragma once + +// Helper function to determine if MIDI should be always enabled +// This is used in both the processor and UI components +inline bool isMidiAlwaysEnabled() { +#ifdef MIDI_ALWAYS_ENABLED + return true; +#else + return false; +#endif +} + +// Helper function to determine if the MIDI toggle should be shown in the UI +inline bool shouldShowMidiToggle() { +#ifdef MIDI_ALWAYS_ENABLED + return false; // Hide the toggle in the MIDI-specific version +#else + return true; // Show the toggle in the regular version +#endif +} \ No newline at end of file diff --git a/osci-render-midi.jucer b/osci-render-midi.jucer new file mode 100644 index 00000000..119b5250 --- /dev/null +++ b/osci-render-midi.jucer @@ -0,0 +1,868 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +