packages feed

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

impulse rate freq iPhase

Impulse oscillator.  Outputs non band limited single sample impulses.

freq  - frequency in Hertz
phase - phase offset in cycles (0..1)

> audition (out 0 (impulse AR 800 0 * 0.1))

> let f = xLine KR 800 10 5 RemoveSynth
> in audition (out 0 (impulse AR f 0.0 * 0.1))

> let f = mouseY KR 4 8 Linear 0.1
> in audition (out 0 (impulse AR f (mce [0, mouseX KR 0 1 Linear 0.1]) * 0.1))