    }
 
      aSin.setFreq((int)pitch);   
-     if (rollRight < rollLeft )
+     if (rollLeft > rollRight )
      {
        aRight.setFreq(0);
         aLeft.setFreq( (int)((pitch/2) + 18*rollLeft));

   bool stickDn = ( yStick < - StickThresh ? true : false );
   bool stickUp = ( yStick >   StickThresh ? true : false );

     constrain_input = constrain(Nunchuck . getRoll(), -180, -1);
     bumpy_input = map(-constrain_input, 1, 180, 0, 11);
     rollLeft = rollLAverage.next(bumpy_input);

     constrain_input = constrain(Nunchuck . getRoll(), 0, 180);
     bumpy_input = map(constrain_input, 0, 180, 0, 11);
     rollRight = rollRAverage.next(bumpy_input);

     constrain_input = constrain(Nunchuck . getPitch(), 18, 174);
     bumpy_input = map(constrain_input, 100, 150, 440, 880);
     pitch = pitchAverage.next(bumpy_input);
   
   if ( stickUp )

     gain = envelope3.next();
     gain2 = envelope4.next();
   }

}


int updateAudio(){
    int synth;
    
    if( rollLeft > rollRight )
    {
      synth = ((long)gain * aSin.next() + (int)gain2 * aLeft.next()) >> 9 ;
    }
