JSampler
v0.8a

org.jsampler.task
Class Channel.SetMidiInstrumentMap

java.lang.Object
  extended by 
      extended by org.jsampler.task.EnhancedTask
          extended by org.jsampler.task.Channel.SetMidiInstrumentMap
Enclosing class:
Channel

public static class Channel.SetMidiInstrumentMap
extends EnhancedTask

This task assigns the specifed MIDI instrument map to the specified sampler channel.


Constructor Summary
Channel.SetMidiInstrumentMap(int channel, int mapId)
          Creates new instance of SetMidiInstrumentMap.
 
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

Channel.SetMidiInstrumentMap

public Channel.SetMidiInstrumentMap(int channel,
                                    int mapId)
Creates new instance of SetMidiInstrumentMap.

Parameters:
channel - The sampler channel number.
mapId - The numerical ID of the MIDI instrument map that should be assigned to the specified sampler channel or -1 to remove the current map binding.
Method Detail

run

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


JSampler
v0.8a

Copyright © 2007 Grigor Iliev. All rights reserved.