[sdiy] Psych Tone
don at till.com
Sun Jan 6 19:13:23 CET 2019
On Jan 5, 2019, at 7:53 PM, rsdio at audiobanshee.com wrote:
> Tempo seems to set the total envelope time, such that too much Attack and/or Decay leaves insufficient time for the envelope to finish, and then you hear clicking. This is on macOS in Safari. I find that reducing Tempo or reducing Attack or Decay will solve the clicking on output.
> I assumed that this might have been a “feature” of the original Psych Tone.
I tried to model the Psych Tone accurately, though I did take some liberties -- I extended the range of the Tempo and Pitch controls, and I spent very little time on the waveforms.
The Sustain control is a fraction of the tempo clock.
The Attack and Decay controls are rates that don't know about the tempo. So you have to tweak them together.
The clicking is because I still need to avoid some funny states in the audio API. And the audio API has always had some bugs.
Donald Tillman, Palo Alto, California
More information about the Synth-diy