Commit fc26f9bb by Dr-Dan

### Replicant example working

parent 0160af9d
 ... ... @@ -415,7 +415,6 @@ double *maxiMix::ambisonic(double input,double eight[8],double x,double y,double void maxiMix::stereo(double input,vector& two,double x) { if (x>1) x=1; if (x<0) x=0; // two.clear(); two[0]=input*sqrt(1.0-x); two[1]=input*sqrt(x); ... ... @@ -423,7 +422,7 @@ void maxiMix::stereo(double input,vector& two,double x) { } //quad bus vector maxiMix::quad(double input,vector four, double x,double y) { void maxiMix::quad(double input,vector& four, double x,double y) { if (x>1) x=1; if (x<0) x=0; if (y>1) y=1; ... ... @@ -432,11 +431,11 @@ vector maxiMix::quad(double input,vector four, double x,double y four[1]=input*sqrt((1.0-x)*(1.0-y)); four[2]=input*sqrt(x*y); four[3]=input*sqrt(x*(1.0-y)); return(four); // return(four); } //ambisonic bus vector maxiMix::ambisonic(double input,vector eight,double x,double y,double z) { void maxiMix::ambisonic(double input,vector& eight,double x,double y,double z) { if (x>1) x=1; if (x<0) x=0; if (y>1) y=1; ... ... @@ -451,7 +450,7 @@ vector maxiMix::ambisonic(double input,vector eight,double x,dou eight[5]=input*(sqrt((1.0-x)*(1.0-y))*z); eight[6]=input*sqrt((x*y)*z); eight[7]=input*sqrt((x*(1.0-y))*z); return(eight); // return(eight); } // -------------------------------------------------------------------------------- ... ...