packages feed

hsc3-0.2: Help/UGen/Oscillator/pulse.help.lhs

pulse rate freq width

Bandlimited pulse wave generator.

Modulate frequency

> let f = xLine KR 40 4000 6 RemoveSynth
> in audition (out 0 (pulse AR f 0.1 * 0.1))

Modulate pulse width

> let w = line KR 0.01 0.99 8 RemoveSynth
> in audition (out 0 (pulse AR 200 w * 0.1))

Two band limited square waves through a resonant 
low pass filter

> let { p = pulse AR (mce [100, 250]) 0.5 * 0.1
>     ; f = xLine KR 8000 400 5 RemoveSynth }
> in audition (out 0 (rlpf p f 0.05))