75 |
import org.jsampler.CC; |
import org.jsampler.CC; |
76 |
import org.jsampler.DefaultLSConsoleModel; |
import org.jsampler.DefaultLSConsoleModel; |
77 |
import org.jsampler.HF; |
import org.jsampler.HF; |
78 |
import org.jsampler.Instrument; |
import org.jsampler.OrchestraInstrument; |
79 |
import org.jsampler.JSPrefs; |
import org.jsampler.JSPrefs; |
80 |
import org.jsampler.LSConsoleModel; |
import org.jsampler.LSConsoleModel; |
81 |
import org.jsampler.LscpUtils; |
import org.jsampler.LscpUtils; |
400 |
public void setInstrumentLoad(String instr) { |
public void setInstrumentLoad(String instr) { |
401 |
if(instr == null) return; |
if(instr == null) return; |
402 |
|
|
403 |
if(!Instrument.isDnDString(instr)) { |
if(!OrchestraInstrument.isDnDString(instr)) { |
404 |
replaceSelection(instr); |
replaceSelection(instr); |
405 |
return; |
return; |
406 |
} |
} |