MotifParamModel(p,0x41ff27,element),
MotifParamModel((Patch) 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 EnvelopeWidget.Node[] { new			       EnvelopeWidget.Node(0,127,					    new MotifParamModel(p,0x41ff11,								element),					    0,0,null,					    0, false,					    new ParamSender(0x41ff11,element) 					    ,null,"Delay", null), new			       EnvelopeWidget.Node(10,10,null,					    0,127,					    new MotifParamModel((Patch)p,0x41ff28,								element),					    0,false,					    null,new					    ParamSender(0x41ff28, element),					    null,"Init"), new			       EnvelopeWidget.Node(0,127,new					    MotifParamModel(p,0x41ff24,element),					    127,127,null,0,false,new					    ParamSender(0x41ff24, element),					    null,"Attack",null), new			       EnvelopeWidget.Node(0,127,new					    MotifParamModel(p,0x41ff25,element),					    0,127,new					    MotifParamModel((Patch)p,0x41ff2a,element),					    0,false,new					    ParamSender(0x41ff25, element), 					    new ParamSender(0x41ff25,element),					    "Decay 1 Time", "Decay 1 Level"),			       new EnvelopeWidget.Node(0,127,new					    MotifParamModel(p,0x41ff26,element),					    0,127,new					    MotifParamModel((Patch)p,0x41ff2b,element),					    0,false,new                                            ParamSender(0x410025, element), 					    new ParamSender(0x41ff25,element),					    "Decay 2", "Sustain"), new			       EnvelopeWidget.Node(100,100,null,					    EnvelopeWidget.Node.SAME,EnvelopeWidget.Node.SAME,					    null,0,false,null,					    null,null,null), new			       EnvelopeWidget.Node(0,127,new					    MotifParamModel(p,0x41ff27,element),					    0,0,					    null,0,false,new					    ParamSender(0x41ff27, element),					    null,"Release",null)			       }),600+10*element);    }