Waveform Generator & Piano

Use sin, cos, noise, and custom fns like fmsynth2(t,440,3,2), amsynth2(t,440,6,0.6), adsr2(t,0.01,0.12,0.7,0.2,1). Constants: PI.
Used to build flexible scales. Keyboard: a s d f g h j k l
Format: [key][.duration][unit] separated by spaces or commas. Keys are a s d f g h j k l. Use - for rest. Units: us, ms, s. Examples: a.50ms, d.1s, -.200ms, repeats: a.120msx4.
If you omit units, duration is in beats at this tempo. E.g. a.1 = quarter note at 120 BPM.
Play with your keyboard: a s d f g h j k l