Uses of Interface
com.softsynth.jmsl.Instrument
-
Uses of Instrument in com.softsynth.jmsl
Subinterfaces of Instrument in com.softsynth.jmsl Modifier and Type Interface Description interface
SignalProcessingInstrument
Deprecated.use com.sofystynth.jmsl.jsyn2 package insteadClasses in com.softsynth.jmsl that implement Instrument Modifier and Type Class Description class
InstrumentAdapter
An Instrument sonifies double[] data in its play() method, either directly or by invoking its Interpreter.Methods in com.softsynth.jmsl that return Instrument Modifier and Type Method Description Instrument
JMSLMixerContainer. getInstrument(int insIndex)
Instrument
Mixer. getInstrument(int faderIndex)
Get instrument associated with fader index (some instruments may have more than one fader, so you cannot assume fader n goes with ins n)Instrument
MixerFader. getInstrument()
Instrument
MusicJob. getInstrument()
Instrument
NullMixer. getInstrument(int faderIndex)
Methods in com.softsynth.jmsl with parameters of type Instrument Modifier and Type Method Description int
JMSLMixerContainer. addInstrument(Instrument ins)
int
JMSLMixerContainer. addInstrument(Instrument ins, double pan, double amp)
int
Mixer. addInstrument(Instrument ins)
When Instruments are added to this Mixer, they are implicitely associated with an autoincrementing fader index.int
Mixer. addInstrument(Instrument ins, double pan, double amp)
add Instrument with initial pan and amp values.int
NullMixer. addInstrument(Instrument ins)
int
NullMixer. addInstrument(Instrument ins, double pan, double amp)
int[]
JMSLMixerContainer. getFaderIndexes(Instrument ins)
int[]
Mixer. getFaderIndexes(Instrument ins)
faders index(es) associated with an instrument, or NULL if not foundint[]
NullMixer. getFaderIndexes(Instrument ins)
double
Interpreter. interpret(double playTime, double timeStretch, double[] dar, Instrument ins)
Override this method to build your own custom Interpreter.double
NoteInterpreter. interpret(double playTime, double timeStretch, double[] dar, Instrument ins)
Midi note on.double
NoteOnOffInterpreter. interpret(double playTime, double timeStretch, double[] dar, Instrument ins)
Midi note on.double
SustainingInterpreter. interpret(double playTime, double timeStretch, double[] dar, Instrument ins)
Override this with your own custom "note on" method.
Print a note number, and post its off time to the EventScheduler.double
SustainingInterpreter. interpretOff(double playTime, double timeStretch, double[] dar, Instrument ins)
Override this with your own "note off" method.static void
JMSL. openInstrumentMusicDevice(java.awt.Frame f, Instrument ins)
Get the MusicDevice for an Instrument.double
InstrumentPlayable. play(double playTime, Composable parent, Instrument ins)
play() is called by MusicList.void
JMSLMixerContainer. removeInstrument(Instrument ins)
Calls removeInstrument(ins) on mixer which owns ins.void
Mixer. removeInstrument(Instrument ins)
Remove all faders associated with this instrumentvoid
NullMixer. removeInstrument(Instrument ins)
void
JMSLMixerContainer. repatch(Instrument ins)
Enumerate all MixerFaders.void
Mixer. repatch(Instrument ins)
Sometimes the internals of an instrument change which require that it be repatchedvoid
NullMixer. repatch(Instrument ins)
Does nothingvoid
SustainingInterpreter. scheduleInterpretOff(double offTime, double timeStretch, double[] dar, Instrument ins)
Schedule a call to the interpretOff method for this object.void
MixerFader. setInstrument(Instrument instrument)
void
MusicJob. setInstrument(Instrument ins)
Plug in an instrumentalConstructors in com.softsynth.jmsl with parameters of type Instrument Constructor Description MusicShape(Instrument ins, int dimensions)
Player(Instrument ins)
Construct a Player with an instrument to use to play all its children -
Uses of Instrument in com.softsynth.jmsl.jsyn
Classes in com.softsynth.jmsl.jsyn that implement Instrument Modifier and Type Class Description class
Brass
Deprecated.use the pure Java JSyn2 package insteadclass
FreqSynthNoteInstrument
Deprecated.use the pure Java JSyn2 package insteadclass
JSynInsFromClassName
Deprecated.use the pure Java JSyn2 package insteadclass
RingMod
Deprecated.use the pure Java JSyn2 package insteadclass
SimpleSamplePlayingInstrument
Deprecated.use the pure Java JSyn2 package insteadclass
SimpleSamplePlayingInstrumentWithLoops
Deprecated.use the pure Java JSyn2 package insteadclass
SuperNoiseSwoop
Deprecated.use the pure Java JSyn2 package insteadclass
SynthNoteAllPortsInstrument
Deprecated.use the pure Java JSyn2 package insteadclass
SynthNoteAllPortsInstrumentSP
Deprecated.use the pure Java JSyn2 package insteadclass
SynthNoteInstrument
Deprecated.use the pure Java JSyn2 package insteadclass
TransposingSamplePlayingInstrument
Deprecated.use the pure Java JSyn2 package insteadclass
TransposingSampleSustainingInstrument
Deprecated.use the pure Java JSyn2 package insteadclass
TunedSynthNoteInstrument
Deprecated.use the pure Java JSyn2 package insteadMethods in com.softsynth.jmsl.jsyn that return Instrument Modifier and Type Method Description Instrument
JSynMixer. getInstrument(int faderIndex)
Deprecated.Methods in com.softsynth.jmsl.jsyn with parameters of type Instrument Modifier and Type Method Description int
JSynMixer. addInstrument(Instrument ins)
Deprecated.int
JSynMixer. addInstrument(Instrument ins, double pan, double amp)
Deprecated.Add a JSynInstrument to JSynMixer.int[]
JSynMixer. getFaderIndexes(Instrument ins)
Deprecated.void
JSynMixer. removeInstrument(Instrument ins)
Deprecated.void
JSynMixer. repatch(Instrument ins)
Deprecated. -
Uses of Instrument in com.softsynth.jmsl.jsyn2
Classes in com.softsynth.jmsl.jsyn2 that implement Instrument Modifier and Type Class Description class
JSynSimpleUnitVoiceInstrument
class
JSynUnitVoiceInstrument
Create an Instrument by passing in the classname of a UnitGenerator.class
SamplePlayingInstrument
A JMSL Instrument that plays audio samples, mapped to integer pitch values.Methods in com.softsynth.jmsl.jsyn2 that return Instrument Modifier and Type Method Description Instrument
JSynMixer. getInstrument(int faderIndex)
Methods in com.softsynth.jmsl.jsyn2 with parameters of type Instrument Modifier and Type Method Description int
JSynMixer. addInstrument(Instrument ins)
int
JSynMixer. addInstrument(Instrument ins, double pan, double amp)
Add a JSynInstrument to JSynMixer.int[]
JSynMixer. getFaderIndexes(Instrument ins)
void
JSynMixer. removeInstrument(Instrument ins)
void
JSynMixer. repatch(Instrument ins)
-
Uses of Instrument in com.softsynth.jmsl.jsyn2.instruments
Classes in com.softsynth.jmsl.jsyn2.instruments that implement Instrument Modifier and Type Class Description class
LineInInstrument
-
Uses of Instrument in com.softsynth.jmsl.max
Classes in com.softsynth.jmsl.max that implement Instrument Modifier and Type Class Description class
MaxInstrument
A MaxInstrument is a JMSL Instrument that can be used to send scheduled data to Max. -
Uses of Instrument in com.softsynth.jmsl.midi
Classes in com.softsynth.jmsl.midi that implement Instrument Modifier and Type Class Description class
MidiInstrument
An Instrument that outputs MIDI.Methods in com.softsynth.jmsl.midi that return Instrument Modifier and Type Method Description Instrument
MidiMixer. getInstrument(int faderIndex)
Methods in com.softsynth.jmsl.midi with parameters of type Instrument Modifier and Type Method Description int
MidiMixer. addInstrument(Instrument ins)
int
MidiMixer. addInstrument(Instrument ins, double pan, double amp)
int[]
MidiMixer. getFaderIndexes(Instrument ins)
void
MidiMixer. removeInstrument(Instrument ins)
void
MidiMixer. repatch(Instrument ins)
Does nothing -
Uses of Instrument in com.softsynth.jmsl.score
Methods in com.softsynth.jmsl.score that return Instrument Modifier and Type Method Description Instrument
Orchestra. getInstrument(int n)
Instrument
Orchestra. getInstrument(java.lang.String insName)
Methods in com.softsynth.jmsl.score with parameters of type Instrument Modifier and Type Method Description void
Orchestra. addInstrument(Instrument ins)
void
Orchestra. addInstrument(Instrument ins, java.lang.String insName)
void
ScoreFrame. addInstrument(Instrument ins)
Add an Instrument to the current score in this ScoreFrame.void
ScoreFrame. addInstrument(Instrument ins, java.lang.String name)
Same as addInstrument(ins), calls ins.setName() firstTrack
Staff. addTrack(Instrument ins)
add a new Track to this staff, handing it indicated instrument.int
Orchestra. getInstrumentIndex(Instrument ins)
double
Note. play(double playTime, Composable parent, Instrument ins)
void
Orchestra. removeInstrument(Instrument ins)
TODO implement this with MixerContainer consequencesvoid
Track. setInstrument(Instrument ins)
Sets Instrument like superclass, also translates DimensionNameSpaces of existing Notes to DimensionNameSpace of InstrumentConstructors in com.softsynth.jmsl.score with parameters of type Instrument Constructor Description Staff(Measure measure, Instrument ins)
Track(Staff staff, int num, Instrument ins)
-
Uses of Instrument in com.softsynth.jmsl.score.midi
Classes in com.softsynth.jmsl.score.midi that implement Instrument Modifier and Type Class Description class
MidiScoreInstrument
Midi Instrument which is compatible with amplitude 0..1. -
Uses of Instrument in com.softsynth.jmsl.score.util
Classes in com.softsynth.jmsl.score.util that implement Instrument Modifier and Type Class Description class
QuietPlayLurkingInstrument
Override notifyPlayLurker to do something useful, and put .class file in your jmsl_plugins folder for loading into JScore, or use directly in your own code. -
Uses of Instrument in com.softsynth.jmsl.util
Methods in com.softsynth.jmsl.util with parameters of type Instrument Modifier and Type Method Description double
SimplePrintingInterpreter. interpret(double playTime, double timeStretch, double[] dar, Instrument ins)
Override interpret() to provide your own Interpreter with custom functionality. -
Uses of Instrument in jmslexamples
Methods in jmslexamples with parameters of type Instrument Modifier and Type Method Description void
KeyboardInstrumentPlayer. setInstrument(Instrument instrument)
Set instrument, store its DimensionNameSpace, build compatible double[], and build a DimensionNameSpaceEditPanel to change the array's contents. -
Uses of Instrument in jmslexamples.jsyn2
Methods in jmslexamples.jsyn2 with parameters of type Instrument Modifier and Type Method Description void
JSynMIDIPlayer. setInstrument(Instrument instrument)
Set Instrument Follow this with a call to buildFromInstrument -
Uses of Instrument in jmsltestsuite
Classes in jmsltestsuite that implement Instrument Modifier and Type Class Description class
PitchBendInstrument
Midi instrument that sends pitchbend in play()class
SimpleSamplePlayingInstrumentWithAmplitudeMap
This subclass of SamplePlayingInstrument overrides getAlternativeSampleIndex() to map note 60 to three different samples based on amplitude.class
TransposingSamplePlayingInstrumentWithAmplitudeMap
This subclass of SamplePlayingInstrument overrides getAlternativeSampleIndex() to map note 60 to three different samples based on amplitude.Methods in jmsltestsuite with parameters of type Instrument Modifier and Type Method Description static void
JMSLMixerContainerTest. initMusicDevice(java.awt.Frame f, Instrument ins)
-
Uses of Instrument in jmsltutorial
Classes in jmsltutorial that implement Instrument Modifier and Type Class Description class
BackgroundColorInstrument
A simple Instrument subclass that interprets element [0] as duration and the rest as rgb color valuesclass
SineInstrument
This Instrument owns a JSyn SineUnitVoice, and plays it with frequency and amplitudeclass
SupoveVox
A subclass of SamplePlayingInstrument which maps pitches to sound files.