Uses of Interface
com.softsynth.jmsl.Instrument

Packages that use Instrument
com.softsynth.jmsl   
com.softsynth.jmsl.jsyn   
com.softsynth.jmsl.max   
com.softsynth.jmsl.midi   
com.softsynth.jmsl.score   
com.softsynth.jmsl.score.midi   
com.softsynth.jmsl.score.util   
com.softsynth.jmsl.util   
jmslexamples   
jmslexamples.jsyn   
jmsltestsuite   
jmsltutorial   
 

Uses of Instrument in com.softsynth.jmsl
 

Subinterfaces of Instrument in com.softsynth.jmsl
 interface SignalProcessingInstrument
          Interface for instrument whoch can accept abstract signal sources.
 

Classes in com.softsynth.jmsl that implement Instrument
 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
 Instrument MusicJob.getInstrument()
           
 Instrument MixerFader.getInstrument()
           
 Instrument NullMixer.getInstrument(int faderIndex)
           
 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 JMSLMixerContainer.getInstrument(int insIndex)
           
 

Methods in com.softsynth.jmsl with parameters of type Instrument
 int NullMixer.addInstrument(Instrument ins)
           
 int Mixer.addInstrument(Instrument ins)
          When Instruments are added to this Mixer, they are implicitely associated with an autoincrementing fader index.
 int JMSLMixerContainer.addInstrument(Instrument ins)
           
 int NullMixer.addInstrument(Instrument ins, double pan, double amp)
           
 int Mixer.addInstrument(Instrument ins, double pan, double amp)
          add Instrument with initial pan and amp values.
 int JMSLMixerContainer.addInstrument(Instrument ins, double pan, double amp)
           
 int[] NullMixer.getFaderIndexes(Instrument ins)
           
 int[] Mixer.getFaderIndexes(Instrument ins)
          faders index(es) associated with an instrument, or NULL if not found
 int[] JMSLMixerContainer.getFaderIndexes(Instrument ins)
           
 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 NoteOnOffInterpreter.interpret(double playTime, double timeStretch, double[] dar, Instrument ins)
          Midi note on.
 double NoteInterpreter.interpret(double playTime, double timeStretch, double[] dar, Instrument ins)
          Midi note on.
 double Interpreter.interpret(double playTime, double timeStretch, double[] dar, Instrument ins)
          Override this method to build your own custom Interpreter.
 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 NullMixer.removeInstrument(Instrument ins)
           
 void Mixer.removeInstrument(Instrument ins)
          Remove all faders associated with this instrument
 void JMSLMixerContainer.removeInstrument(Instrument ins)
          Calls removeInstrument(ins) on mixer which owns ins.
 void NullMixer.repatch(Instrument ins)
          Does nothing
 void Mixer.repatch(Instrument ins)
          Sometimes the internals of an instrument change which require that it be repatched
 void JMSLMixerContainer.repatch(Instrument ins)
          Enumerate all MixerFaders.
 void SustainingInterpreter.scheduleInterpretOff(double offTime, double timeStretch, double[] dar, Instrument ins)
          Schedule a call to the interpretOff method for this object.
 void MusicJob.setInstrument(Instrument ins)
          Plug in an instrumental
 void MixerFader.setInstrument(Instrument instrument)
           
 

Constructors in com.softsynth.jmsl with parameters of type Instrument
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
 class Brass
          FM Brass JSyn Instrument
 class FreqSynthNoteInstrument
          A JMSL Instrument that plays a JSyn SynthNote.
 class JSynInsFromClassName
          Create a JSyn Instrument by passing in the classname of a SynthNote Has optional SynthContext field to pass to its allocator for making SynthCircuits under a specified context
 class RingMod
          Automatically generated source.
 class SimpleSamplePlayingInstrument
          A JMSL Instrument that plays SynthSamples, mapped to integer pitch values.
 class SimpleSamplePlayingInstrumentWithLoops
          This class is not used directly.
 class SuperNoiseSwoop
          Automatically generated source.
 class SynthNoteAllPortsInstrument
          Create an Instrument by passing in the classname of a SynthNote.
 class SynthNoteAllPortsInstrumentSP
          SignalProcessing Instrument.
 class SynthNoteInstrument
          A polyphonic Instrument that plays notes with a JSyn SynthNote.
 class TransposingSamplePlayingInstrument
          A JMSL Instrument that loads a sequence of monophonic SynthSamples.
 class TransposingSampleSustainingInstrument
          A JMSL Instrument that loads a sequence of monophonic SynthSamples.
 class TunedSynthNoteInstrument
          A JMSL Instrument that plays a JSyn SynthNote.
Only difference between this and superclass FreqSynthNoteInstrument is that dimension 1 of this is pitch, not frequency Optional constructor passes in a BussedVoiceAllocator to make this polyphonic.
 

Methods in com.softsynth.jmsl.jsyn that return Instrument
 Instrument JSynMixer.getInstrument(int faderIndex)
           
 

Methods in com.softsynth.jmsl.jsyn with parameters of type Instrument
 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.max
 

Classes in com.softsynth.jmsl.max that implement Instrument
 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
 class MidiInstrument
          An Instrument that outputs MIDI.
 

Methods in com.softsynth.jmsl.midi that return Instrument
 Instrument MidiMixer.getInstrument(int faderIndex)
           
 

Methods in com.softsynth.jmsl.midi with parameters of type Instrument
 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
 Instrument Orchestra.getInstrument(int n)
           
 Instrument Orchestra.getInstrument(java.lang.String insName)
           
 

Methods in com.softsynth.jmsl.score with parameters of type Instrument
 void ScoreFrame.addInstrument(Instrument ins)
          Add an Instrument to the current score in this ScoreFrame.
 void Orchestra.addInstrument(Instrument ins)
           
 void ScoreFrame.addInstrument(Instrument ins, java.lang.String name)
          Same as addInstrument(ins), calls ins.setName() first
 void Orchestra.addInstrument(Instrument ins, java.lang.String insName)
           
 Track 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 consequences
 void Track.setInstrument(Instrument ins)
          Sets Instrument like superclass, also translates DimensionNameSpaces of existing Notes to DimensionNameSpace of Instrument
 

Constructors in com.softsynth.jmsl.score with parameters of type Instrument
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
 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
 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
 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
 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.jsyn
 

Classes in jmslexamples.jsyn that implement Instrument
 class PlayLurkingJSynInstrument
          This behaves just like a SynthNoteAllPortsInstrument playing a com.softsynth.jsyn.circuits.FilteredSawtoothBL, adding the PlayLurker interface so that it can be notified of elements being played by other objects.
 

Methods in jmslexamples.jsyn with parameters of type Instrument
 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
 class SimpleSamplePlayingInstrumentWithAmplitudeMap
          This subclass of SimpleSamplePlayingInstrument overrides getAlternativeSampleIndex() to map note 60 to three different samples based on amplitude.
 class TransposingSamplePlayingInstrumentWithAmplitudeMap
          This subclass of TransposingSamplePlayingInstrument overrides getAlternativeSampleIndex() to map note 60 to three different samples based on amplitude.
 class TransposingSampleSustainingInstrumentWithAmplitudeMap
          This subclass of TransposingSampleSustainingInstrument overrides getAlternativeSampleIndex() to map note 60 to three different samples based on amplitude.
 

Methods in jmsltestsuite with parameters of type Instrument
static void JMSLMixerContainerTest.initMusicDevice(java.awt.Frame f, Instrument ins)
           
 

Uses of Instrument in jmsltutorial
 

Classes in jmsltutorial that implement Instrument
 class AppletColorInstrument
          A simple Interpreter subclass that interprets data as rgb color, interprets element[0] as duration
 class CelloSampleIns
          A subclass of TransposingSamplePlayingInstrument which maps pitches to sound files, and transposes to fill in unmapped gaps, Does a simple loop to sustain the sample over time.
 class CelloSampleSustainingIns
          A subclass of TransposingSampleSustainingInstrument which maps pitches to sound files, and transposes to fill in unmapped gaps, This class does a better job of sustaining than TransposingSamplePlayingInstrument, as it uses two sample players to manage the loop, and crossfades between them Copy and rename this example, change the buildFromAttributes() method.
 class SineInstrument
          This Instrument owns a simple JSyn SineCircuit, and plays it with pitch and amplitude
 class SuperBrass
          Automatically generated source.
 class SuperRingModBell
          Automatically generated source.
 class SupoveVox
          A subclass of SimpleSamplePlayingInstrument which maps pitches to sound files.