Skip to content

Commit

Permalink
feat: full ch strip - digit on gain read out, adjusted freq indicators
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon authored and olzzon committed Nov 7, 2020
1 parent de16b9b commit 26e44b5
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions client/components/ChanStripFull.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const EQ_FREQ_LABELS: IFreqLabels[] = [
},
{
label: '100',
posY: 550,
posY: 525,
},
{
label: '250',
Expand All @@ -68,19 +68,19 @@ const EQ_FREQ_LABELS: IFreqLabels[] = [
},
{
label: '1k',
posY: 1000,
posY: 1025,
},
{
label: '2k',
posY: 1150,
posY: 1160,
},
{
label: '5k',
posY: 1320,
posY: 1350,
},
{
label: '10k',
posY: 1460,
posY: 1490,
},
]

Expand Down Expand Up @@ -376,12 +376,13 @@ class ChanStripFull extends React.PureComponent<
<br />
{' Gain : '}
{Math.round(
(maxGain - minGain) *
(this.props.fader[
this.props.faderIndex
][fxParamsList[fxKey]]?.[0] ?? 0) +
minGain
)}
10 *
((maxGain - minGain) *
(this.props.fader[
this.props.faderIndex
][fxParamsList[fxKey]]?.[0] ?? 0) +
minGain)
) / 10}
{' Freq :'}
{this.logOscToLinFreq(
this.props.fader[this.props.faderIndex][
Expand Down

0 comments on commit 26e44b5

Please sign in to comment.