 int xStick;
 int yStick;
 
+LowPassFilter lpf;
+
+ADSR <CONTROL_RATE, CONTROL_RATE> envelope;
+ADSR <CONTROL_RATE, CONTROL_RATE> envelope2;
+
 unsigned char volumeLeft;
 unsigned char volumeRight;
 unsigned char volumePitch;
 
+int pressed = 0;
+int unpressed = 0;
 int play = 0;
+
+unsigned int duration, attack, decay, sustain, release_ms;
+
+byte gain = 0;
+byte gain2 = 0;
 
 void setup(){
   uint8_t error;
   
   error = Nunchuck.begin ();
   
-  //Serial.begin(19200);
+  //Serial.begin(9600);
   
   /*if ( error )
   {

#include "Nunchuck.h"
#include <Wire.h> 
#include <MozziGuts.h>

#define CONTROL_RATE 64 // powers of 2 please

#define LEFT 0
#define RIGHT 1
#define UP 2

int bumpy_input = 0;
int constrain_input = 0;


#include <Oscil.h> // oscillator template
#include <tables/sin2048_int8.h> // sine table for oscillator

// use: Oscil <table_size, update_rate> oscilName (wavetable), look in .h file of table #included above
Oscil <SIN2048_NUM_CELLS, AUDIO_RATE> aSin(SIN2048_DATA);
Oscil <SIN2048_NUM_CELLS, AUDIO_RATE> aRight(SIN2048_DATA);
Oscil <SIN2048_NUM_CELLS, AUDIO_RATE> aLeft(SIN2048_DATA);

// Average the input signals
#include <RollingAverage.h>
