if(inputs==2){ //Amp and Freq
float[] ampbuf = new float[buffneed];
int returned = this.previous[0].nextWork(ampbuf);
float[] freqbuf = new float[returned];
if(returned != this.previous[1].work(freqbuf)){
throw new AOException(this.name,0);
}
for(int i=0;ret<buffer.length;i++){
setSI(freqbuf[i] * frqRatio); // FM
float sample = getWaveSample()* this.amp * ampbuf[i]; // AM
for(int j=0;j<channels;j++){