   };
 
 public:
-  MusicBoxPip() :
+  Key() :
     mPin(0),
-    mVelocity(0),
     mWasOn(false),
-    mStartTime(0)
+    mStartTime(0),
+    mVelocity(0)
   {
   }
   

  Stream& mStream;
};

class MusicBoxPip
{
public:
  static const int kMaxTime = 1000;
  static const int kMinVelocity = 1;
  static const int kMaxVelocity = 128;
  

// 5) Set LoopBe1 Internal output as an Input to Ableton
//

/**
 */
class MidiStream
{
public:
