"The Machine" Play

A more elaborate patch inspired by the Pink Floyd song "Welcome To The Machine". See comments in the patch itself below. (If I'd had a panner implemented, I would have configured it to pan left and right with each pulse.)




# make a noise burst with envelope, scaled to 70%
hissyFit  noise
noiseEnv  adsr  hissyFit .005 .01 .3 .25
noiseGain mult  noiseEnv .7
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# make a short, detuned VCS3-like synth tone pitched to a low “E”
osc1    osc  saw  41   0 1 none 0
osc2    
osc  saw  41.2 0 1 none 0
myAdd   add  osc1 osc2 stop
synEnv  
adsr myAdd   .1   .01    7    .3
mixOut  add  noiseGain  synEnv  stop
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # run mixOut through a slow delay with high wet and feedback gains.
oDelay  delay  mixOut .45 .9 .7 .8
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# give the final sound a nice volume fade-in and out
finalOut 
adsr oDelay 1 0 1 3