--- jlscp/trunk/src/org/linuxsampler/lscp/Client.java 2007/09/07 11:03:52 1326 +++ jlscp/trunk/src/org/linuxsampler/lscp/Client.java 2007/09/10 21:26:10 1340 @@ -3730,6 +3730,25 @@ ResultSet rs = getEmptyResultSet(); } + /** + * Starts an instrument editor for editing the loaded instrument + * on the specified sampler channel. + * @param samplerChn The sampler channel number. + * @throws IOException If some I/O error occurs. + * @throws LscpException If LSCP protocol corruption occurs. + * @throws LSException If samplerChn is not a valid channel number or if + * there is no instrument loaded on the specified sampler channel. + * @see #getSamplerChannels + */ + public synchronized void + editInstrument(int samplerChn) throws IOException, LscpException, LSException { + verifyConnection(); + out.writeLine("EDIT INSTRUMENT " + samplerChn); + if(getPrintOnlyMode()) return; + + ResultSet rs = getEmptyResultSet(); + } + /**