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" }}> - + + + + + + + + +