hdf-0.7: Help/UGen/Oscillator/impulse.help.lhs
impulse f ip
Impulse oscillator. Outputs non band limited single sample impulses.
f - frequency (in hertz)
ip - phase offset (0..1)
> import Sound.DF
> do { o <- impulse 800.0 0.0
> ; audition [] (out1 (o * 0.1)) }
> do { f <- fmap (\x -> x * 2500.0 + 2505.0) (sin_osc 0.25 0.0)
> ; o <- impulse f 0.0
> ; audition [] (out1 (o * 0.1)) }