913 |
sb.append("\r\n"); |
sb.append("\r\n"); |
914 |
} |
} |
915 |
|
|
916 |
|
exportInstrMapsToLscpScript(lscpClient); |
917 |
|
sb.append(out.toString()); |
918 |
|
out.reset(); |
919 |
|
|
920 |
SamplerChannelModel[] channels = getSamplerModel().getChannels(); |
SamplerChannelModel[] channels = getSamplerModel().getChannels(); |
921 |
|
|
922 |
for(int i = 0; i < channels.length; i++) { |
for(int i = 0; i < channels.length; i++) { |
934 |
sb.append("\r\n"); |
sb.append("\r\n"); |
935 |
} |
} |
936 |
|
|
|
exportInstrMapsToLscpScript(lscpClient); |
|
|
sb.append(out.toString()); |
|
|
out.reset(); |
|
|
|
|
937 |
return sb.toString(); |
return sb.toString(); |
938 |
} |
} |
939 |
|
|
1000 |
if(chn.getEngine() != null) { |
if(chn.getEngine() != null) { |
1001 |
lscpCLient.loadSamplerEngine(chn.getEngine().getName(), chnId); |
lscpCLient.loadSamplerEngine(chn.getEngine().getName(), chnId); |
1002 |
lscpCLient.setChannelVolume(chnId, chn.getVolume()); |
lscpCLient.setChannelVolume(chnId, chn.getVolume()); |
1003 |
|
int mapId = chn.getMidiInstrumentMapId(); |
1004 |
|
lscpCLient.setChannelMidiInstrumentMap(chnId, mapId); |
1005 |
} |
} |
1006 |
|
|
1007 |
id = chn.getAudioOutputDevice(); |
id = chn.getAudioOutputDevice(); |