AnalogTapeModel

Physical modelling signal processing for analog tape recording
Log | Files | Refs | Submodules | README | LICENSE

commit 74d8890e072e3eec2863817c57b0dd7dd1424ef4
parent 5eb3cd95cc14dc6057e7a23e50047b4ab3e3a549
Author: Jatin Chowdhury <jatinchowdhury18@gmail.com>
Date:   Sun, 28 Mar 2021 16:11:49 -0400

Add Wow/Flutter sync to iOS UI

Diffstat:
MPlugin/CMakeLists.txt | 2+-
MPlugin/Source/GUI/Assets/gui_ios.xml | 6++++++
MPlugin/Source/PluginProcessor.cpp | 8++++----
3 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/Plugin/CMakeLists.txt b/Plugin/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.15) set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9" CACHE STRING "Minimum OS X deployment target") set(CMAKE_CXX_STANDARD 17) -project(CHOWTapeModel VERSION 2.7.4) +project(CHOWTapeModel VERSION 2.7.5) add_subdirectory(modules) include_directories(modules/RTNeural) diff --git a/Plugin/Source/GUI/Assets/gui_ios.xml b/Plugin/Source/GUI/Assets/gui_ios.xml @@ -179,6 +179,9 @@ </View> <View display="tabbed" padding="0" margin="2" background-color="FF31323A" lookAndFeel="MyLNF"> <View tab-caption="Flutter" flex-direction="column" background-color="FF31323A"> + <FlutterMenu margin="0" padding="0" background-color="00000000" + max-height="30" name="Flutter Sync" tooltip="Snaps the flutter rate to a synchronized value."/> + <View margin="0" padding="0" flex-grow="0.1" background-color="00000000"/> <Slider caption="Depth" parameter="depth" max-height="150" class="Slider" name="Flutter Depth" tooltip="Sets depth of the tape flutter." margin="0" padding="0"/> @@ -192,6 +195,9 @@ parameter="flutter_onoff" name="Wow/Flutter On/Off" tooltip="Turns the wow and flutter processing on or off."/> </View> <View tab-caption="Wow" flex-direction="column" background-color="FF31323A" padding="0" margin="3"> + <WowMenu margin="0" padding="0" background-color="00000000" + max-height="30" name="Wow Sync" tooltip="Snaps the wow rate to a synchronized value."/> + <View margin="0" padding="0" flex-grow="0.1" background-color="00000000"/> <Slider caption="Depth" parameter="wow_depth" max-height="150" class="Slider" name="Wow Depth" tooltip="Sets the depth of the tape wow." margin="0" padding="0" slider-type="linear-horizontal"/> diff --git a/Plugin/Source/PluginProcessor.cpp b/Plugin/Source/PluginProcessor.cpp @@ -291,12 +291,12 @@ AudioProcessorEditor* ChowtapeModelAudioProcessor::createEditor() builder->registerFactory ("MixGroupViz", &MixGroupVizItem::factory); builder->registerFactory ("PowerButton", &PowerButtonItem::factory); - builder->registerFactory ("FlutterMenu", [] (foleys::MagicGUIBuilder& builder, const ValueTree& node) -> std::unique_ptr<foleys::GuiItem> { - return std::make_unique<WowFlutterMenuItem> (builder, node, "Flutter"); + builder->registerFactory ("FlutterMenu", [] (foleys::MagicGUIBuilder& b, const ValueTree& node) -> std::unique_ptr<foleys::GuiItem> { + return std::make_unique<WowFlutterMenuItem> (b, node, "Flutter"); }); - builder->registerFactory ("WowMenu", [] (foleys::MagicGUIBuilder& builder, const ValueTree& node) -> std::unique_ptr<foleys::GuiItem> { - return std::make_unique<WowFlutterMenuItem> (builder, node, "Wow"); + builder->registerFactory ("WowMenu", [] (foleys::MagicGUIBuilder& b, const ValueTree& node) -> std::unique_ptr<foleys::GuiItem> { + return std::make_unique<WowFlutterMenuItem> (b, node, "Wow"); }); builder->registerJUCELookAndFeels();