public void fadeChannels(int startChannel, int fadeTime,
int[] targetValues, int holdTime, boolean immediate) {
logger.trace("Fading channels {} to {}", startChannel, targetValues);
int channelId = startChannel;
for (int v : targetValues) {
FadeAction fade = new FadeAction(fadeTime, v, holdTime);
if (immediate) {
transmitter.getChannel(channelId++).setChannelAction(fade);
} else {
transmitter.getChannel(channelId++).addChannelAction(fade);
}