Skip to content

Commit

Permalink
Updated LFO waveform scaling properties
Browse files Browse the repository at this point in the history
- Realised the old logic was unnecessary
- LFO's Waveform Scale was being offset by Gain
- This was pointless, as Scale's range could be set differently
  • Loading branch information
Mangoshi committed Apr 28, 2023
1 parent 4a99ac4 commit 6c2873c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/synth.js
Original file line number Diff line number Diff line change
Expand Up @@ -737,8 +737,8 @@ let oscC_waveform = new Tone.Waveform().set({size: 2048})
let oscC_waveform_gain = new Tone.Gain(1)

let lfo_waveform = new Tone.Waveform().set({size: 16384})
let lfo_scale = new Tone.Scale(-0.000001, 0.000001)
let lfo_waveform_gain = new Tone.Gain(100)
let lfo_scale = new Tone.Scale(-0.0001, 0.0001)
let lfo_waveform_gain = new Tone.Gain(1)

let master_waveform = new Tone.Waveform().set({size: 2048})
let master_waveform_gain = new Tone.Gain(0.5)
Expand Down

1 comment on commit 6c2873c

@vercel
Copy link

@vercel vercel bot commented on 6c2873c Apr 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ms24 – ./

ms24-iadt.vercel.app
ms24-git-master-iadt.vercel.app
ms24.vercel.app

Please sign in to comment.