From eb09317071b48098dc7432da68d250f5454e74e2 Mon Sep 17 00:00:00 2001
From: "[poww10s]" <[theironminer@gmail.com]>
Date: Tue, 15 Sep 2020 03:22:30 -0400
Subject: [PATCH] fix formatting; add to pitch section
---
src/components/TimbreComponent.js | 220 ++++++++++++++++++++----------
1 file changed, 151 insertions(+), 69 deletions(-)
diff --git a/src/components/TimbreComponent.js b/src/components/TimbreComponent.js
index 6297386..a4819c6 100644
--- a/src/components/TimbreComponent.js
+++ b/src/components/TimbreComponent.js
@@ -4,28 +4,33 @@ import { Text, Stack, Heading, RangeInput, Select, Box, Grid } from "grommet";
const reducer = (state, action) => action;
const LabeledSlider = (props) => (
-
-
- {props.label}
-
- props.onChange(e.target.value)}
- />
-
+
+
+
+ {props.label}
+
+
+
+ props.onChange(e.target.value)}
+ />
+
+
);
function VCO1(props) {
@@ -87,24 +92,20 @@ function VCO1(props) {
direction="column"
gap="medium"
fill="horizontal"
- margin={{ "top": "medium" }}
- pad="xsmall">
+ margin={{ "top": "medium" }}>
- Waveform
- {
- wfDispatch(e.target.value);
- }}
+ onChange={wfDispatch}
/>
-
- LFO Mod
-
-
+ {
- modDispatch(e.target.value);
- }}
+ onChange={modDispatch}
/>
@@ -185,26 +177,41 @@ function VCO2(props) {
-
-
+ margin={{ "top": "medium" }}>
+
+
+
+
+
+
@@ -232,16 +239,14 @@ function Mixer(props) {
align="center"
justify="center"
background={{ "color": "background" }}
- pad="medium"
- gap="medium"
direction="column"
elevation="small"
- round="small">
+ round="small"
+ pad={{ "top": "large", "bottom": "medium" }}>
-
+
+
+
+
+
+
+
+
+