Whistler produces its sound by sending white noise through a resonating bandpass filters. The notes you play control the filter's cutoff freqency. A standard ADSR envelope modifies the amplitude.