Subversion Repositories svn.mios

Compare Revisions

Ignore whitespace Rev 302 → Rev 303

/trunk/java/org/midibox/sidedit/DrumSpecs.java
38,17 → 38,17
Vector drumInstrControl = new Vector();
for(int i=0;i<16;i++) {
drumInstrControl.add(new SIDSysexParameterControl(rotary,SIDSysexInfo.voiceAssign,patch,96+(10*i),4,4,"Voice assign","Voice assignment"));
drumInstrControl.add(new SIDSysexParameterControl(rotary,SIDSysexInfo.drumModel,patch,97+(10*i),0,8,"Drum model"));
drumInstrControl.add(new SIDSysexParameterControl(slider,null,patch,98+(10*i),4,4,"Attack","DCA Attack rate"));
drumInstrControl.add(new SIDSysexParameterControl(slider,null,patch,98+(10*i),0,4,"Decay","DCA Decay rate"));
drumInstrControl.add(new SIDSysexParameterControl(slider,null,patch,99+(10*i),4,4,"Sustain","DCA Sustain level"));
drumInstrControl.add(new SIDSysexParameterControl(slider,null,patch,99+(10*i),0,4,"Release","DCA Release rate"));
drumInstrControl.add(new SIDSysexParameterControl(rotary,SIDSysexInfo.voiceAssign,patch,96+(10*i),4,4,"Voice Assign","Voice assignment"));
drumInstrControl.add(new SIDSysexParameterControl(rotary,SIDSysexInfo.drumModel,patch,97+(10*i),0,8,"Drum Model"));
drumInstrControl.add(new SIDSysexParameterControl(slider,null,patch,98+(10*i),4,4,"Attack","DCA Attack Rate"));
drumInstrControl.add(new SIDSysexParameterControl(slider,null,patch,98+(10*i),0,4,"Decay","DCA Decay Rate"));
drumInstrControl.add(new SIDSysexParameterControl(slider,null,patch,99+(10*i),4,4,"Sustain","DCA Sustain Level"));
drumInstrControl.add(new SIDSysexParameterControl(slider,null,patch,99+(10*i),0,4,"Release","DCA Release Rate"));
drumInstrControl.add(new SIDSysexParameterControl(rotary,null,patch,100+(10*i),0,-8,"Tune"));
drumInstrControl.add(new SIDSysexParameterControl(rotary,null,patch,101+(10*i),0,-8,"Param #1","Parameter #1: Gatelength"));
drumInstrControl.add(new SIDSysexParameterControl(rotary,null,patch,102+(10*i),0,-8,"Param #2","Parameter #2: Speed"));
drumInstrControl.add(new SIDSysexParameterControl(rotary,null,patch,101+(10*i),0,-8,"Gatelength","Parameter #1: Gatelength"));
drumInstrControl.add(new SIDSysexParameterControl(rotary,null,patch,102+(10*i),0,-8,"Speed","Parameter #2: Speed"));
drumInstrControl.add(new SIDSysexParameterControl(rotary,null,patch,103+(10*i),0,-8,"Param #3","Parameter #3: depends on Drum Model"));
drumInstrControl.add(new SIDSysexParameterControl(combo,SIDSysexInfo.drumParams,patch,104+(10*i),0,8,"Velocity assign","Velocity parameter assignment"));
drumInstrControl.add(new SIDSysexParameterControl(combo,SIDSysexInfo.drumParams,patch,104+(10*i),0,8,"Velocity Assign","Velocity parameter assignment"));
}
return drumInstrControl;
}
56,9 → 56,9
public static Vector createSEQ(Patch patch) {
Vector seqControl = new Vector();
// Sequencer
seqControl.add(new SIDSysexParameterControl(rotary,null,patch,80,0,6,"Clock divider","Clock divider (sets tempo)"));
seqControl.add(new SIDSysexParameterControl(rotary,null,patch,80,0,6,"Clock Divider","Clock divider (sets tempo)"));
seqControl.add(new SIDSysexParameterControl(button,null,patch,80,6,1,"Manual/Seq","MIDI Note playing/Sequencer mode"));
seqControl.add(new SIDSysexParameterControl(button,null,patch,80,7,1,"Pattern sync","Pattern changes synchronised to measure"));
seqControl.add(new SIDSysexParameterControl(button,null,patch,80,7,1,"Pattern Sync","Pattern changes synchronised to measure"));
seqControl.add(new SIDSysexParameterControl(combo,SIDSysexInfo.seq,patch,81,0,4,"Sequence","Sequencer number"));
seqControl.add(new SIDSysexParameterControl(rotary,createSteps(),patch,83,0,4,"Steps","Number of steps"));
return seqControl;