Uses of Class
org.jjazz.midi.api.Instrument
Packages that use Instrument
Package
Description
Service provider for instrument selection dialog.
All Midi stuff: JJazzMidiSystem, Midi synths, Midi instruments, Midi banks, Midi drumkits, drumkit keymaps, Midi file parsers, etc.
The model for the mix of a song (instruments used per channel and their settings, volume, effect, etc.).
A service provider to find the most relevant instrument for a given rhythm voice.
The model of the Midi synth connected to the output of JJazzLab.
Object to transform a Phrase into another one.
The model of a rhythm (or style, e.g "fast swing 4/4"), with its RhythmVoices and RhythmParameters.
The central place to get information about installed rhythms and get Rhythm instances.
-
Uses of Instrument in org.jjazz.instrumentchooser.spi
Methods in org.jjazz.instrumentchooser.spi that return InstrumentModifier and TypeMethodDescriptionabstract InstrumentInstrumentChooserDialog.getSelectedInstrument()Methods in org.jjazz.instrumentchooser.spi with parameters of type InstrumentModifier and TypeMethodDescriptionabstract voidInstrumentChooserDialog.preset(OutputSynth outSynth, RhythmVoice rv, Instrument preselectedIns, int transpose, int channel) Initialize the dialog. -
Uses of Instrument in org.jjazz.midi.api
Classes in org.jjazz.midi.api with type parameters of type InstrumentModifier and TypeClassDescriptionclassInstrumentBank<T extends Instrument>A set of Instruments grouped in a bank.Methods in org.jjazz.midi.api that return InstrumentModifier and TypeMethodDescriptionInstrument.getCopy()InstrumentMix.getInstrument()Get the instrument.MidiSynth.getInstrument(String patchName) Find an instrument with the specified patchName.final InstrumentMidiSynth.getInstrument(MidiAddress addr) Find the instrument with the specified address.static InstrumentInstrument.loadFromString(String s) Get the Instrument corresponding to the string produced by saveAsString().Methods in org.jjazz.midi.api that return types with arguments of type InstrumentModifier and TypeMethodDescriptionMidiSynth.findInstruments(String text) Find instruments in this object's banks which match the given string (ignoring case).MidiSynth.getDrumsInstruments()Get all the Drums/Percussion instruments from this MidiSynth.MidiSynth.getDrumsInstruments(DrumKit kit, boolean tryHarder) Get all the drums/percussion instruments which match the specified DrumKit.InstrumentBank.getInstruments(Predicate<Instrument> tester) Get all the instruments which match the specified predicate.MidiSynth.getInstruments()Get all the instruments from this MidiSynth.MidiSynth.getInstruments(Predicate<Instrument> tester) Get all the instruments which match the specified predicate.MidiSynth.getInstrumentsFromSubstitute(GM1Instrument sub) Get all the instruments whose substitute is sub.MidiSynth.getNonDrumsInstruments()Get all the non Drums/Percussion instruments from this MidiSynth.Methods in org.jjazz.midi.api with parameters of type InstrumentModifier and TypeMethodDescriptionbooleanMidiSynth.contains(Instrument ins) Check whether this MidiSynth contains this instrument.intInstrumentBank.getIndex(Instrument ins) The index of the specified instrument.InstrumentBank.getNextInstrument(Instrument ins) The next instrument in the database after the specified instrument.static ShortMessage[]MidiUtilities.getPatchMessages(int channel, Instrument ins) Build the messages depending of the specified instrument's bank BankSelectionMethod.InstrumentBank.getPreviousInstrument(Instrument ins) The previous instrument in the database after the specified instrument.final voidInstrumentMix.setInstrument(Instrument instrument) Set the instrument.Method parameters in org.jjazz.midi.api with type arguments of type InstrumentModifier and TypeMethodDescriptionInstrumentBank.getInstruments(Predicate<Instrument> tester) Get all the instruments which match the specified predicate.MidiSynth.getInstruments(Predicate<Instrument> tester) Get all the instruments which match the specified predicate.Constructors in org.jjazz.midi.api with parameters of type Instrument -
Uses of Instrument in org.jjazz.midi.api.synths
Classes in org.jjazz.midi.api.synths with type parameters of type InstrumentModifier and TypeClassDescriptionfinal classNotSetBank<T extends Instrument>Utility bank used only to store the Void instrument.Subclasses of Instrument in org.jjazz.midi.api.synthsModifier and TypeClassDescriptionclassAn Instrument from the GM1 bank.classA special class for GS drums instruments.classA special class for GS instruments.classA special "void" instrument: no bank change or program change is associated to this instrument.Methods in org.jjazz.midi.api.synths that return InstrumentModifier and TypeMethodDescriptionstatic InstrumentStandardInstrumentConverter.convertInstrument(Instrument srcIns, MidiSynth destSynth) Try to find the standard Instrument from destSynth which best matches srcIns.static InstrumentStandardInstrumentConverter.findDrumsInstrument(DrumKit srcKit, MidiSynth midiSynth, boolean tryHarder) Try to find a GM2/XG/GS/drums percussion instrument from midiSynth which match, as much as possible, srcKit.GSDrumsInstrument.getCopy()GSInstrument.getCopy()GM2Bank.getDefaultDrumsInstrument()GSBank_SC88Pro.getDefaultDrumsInstrument()GSBank.getDefaultDrumsInstrument()XGBank.getDefaultDrumsInstrument()Methods in org.jjazz.midi.api.synths that return types with arguments of type InstrumentModifier and TypeMethodDescriptionGM2Bank.getDrumsInstruments(DrumKit kit, boolean tryHarder) Overridden to accept any GM-compatible keymaps when trying harder.GSBank.getDrumsInstruments(DrumKit kit, boolean tryHarder) Overridden to accept any GM-compatible keymaps when trying harder.XGBank.getDrumsInstruments(DrumKit kit, boolean tryHarder) Overridden to accept any GM-compatible keymaps when trying harder.FavoriteInstruments.getInstruments()All the favorite instruments.FavoriteInstruments.getInstruments(MidiSynth synth) The favorite instruments for the specified MidiSynth.Methods in org.jjazz.midi.api.synths with parameters of type InstrumentModifier and TypeMethodDescriptionbooleanFavoriteInstruments.addInstrument(Instrument ins) Add a favorite instrument.booleanFavoriteInstruments.contains(Instrument ins) static InstrumentStandardInstrumentConverter.convertInstrument(Instrument srcIns, MidiSynth destSynth) Try to find the standard Instrument from destSynth which best matches srcIns.static GM1InstrumentGMSynth.getGM1Instrument(Instrument ins) Convenience method to get the GM1Instrument from this synth corresponding to an instrument from a synth's GM bank.booleanFavoriteInstruments.removeInstrument(Instrument ins) Remove a favorite instrument.Method parameters in org.jjazz.midi.api.synths with type arguments of type InstrumentModifier and TypeMethodDescriptionstatic booleanGM1Bank.isGM1Compatible(InstrumentBank<? extends Instrument> bank) Check if the specified bank holds GM1 instruments: check size and a few instruments patch names. -
Uses of Instrument in org.jjazz.midi.api.ui
Methods in org.jjazz.midi.api.ui that return InstrumentModifier and TypeMethodDescriptionInstrumentTable.getSelectedInstrument()The selected instrument.Methods in org.jjazz.midi.api.ui with parameters of type InstrumentModifier and TypeMethodDescriptionvoidInstrumentTable.setSelectedInstrument(Instrument ins) Select the row corresponding to the specified instrument.Method parameters in org.jjazz.midi.api.ui with type arguments of type InstrumentModifier and TypeMethodDescriptionvoidInstrumentTable.Model.setInstruments(List<? extends Instrument> instruments) -
Uses of Instrument in org.jjazz.midimix.api
Method parameters in org.jjazz.midimix.api with type arguments of type InstrumentModifier and TypeMethodDescriptionMidiMix.getChannelsNeedingDrumsRerouting(HashMap<Integer, Instrument> mapChannelNewIns) Get the channels which normally need drums rerouting. -
Uses of Instrument in org.jjazz.midimix.spi
Methods in org.jjazz.midimix.spi that return InstrumentModifier and TypeMethodDescriptionRhythmVoiceInstrumentProvider.findInstrument(RhythmVoice rv) Find the most appropriate Instrument on the system to render the specified RhythmVoice in a MidiMix. -
Uses of Instrument in org.jjazz.outputsynth.api
Fields in org.jjazz.outputsynth.api declared as InstrumentModifier and TypeFieldDescriptionstatic final InstrumentGMRemapTable.DRUMS_INSTRUMENTSpecial instances for the Drums/Percussion, since GM1 does not define them.static final InstrumentGMRemapTable.PERCUSSION_INSTRUMENTMethods in org.jjazz.outputsynth.api that return InstrumentModifier and TypeMethodDescriptionDefaultRhythmVoiceInstrumentProviderImpl.findInstrument(RhythmVoice rv) OutputSynth.findInstrument(RhythmVoice rv) Find an instrument from this OutputSynth matching (as much as possible) the specified rhythm voice's preferred instrument.OS_YamahaRef.getDefaultDrumsInstrument()The Drums instrument of this synth to be used by default.GMRemapTable.getInstrument(Instrument remappedIns) Get the mapped instrument for remappedIns.GMRemapTable.getInstrument(Family family) Get the mapped instrument for the specified instrument family.OutputSynth.UserSettings.getUserMelodicInstrument()Get the user melodic instrument.Methods in org.jjazz.outputsynth.api that return types with arguments of type InstrumentModifier and TypeMethodDescriptionGMRemapTable.getFamilyInstrumentMap()The map which associates a GM family to an instrument from the associated MidiSynth.GMRemapTable.getInstrumentMap()The map which associates a GM instrument (+ the special drums instances) to an instrument from the associated MidiSynth.GMRemapTable.getInstrumentMap()The map which associates a GM instrument (+ the special drums instances) to an instrument from the associated MidiSynth.OutputSynth.getNeedFixInstruments(MidiMix mm) Get the instruments that should be used in the specified MidiMix to make it consistent with this OutputSynth.Methods in org.jjazz.outputsynth.api with parameters of type InstrumentModifier and TypeMethodDescriptionstatic voidGMRemapTable.checkRemappedInstrument(Instrument remappedIns) Check that the specified remapped Instrument is valid.GMRemapTable.getInstrument(Instrument remappedIns) Get the mapped instrument for remappedIns.voidGMRemapTable.setInstrument(Instrument remappedIns, Instrument ins, boolean useAsFamilyDefault) Set the mapped instrument for remappedIns.voidOutputSynth.UserSettings.setUserMelodicInstrument(Instrument ins) Set the value of userInstrument. -
Uses of Instrument in org.jjazz.outputsynth.api.ui
Methods in org.jjazz.outputsynth.api.ui that return InstrumentModifier and TypeMethodDescriptionRemapTableInstrumentChooser.getSelectedInstrument()RemapTableUI.getSelectedRemappedInstrument()Get the selected remapped Instrument.Methods in org.jjazz.outputsynth.api.ui with parameters of type InstrumentModifier and TypeMethodDescriptionvoidRemapTableInstrumentChooser.preset(GMRemapTable remapTable, Instrument remappedIns) voidRemapTableUI.setSelectedRemappedInstrument(Instrument ins) Set the selected instrument. -
Uses of Instrument in org.jjazz.phrasetransform.api
Methods in org.jjazz.phrasetransform.api that return InstrumentModifier and TypeMethodDescriptionstatic InstrumentPhraseTransforms.getInstrument(SizedPhrase sp, SongPartContext context) -
Uses of Instrument in org.jjazz.rhythm.api
Methods in org.jjazz.rhythm.api that return InstrumentModifier and TypeMethodDescriptionRhythmVoice.getPreferredInstrument()The preferred Instrument for this voice.Constructors in org.jjazz.rhythm.api with parameters of type InstrumentModifierConstructorDescriptionRhythmVoice(DrumKit drumKit, Rhythm container, RhythmVoice.Type type, String name, Instrument ins, int preferredChannel) Create a drums/percussion RhythmVoice with a default InstrumentSettings.RhythmVoice(DrumKit drumKit, Rhythm container, RhythmVoice.Type type, String name, Instrument ins, InstrumentSettings is, int preferredChannel) Create a RhythmVoice for Drums/Percussion instruments.RhythmVoice(Rhythm container, RhythmVoice.Type type, String name, Instrument instrument, int preferredChannel) Create a RhythmVoice for a non-drums voice with a default InstrumentSettings.RhythmVoice(Rhythm container, RhythmVoice.Type type, String name, Instrument ins, InstrumentSettings is, int preferredChannel) Create a RhythmVoice for a non-drums voice. -
Uses of Instrument in org.jjazz.rhythmdatabase.api
Methods in org.jjazz.rhythmdatabase.api that return Instrument