# Designing Sound in SuperCollider/Pedestrians

Jump to: navigation, search

## Fig 24.4: pedestrian crossing beeps (UK-style)

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
)
```