/[svn]/jsampler/trunk/src/org/jsampler/CC.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/CC.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1707 by iliev, Thu Feb 14 16:52:36 2008 UTC revision 1708 by iliev, Wed Feb 20 15:20:34 2008 UTC
# Line 913  public class CC { Line 913  public class CC {
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++) {
# Line 930  public class CC { Line 934  public class CC {
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                    
# Line 1000  public class CC { Line 1000  public class CC {
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();

Legend:
Removed from v.1707  
changed lines
  Added in v.1708

  ViewVC Help
Powered by ViewVC