JSampler
v0.8a

org.jsampler.task
Class Midi.MapInstrument

java.lang.Object
  extended by 
      extended by org.jsampler.task.EnhancedTask
          extended by org.jsampler.task.Midi.MapInstrument
Enclosing class:
Midi

public static class Midi.MapInstrument
extends EnhancedTask

This task maps a new MIDI instrument or replaces an existing one.


Constructor Summary
Midi.MapInstrument(int mapId, int bank, int program, MidiInstrumentInfo instrInfo)
          Creates new instance of MapInstrument.
 
Method Summary
 void run()
          The entry point of the task.
 
Methods inherited from class org.jsampler.task.EnhancedTask
isStopped, setErrorDetails, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Midi.MapInstrument

public Midi.MapInstrument(int mapId,
                          int bank,
                          int program,
                          MidiInstrumentInfo instrInfo)
Creates new instance of MapInstrument.

Parameters:
mapId - The id of the MIDI instrument map.
bank - The index of the MIDI bank, which will contain the instrument.
program - The MIDI program number of the new instrument.
instrInfo - Provides the MIDI instrument settings.
Method Detail

run

public void run()
The entry point of the task.


JSampler
v0.8a

Copyright © 2007 Grigor Iliev. All rights reserved.