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,
new double[]{0.0, 0.0, 0.1, 1.0, 0.3, 0.6, 0.8, 0.2, 1.0, 0.0});
SampleOut sout = new SampleOut(env);
}