From 5f49444cf7a681569823e0633551a56683636dd5 Mon Sep 17 00:00:00 2001
From: julian laplace <julescarbon@gmail.com>
Date: Tue, 9 May 2023 23:22:32 +0200
Subject: improving chaos

---
 src/ui/Controls.jsx | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

(limited to 'src/ui/Controls.jsx')

diff --git a/src/ui/Controls.jsx b/src/ui/Controls.jsx
index 3bc1c2e..e8dca45 100644
--- a/src/ui/Controls.jsx
+++ b/src/ui/Controls.jsx
@@ -10,7 +10,14 @@ import Slider from "rc-slider";
 import TooltipSlider, { handleRender } from "./TooltipSlider.tsx";
 import "rc-slider/assets/index.css";
 
-const WAVE_SHAPE_NAMES = ["sine", "triangle", "saw", "reverse_saw", "square"];
+const WAVE_SHAPE_NAMES = [
+  "sine",
+  "triangle",
+  "saw",
+  "reverse_saw",
+  "square",
+  "noise",
+];
 
 export default function Controls({ relabi }) {
   /**
@@ -130,7 +137,7 @@ export default function Controls({ relabi }) {
             type="settings"
             index="speed"
             onChange={onChange}
-            min={-2}
+            min={-3}
             max={3}
             step={0.01}
             defaultValue={Math.log(relabi.settings.speed)}
@@ -145,12 +152,12 @@ export default function Controls({ relabi }) {
         <SliderRow>
           <ControlSlider
             type="settings"
-            index="feedback"
+            index="chaos"
             onChange={onChange}
             min={0}
             max={0.5}
             step={0.01}
-            defaultValue={relabi.settings.feedback}
+            defaultValue={relabi.settings.chaos}
             color={"#a88"}
           />
         </SliderRow>
-- 
cgit v1.2.3-70-g09d2

