new MotifParamModel(p,0x400607),
new MotifParamModel((Patch) p,0x400607),
    public ArpPanel () {      super();      setLayout( new BoxLayout(this, BoxLayout.Y_AXIS) );      ControlPanel arp = new ControlPanel("Arpeggio");      //      arp.setLayout(new BoxLayout(arp, BoxLayout.X_AXIS));      Container c;      arp.setAlignmentX(Component.LEFT_ALIGNMENT);      add(arp);      addFiller(this, 0, 5);      panel = new ControlPanel("General");      panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS));      arp.add(panel);      //addFiller(arp, 0, 5);      addCombo("",0x407015,new String[] {"Off", "On"});      addCombo("Hold",0x407016, new String[] {"sync-off","off","on"});      addCombo("Bank",0x407013, new String[] {"Pre 1", "Pre 2", "User"});      ComboBoxWidget cw =	addCombo("Arp. #", 0x407014, new String[] {""});      cw.cb.setModel(new NumberComboBoxModel(128));      cw.setValue(cw.getValue());      addHGlue();      c = new ControlPanel("Limit");      arp.add(c);      addFiller(arp, 0, 5);      panel = Box.createHorizontalBox();      c.add(panel);      addLabeledSlider("Note Low", 0x407018, 0, false, 0, 0x7f, 0);      addLabeledSlider("Note High",0x407019, 0, false, 0, 0x7f, 0);      addHGlue();      panel = Box.createHorizontalBox();      c.add(panel);      addLabeledSlider("Vel. Low", 0x40701A, 0, false, 0, 0x7f, 0);      addLabeledSlider("Vel. High",0x40701B, 0, false, 0, 0x7f, 0);      addHGlue();      c = new ControlPanel("Other");      arp.add(c);      addFiller(arp, 0, 5);      panel = Box.createHorizontalBox();      c.add(panel);      addCombo("Key Mode",0x40701C, new String[] {"Sort","Thru","Direct"});      addCombo("Vel. Mode",0x40701D,new String[]{"Original", "Thru"});      addHGlue();      panel = Box.createHorizontalBox();      c.add(panel);      addSlider("Arp Tempo", 0x407022, true, 1, 300, 0);      addCombo("Unit Multiply", 0x407017, new String[] {"50%","66%","75%",							"100%","133%","150%",							"200%"});      addHGlue();      panel = Box.createHorizontalBox();      c.add(panel);      addLabeledSlider("Vel. Rate",0x40701E, 0,true, 0, 0xC8, 0);      addLabeledSlider("Gate Rate",0x407020, 0, true, 0, 0xC8, 0);      addHGlue();      addHGlue(arp);      arp = new ControlPanel("LFO");      arp.setAlignmentX(Component.LEFT_ALIGNMENT);      add(arp);      EnvelopeWidget w =	new EnvelopeWidget("Envelope", p,			   new EnvelopeWidget.Node[] {			     new EnvelopeWidget.Node(0, 127,					      new MotifParamModel(p,0x400605),					      5,5, null,					      0, false,					      new ParamSender(0x400605),null,					      "Delay",null),			     new EnvelopeWidget.Node(0,127,					      new MotifParamModel(p,0x400606),					      30,30,null,					      0, false,					      new ParamSender(0x400606),null,					      "Fade In", null),			     new EnvelopeWidget.Node(0,127,					      new MotifParamModel(p,0x400607),					      30,30,null,					      0, false,					      new ParamSender(0x400607),null,					      "Hold", null),			     new EnvelopeWidget.Node(0,127,					      new MotifParamModel(p,0x400608),					      5,5,null,					      0, false,					      new ParamSender(0x400608),null,					      "Fade Out", null),			   });      addWidget(arp, w, 500);    }