MotifParamModel(p,0x41ff24,element),
MotifParamModel(p,0x41ff27,element),
    public ElementPanel ( int i ) {      super();      element = i;      setLayout( new BoxLayout(this, BoxLayout.Y_AXIS) );      Container c = new ControlPanel("Oscillator");      add(c);      panel = Box.createHorizontalBox();      c.add(panel);      addCombo("",0x41ff00,element,new String[] {"Off","On"});      bank = addCombo("Bank", 0x41ff01,element,new String[] {"Preset","User"});      wave = addCombo("Wave",0x41ff03,element, true, new String[] {""});      wave.cb.setModel(new NumberComboBoxModel(16384,0));      bank.cb.addActionListener(new BankActionListener());      addHGlue();      panel = Box.createHorizontalBox();      c.add(panel);      addLabeledSlider("Level",0x41ff20,element, false, 0, 0x7f, 0);      addLabeledSlider("Pan",0x41ff08, element, false, 0, 0x7f, -64);      panel = Box.createHorizontalBox();      c.add(panel);      addLabeledSlider("Random Pan Depth",0x41ff09,element, false, 0, 0x7f,0);      addLabeledSlider("Alternate Pan Depth",0x41ff0A,element,false,0,0x7f,-64);      panel = Box.createHorizontalBox();      c.add(panel);      addLabeledSlider("Scaling Pan Depth",0x41ff0B,element,false,0,0x7f,-64);      addLabeledSlider("Velocity Cross Fade",0x41ff10,element,false,0,0x7f,0);      panel = Box.createHorizontalBox();      c.add(panel);      addLabeledSlider("Note Limit Low", 0x41ff0C,element,false,0,0x7f,0);      addLabeledSlider("Note Limit High",0x41ff0D,element,false,0,0x7f,0);      panel = Box.createHorizontalBox();      c.add(panel);      addLabeledSlider("Vel. Limit Low", 0x41ff0E,element,false,0,0x7f,0);      addLabeledSlider("Vel. Limit High",0x41ff0F,element,false,0,0x7f,0);      panel = Box.createHorizontalBox();      c.add(panel);      addLabeledSlider("Level Velocity Sensitivity",0x41ff21,element,false,		       0,0x7f,-64);      addLabeledSlider("Level Sensitivity Curve",0x41ff22,element,false,		       0,4,0);      panel = Box.createHorizontalBox();      c.add(panel);      addWidget(panel, new 		EnvelopeWidget("Amp Envelope", p, new EnvelopeNode[] { new			       EnvelopeNode(0,127,					    new MotifParamModel(p,0x41ff11,								element),					    0,0,null,					    0, false,					    new ParamSender(0x410011 |							    (element<<8)),null,					    "Delay", null), new			       EnvelopeNode(10,10,null,					    0,127,					    new MotifParamModel(p,0x41ff28,								element),					    0,false,					    null,new					    ParamSender(0x410028|(element<<8)),					    null,"Init"), new			       EnvelopeNode(0,127,new					    MotifParamModel(p,0x41ff24,element),					    127,127,null,0,false,new					    ParamSender(0x410024|(element<<8)),					    null,"Attack",null), new			       EnvelopeNode(0,127,new					    MotifParamModel(p,0x41ff25,element),					    0,127,new					    MotifParamModel(p,0x41ff2a,element),					    0,false,new					    ParamSender(0x410025|(element<<8)),					    new ParamSender(0x410025 |							    (element<<8)),					    "Decay 1 Time", "Decay 1 Level"),			       new EnvelopeNode(0,127,new					    MotifParamModel(p,0x41ff26,element),					    0,127,new					    MotifParamModel(p,0x41ff2b,element),					    0,false,new					    ParamSender(0x410025|(element<<8)),					    new ParamSender(0x410025 |							    (element<<8)),					    "Decay 2", "Sustain"), new			       EnvelopeNode(100,100,null,					    EnvelopeNode.SAME,EnvelopeNode.SAME,					    null,0,false,null,					    null,null,null), new			       EnvelopeNode(0,127,new					    MotifParamModel(p,0x41ff24,element),					    0,0,					    null,0,false,new					    ParamSender(0x410024|(element<<8)),					    null,"Release",null),			       }),600+10*element);    }