wahwah


wahwah is a slightly different wah filter implementation, with the filter sweeping automatically according to a frequency parameter and a waveform.

Syntax:


makegen(1, 10, 1000, p0...) /* waveform of the wah sweep */

wahwah(outskip, inskip, duration, freq_lo, freq_hi, bandwidth, wah_frequency)

in comment form:

/* wahwah - a periodic sweeping filter
*
* p0 = outskip
* p1 = inskip
* p2 = duration
* p3 = lo wah freq
* p4 = hi wah freq (hz)
* p5 = bandwidth
* p6=wah frequency
*
* function 1 should be some periodic function for the wah
*
*/

An example score:

load("wahwah")
input("/sndh/bob.dole.mono.snd")
output("/sndh/bob.dole.wahwah.snd")
makegen(1, 10, 1000, 1)
wahwahwah(0, 0, 15, 400, 3500, 5, 8)