2021-01-03 12:36:29 +00:00
|
|
|
pitch pitch = n pitch # s "pitch"
|
2021-08-01 07:46:25 +01:00
|
|
|
octave octave = stepsPerOctave octave
|
2023-01-11 11:23:55 +00:00
|
|
|
volt volt = n volt # s "voltage"
|
|
|
|
gate gate = n gate # s "gate" # legato 0.05
|
2020-05-24 13:33:32 +01:00
|
|
|
clock = rate "[1 0]*2" # s "voltage"
|
2021-01-03 12:36:29 +00:00
|
|
|
ar w x = attack w # decay x # s "ar"
|
2023-01-11 11:49:29 +00:00
|
|
|
adsr w x y z = attack w # decay x # sustain y # release z # s "ar"
|
2023-01-11 11:23:55 +00:00
|
|
|
saw x = rate x # s "saw"
|
|
|
|
lfo x = rate x # s "lfo"
|
|
|
|
x x = channel (x - 1)
|
2021-01-03 12:36:29 +00:00
|
|
|
glide p r = portamento p # rate r
|