Class CakewalkInsFileReader

java.lang.Object
org.jjazz.outputsynth.api.CakewalkInsFileReader
All Implemented Interfaces:
MidiSynthFileReader

public class CakewalkInsFileReader extends Object implements MidiSynthFileReader
A MidiSynth provider reading Cakewalk .ins instrument definition files.

Several JJazzLab-specific extensions marked with {{ ... }} to the .ins format are supported, as described below.

Patch name extensions to adjust the created Instrument with DrumKit, or to define a substitute GM1 instrument:
- For drums instruments: "0=Live!DrumsStandardKit1 {{DrumKit=STANDARD, XG}}". Param1 is a DrumKit.Type value, param2 must be a value corresponding to a DrumKit.KeyMap.getName().
- For voice instruments: "12=New Marimba {{SubGM1=0}}" defines GM instrument 0 (piano) as the GM substitute for the New Marimba patch.

Bank name extensions :
- "Patch[10371]=Roland JV-1080 GM {{ GM_BANK }}" : this tells JJazzLab that the "current synth is GM compatible", and it indicates the location of the GM bank. You can similarly use GM2_BANK or XG_BANK or GS_BANK extension on any bank to tell JJazzLab that the synth is GM2/XG/GS compatible.
- "Patch[128]=Bank 1 {{ UseGsInstruments }}" : force the use of GSInstrument.java instances for this bank, to enable drums/melodic - "Patch[*]=Drums {{ UseGsDrumsInstruments }}" : force the use of GSDumrsInstrument.java instances for this bank, to enable drums/melodic GS voice switch