From d036d2b0afb7c4b6fbda6684a123fc8493420d27 Mon Sep 17 00:00:00 2001 From: James H Ball Date: Thu, 11 Sep 2025 20:53:28 +0100 Subject: [PATCH] Update spiral bitcrush default values and add icon --- Resources/svg/spiral_bitcrush.svg | 1 + Source/audio/SpiralBitCrushEffect.h | 6 +++--- osci-render.jucer | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 Resources/svg/spiral_bitcrush.svg diff --git a/Resources/svg/spiral_bitcrush.svg b/Resources/svg/spiral_bitcrush.svg new file mode 100644 index 00000000..978a696e --- /dev/null +++ b/Resources/svg/spiral_bitcrush.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Source/audio/SpiralBitCrushEffect.h b/Source/audio/SpiralBitCrushEffect.h index 713fda1a..5a7c0c3a 100644 --- a/Source/audio/SpiralBitCrushEffect.h +++ b/Source/audio/SpiralBitCrushEffect.h @@ -57,7 +57,7 @@ public: std::vector{ new osci::EffectParameter("Spiral Bit Crush", "Constrains points to a spiral pattern.", - "spiralBitCrush", VERSION_HINT, 1.0, 0.0, 1.0), + "spiralBitCrush", VERSION_HINT, 0.4, 0.0, 1.0), new osci::EffectParameter("Spiral Density", "Controls the density of the spiral pattern.", "spiralBitCrushDensity", VERSION_HINT, 13.0, 3.0, 30.0, 1.0), @@ -66,13 +66,13 @@ public: "spiralBitCrushTwist", VERSION_HINT, 0.6, -1.0, 1.0), new osci::EffectParameter("Zoom", "Zooms the spiral pattern.", - "spiralBitCrushZoom", VERSION_HINT, 0.0, 0.0, 1.0, 0.0001, osci::LfoType::Sawtooth, 0.05), + "spiralBitCrushZoom", VERSION_HINT, 0.0, 0.0, 1.0, 0.0001, osci::LfoType::Sawtooth, 0.1), new osci::EffectParameter("Rotation", "Rotates the spiral pattern.", "spiralBitCrushRotation", VERSION_HINT, 0.0, 0.0, 1.0, 0.0001, osci::LfoType::ReverseSawtooth, 0.02) } ); - eff->setIcon(BinaryData::swirl_svg); + eff->setIcon(BinaryData::spiral_bitcrush_svg); return eff; } }; diff --git a/osci-render.jucer b/osci-render.jucer index 0bd03d70..2fa55d8c 100644 --- a/osci-render.jucer +++ b/osci-render.jucer @@ -142,6 +142,8 @@ +