*/
public void createChain() {
// oscilator
Oscillator osc = new Oscillator(this, Oscillator.SQUARE_WAVE, this.sampleRate, this.channels);
// filter mod
Value modfreq = new Value(this, this.sampleRate, this.channels, (float) 0.1);
Oscillator sineMod = new Oscillator(modfreq, Oscillator.SINE_WAVE, Oscillator.FREQUENCY);
sineMod.setAmp((float) this.modAmount);
// filter
Filter filt = new Filter(new AudioObject[]{osc, sineMod}, this.filterCutoff, Filter.HIGH_PASS);
Envelope env = new Envelope(filt,