Designing Sound in SuperCollider/Pedestrians

Fig 24.4: pedestrian crossing beeps (UK-style)

edit

The LFPulse here is used to provide a sharp-edged on/off for the sound. (LFPulse outputs a low of zero and a high of one, which is handy in this case so we don't need to re-scale it before we can use it as the multiplier.)

(
Ndef(\pedestrian,  {
	SinOsc.ar(2500, 0, 0.2) * LFPulse.ar(5)
}).play
)


Designing Sound in SuperCollider/thiscodeisby