1 |
/* |
/* |
2 |
* JSampler - a java front-end for LinuxSampler |
* JSampler - a java front-end for LinuxSampler |
3 |
* |
* |
4 |
* Copyright (C) 2005-2006 Grigor Iliev <grigor@grigoriliev.com> |
* Copyright (C) 2005-2011 Grigor Iliev <grigor@grigoriliev.com> |
5 |
* |
* |
6 |
* This file is part of JSampler. |
* This file is part of JSampler. |
7 |
* |
* |
716 |
CC.getTaskQueue().add(new Channel.SendMidiMsg(getChannelId(), type, arg1, arg2)); |
CC.getTaskQueue().add(new Channel.SendMidiMsg(getChannelId(), type, arg1, arg2)); |
717 |
} |
} |
718 |
|
|
719 |
|
/** |
720 |
|
* Sets destination effect on the specified effect send. |
721 |
|
* @param fxSend The numerical ID of the effect send. |
722 |
|
*/ |
723 |
|
public void |
724 |
|
setBackendFxSendEffect(int fxSend, int chainId, int chainPos) { |
725 |
|
CC.getTaskQueue().add ( |
726 |
|
new Channel.SetFxSendEffect(getChannelId(), fxSend, chainId, chainPos) |
727 |
|
); |
728 |
|
} |
729 |
|
|
730 |
|
/** |
731 |
|
* Removes the destination effect of the specified effect send. |
732 |
|
* @param fxSend The numerical ID of the effect send. |
733 |
|
*/ |
734 |
|
public void |
735 |
|
removeBackendFxSendEffect(int fxSend) { |
736 |
|
CC.getTaskQueue().add ( |
737 |
|
new Channel.SetFxSendEffect(getChannelId(), fxSend, -1, -1) |
738 |
|
); |
739 |
|
} |
740 |
|
|
741 |
/** Notifies listeners that the sampler channel settings has changed. */ |
/** Notifies listeners that the sampler channel settings has changed. */ |
742 |
protected void |
protected void |
743 |
fireSamplerChannelChanged() { |
fireSamplerChannelChanged() { |