JSampler
v0.8a

org.jsampler.task
Class Channel.LoadInstrument

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

public static class Channel.LoadInstrument
extends EnhancedTask

This task loads and assigns an instrument to a sampler channel.


Constructor Summary
Channel.LoadInstrument(java.lang.String filename, int instrIndex, int channel)
          Creates new instance of LoadInstrument.
 
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.LoadInstrument

public Channel.LoadInstrument(java.lang.String filename,
                              int instrIndex,
                              int channel)
Creates new instance of LoadInstrument.

Parameters:
filename - The name of the instrument file on the LinuxSampler instance's host system.
instrIndex - The index of the instrument in the instrument file.
channel - The number of the sampler channel the instrument should be assigned to.
Method Detail

run

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


JSampler
v0.8a

Copyright © 2007 Grigor Iliev. All rights reserved.