jlscp
v0.8

Uses of Class
org.linuxsampler.lscp.LscpException

Packages that use LscpException
org.linuxsampler.lscp Provides classes for retrieving information and configuring LinuxSampler instance. 
 

Uses of LscpException in org.linuxsampler.lscp
 

Methods in org.linuxsampler.lscp that throw LscpException
 void Client.addDbDirectory(java.lang.String dir)
          Adds the specified directory to the instruments database.
 void Client.addDbInstrument(java.lang.String dbDir, java.lang.String filePath, int instrIndex)
          Adds the specified instrument to the specified instruments database directory.
 int Client.addDbInstrument(java.lang.String dbDir, java.lang.String filePath, int instrIndex, boolean background)
          Adds the specified instrument to the specified instruments database directory.
 void Client.addDbInstruments(Client.ScanMode mode, java.lang.String dbDir, java.lang.String fsDir)
          Adds the instruments in the specified file system directory to the specified instruments database directory.
 int Client.addDbInstruments(Client.ScanMode mode, java.lang.String dbDir, java.lang.String fsDir, boolean background)
          Adds the instruments in the specified file system directory to the specified instruments database directory.
 int Client.addDbInstruments(Client.ScanMode mode, java.lang.String dbDir, java.lang.String fsDir, boolean background, boolean insDir)
          Adds the instruments in the specified file system directory to the specified instruments database directory.
 void Client.addDbInstruments(java.lang.String dbDir, java.lang.String filePath)
          Adds the instruments in the specified file to the specified instruments database directory.
 int Client.addDbInstruments(java.lang.String dbDir, java.lang.String filePath, boolean background)
          Adds the instruments in the specified file to the specified instruments database directory.
 int Client.addMidiInstrumentMap(java.lang.String name)
          Adds a new MIDI instrument map.
 int Client.addSamplerChannel()
          Adds a new sampler channel.
 void Client.connect()
          Connects to the LinuxSampler.
 void Client.copyDbDirectories(java.lang.String[] dirs, java.lang.String dst)
          Copies the specified directories into the specified location.
 void Client.copyDbDirectory(java.lang.String dir, java.lang.String dst)
          Copies the specified directory into the specified location.
 void Client.copyDbInstrument(java.lang.String instr, java.lang.String dst)
          Copies the specified instrument into the specified location.
 void Client.copyDbInstruments(java.lang.String[] instrs, java.lang.String dst)
          Copies the specified instruments into the specified location.
 int Client.createAudioOutputDevice(java.lang.String aoDriver, Parameter... paramList)
          Creates a new audio output device for the desired audio output system.
 int Client.createFxSend(int channel, int midiCtrl)
          Creates an additional effect send on the specified sampler channel.
 int Client.createFxSend(int channel, int midiCtrl, java.lang.String name)
          Creates an additional effect send on the specified sampler channel.
 int Client.createMidiInputDevice(java.lang.String miDriver, Parameter... paramList)
          Creates a new MIDI input device.
 void Client.destroyAudioOutputDevice(int deviceId)
          Destroys already created audio output device.
 void Client.destroyFxSend(int channel, int fxSend)
          Destroys the specified effect send on the specified sampler channel.
 void Client.destroyMidiInputDevice(int deviceId)
          Destroys already created MIDI input device.
 void Client.editChannelInstrument(int samplerChn)
          Starts an instrument editor for editing the loaded instrument on the specified sampler channel.
 void Client.enableAudioOutputDevice(int deviceId, boolean enable)
          Enables/disables the specified audio output device.
 void Client.enableMidiInputDevice(int deviceId, boolean enable)
          Enables/disables the specified MIDI input device.
 DbDirectoryInfo[] Client.findDbDirectories(java.lang.String dir, DbSearchQuery query)
          Finds all directories in the specified directory that corresponds to the specified search criterias.
 DbDirectoryInfo[] Client.findDbDirectories(java.lang.String dir, DbSearchQuery query, boolean nonRecursive)
          Finds all directories in the specified directory that corresponds to the specified search criterias.
 DbInstrumentInfo[] Client.findDbInstruments(java.lang.String dir, DbSearchQuery query)
          Finds all instruments in the specified directory that corresponds to the specified search criterias.
 DbInstrumentInfo[] Client.findDbInstruments(java.lang.String dir, DbSearchQuery query, boolean nonRecursive)
          Finds all instruments in the specified directory that corresponds to the specified search criterias.
 java.lang.String[] Client.findLostDbInstrumentFiles()
          Returns a list of all instrument files in the database that that don't exist in the filesystem.
 void Client.formatInstrumentsDb()
          Removes all instruments and directories and re-creates the instruments database structure.
 AudioOutputChannel Client.getAudioOutputChannelInfo(int deviceId, int audioChn)
          Gets information about an audio channel.
 Parameter Client.getAudioOutputChannelParameterInfo(int devId, int chan, java.lang.String param)
          Gets detailed information about a specific audio output channel parameter.
 int Client.getAudioOutputDeviceCount()
          Gets the current number of all created audio output devices.
 java.lang.Integer[] Client.getAudioOutputDeviceIDs()
          Gets a list of numerical IDs of all created audio output devices.
 AudioOutputDevice Client.getAudioOutputDeviceInfo(int deviceId)
          Gets the current settings of a specific, already created audio output device.
 AudioOutputDevice[] Client.getAudioOutputDevices()
          Gets a list of all created audio output devices.
 int Client.getAudioOutputDriverCount()
          Gets the number of all audio output drivers currently available for the LinuxSampler instance.
 AudioOutputDriver Client.getAudioOutputDriverInfo(java.lang.String driverName, Parameter... depList)
          Gets detailed information about a specific audio output driver.
 Parameter Client.getAudioOutputDriverParameterInfo(java.lang.String driver, java.lang.String param, Parameter... deplist)
          Gets detailed information about a specific audio output driver parameter.
 AudioOutputDriver[] Client.getAudioOutputDrivers()
          Gets all audio output drivers currently available for the LinuxSampler instance.
 java.util.Vector<BufferFill> Client.getChannelBufferFillBytes(int samplerChn)
          Gets the current fill state of all disk streams on the specified sampler channel in bytes.
 java.util.Vector<BufferFill> Client.getChannelBufferFillPercentage(int samplerChn)
          Gets the current fill state of all disk streams on the specified sampler channel in percent.
 int Client.getChannelStreamCount(int samplerChn)
          Gets the current number of active disk streams on the specified sampler channel.
 int Client.getChannelVoiceCount(int samplerChn)
          Gets the current number of active voices on the specified sampler channel.
 DbDirectoryInfo[] Client.getDbDirectories(java.lang.String dir)
          Gets the list of directories in the specified directory.
 int Client.getDbDirectoryCount(java.lang.String dir)
          Gets the number of directories in the specified directory.
 int Client.getDbDirectoryCount(java.lang.String dir, boolean recursive)
          Gets the number of directories in the specified directory.
 DbDirectoryInfo Client.getDbDirectoryInfo(java.lang.String dir)
          Gets information about the specified directory.
 java.lang.String[] Client.getDbDirectoryNames(java.lang.String dir)
          Gets the list of directories in the specified directory.
 int Client.getDbInstrumentCount(java.lang.String dir)
          Gets the number of instruments in the specified directory.
 int Client.getDbInstrumentCount(java.lang.String dir, boolean recursive)
          Gets the number of instruments in the specified directory.
 DbInstrumentInfo Client.getDbInstrumentInfo(java.lang.String instr)
          Gets information about the specified instrument.
 java.lang.String[] Client.getDbInstrumentNames(java.lang.String dir)
          Gets the list of instruments in the specified directory.
 DbInstrumentInfo[] Client.getDbInstruments(java.lang.String dir)
          Gets the list of instruments in the specified directory.
 ScanJobInfo Client.getDbInstrumentsJobInfo(int jobId)
          Gets status information about the specified job.
 int Client.getEngineCount()
          Gets the number of all available engines.
 SamplerEngine[] Client.getEngines()
          Gets a list of all available engines.
 int Client.getFileInstrumentCount(java.lang.String filename)
          Gets the number of instruments in the specified instrument file.
 Instrument Client.getFileInstrumentInfo(java.lang.String filename, int instrIdx)
          Gets information about the instrument with index instrIdx in the specified instrument file.
 Instrument[] Client.getFileInstruments(java.lang.String filename)
          Gets the list of instruments in the specified instrument file.
 java.lang.Integer[] Client.getFxSendIDs(int channel)
          Gets a list of effect sends on the specified sampler channel.
 FxSend Client.getFxSendInfo(int channel, int fxSend)
          Gets the current settings of the specified effect send entity.
 FxSend[] Client.getFxSends(int channel)
          Gets a list of all created effect sends on the specified sampler channel.
 int Client.getFxSoundCount(int channel)
          Gets the current number of effect sends on the specified sampler channel.
 int Client.getGlobalStreamLimit()
          Gets the global sampler-wide limit of maximum disk streams.
 int Client.getGlobalVoiceLimit()
          Gets the global sampler-wide limit of maximum voices.
 int Client.getMidiInputDeviceCount()
          Gets the current number of all created MIDI input devices.
 java.lang.Integer[] Client.getMidiInputDeviceIDs()
          Gets a list of numerical IDs of all created MIDI input devices.
 MidiInputDevice Client.getMidiInputDeviceInfo(int deviceId)
          Gets the current settings of a specific, already created MIDI input device.
 MidiInputDevice[] Client.getMidiInputDevices()
          Gets a list of all created MIDI input devices.
 int Client.getMidiInputDriverCount()
          Gets the current number of all MIDI input drivers.
 MidiInputDriver Client.getMidiInputDriverInfo(java.lang.String driverName, Parameter... depList)
          Gets detailed information about a specific MIDI input driver.
 Parameter Client.getMidiInputDriverParameterInfo(java.lang.String driver, java.lang.String param, Parameter... deplist)
          Gets detailed information about a specific MIDI input driver parameter.
 MidiInputDriver[] Client.getMidiInputDrivers()
          Gets all MIDI input drivers currently available for the LinuxSampler instance.
 MidiPort Client.getMidiInputPortInfo(int deviceId, int midiPort)
          Gets detailed information about a specific MIDI input port.
 Parameter Client.getMidiInputPortParameterInfo(int deviceId, int port, java.lang.String param)
          Gets detailed information about a specific MIDI input port parameter.
 int Client.getMidiInstrumentCount()
          Gets the current number of all MIDI instrument in all maps.
 int Client.getMidiInstrumentCount(int mapId)
          Gets the current number of MIDI instrument in the specified map.
 int[][] Client.getMidiInstrumentEntries(int mapId)
          Gets all MIDI instrument entries contained int the specified MIDI instrument map.
 MidiInstrumentInfo Client.getMidiInstrumentInfo(int mapId, int bank, int program)
          Gets the current settings of the specified MIDI instrument.
 int Client.getMidiInstrumentMapCount()
          Gets the current number of all MIDI instrument maps.
 java.lang.Integer[] Client.getMidiInstrumentMapIDs()
          Gets a list of numerical IDs of all created MIDI instrument maps.
 MidiInstrumentMapInfo Client.getMidiInstrumentMapInfo(int mapId)
          Gets the current settings of a specific, already created MIDI instrument map.
 MidiInstrumentMapInfo[] Client.getMidiInstrumentMaps()
          Gets an information of all created MIDI instrument maps.
 MidiInstrumentInfo[] Client.getMidiInstruments()
          Gets all MIDI instrument from all maps.
 MidiInstrumentInfo[] Client.getMidiInstruments(int mapId)
          Gets all MIDI instruments contained int the specified MIDI instrument map.
 int Client.getSamplerChannelCount()
          Gets the current number of all created sampler channels.
 java.lang.Integer[] Client.getSamplerChannelIDs()
          Gets a list with numerical IDs of all created sampler channels.
 SamplerChannel Client.getSamplerChannelInfo(int samplerChn)
          Gets the current settings of the specified sampler channel.
 SamplerChannel[] Client.getSamplerChannels()
          Gets a list of all created sampler channels.
 ServerInfo Client.getServerInfo()
          Gets information about the LinuxSampler instance.
 int Client.getTotalStreamCount()
          Gets the current number of all active streams.
 int Client.getTotalVoiceCount()
          Gets the current number of all active voices.
 int Client.getTotalVoiceCountMax()
          Gets the maximum number of active voices.
 float Client.getVolume()
          Gets the global volume of the sampler.
 void Client.loadInstrument(java.lang.String filename, int instrIdx, int samplerChn)
          Loads and assigns an instrument to a sampler channel.
 void Client.loadInstrument(java.lang.String filename, int instrIdx, int samplerChn, boolean nonModal)
          Loads and assigns an instrument to a sampler channel.
 void Client.loadSamplerEngine(java.lang.String engineName, int samplerChn)
          Loads a sampler engine to a specific sampler channel.
 void Client.mapMidiInstrument(int mapId, MidiInstrumentEntry entry, MidiInstrumentInfo info)
          Creates or replaces a MIDI instrument map entry.
 void Client.mapMidiInstrument(int mapId, MidiInstrumentEntry entry, MidiInstrumentInfo info, boolean nonModal)
          Creates or replaces a MIDI instrument map entry.
 void Client.moveDbDirectories(java.lang.String[] dirs, java.lang.String dst)
          Moves the specified directories into the specified location.
 void Client.moveDbDirectory(java.lang.String dir, java.lang.String dst)
          Moves the specified directory into the specified location.
 void Client.moveDbInstrument(java.lang.String instr, java.lang.String dst)
          Moves the specified instrument into the specified location.
 void Client.moveDbInstruments(java.lang.String[] instrs, java.lang.String dst)
          Moves the specified instruments into the specified location.
 boolean ScanJobInfo.parse(java.lang.String s)
          Parses a line of text.
 boolean AbstractInstrument.parse(java.lang.String s)
          Parses a line of text.
 boolean IntParameter.parse(java.lang.String s)
          Parses a line of text.
 boolean IntListParameter.parse(java.lang.String s)
          Parses a line of text.
 boolean StringListParameter.parse(java.lang.String s)
          Parses a line of text.
 boolean StringParameter.parse(java.lang.String s)
          Parses a line of text.
 boolean AbstractParameter.parse(java.lang.String s)
          Parses a line of text.
 boolean FxSend.parse(java.lang.String s)
          Parses a line of text.
 boolean SamplerChannel.parse(java.lang.String s)
          Parses a line of text.
 boolean Parseable.parse(java.lang.String s)
          Parses a line of text.
 boolean FloatListParameter.parse(java.lang.String s)
          Parses a line of text.
 boolean MidiInstrumentInfo.parse(java.lang.String s)
          Parses a line of text.
 boolean FloatParameter.parse(java.lang.String s)
          Parses a line of text.
 boolean DbInstrumentInfo.parse(java.lang.String s)
          Parses a line of text.
 boolean DbDirectoryInfo.parse(java.lang.String s)
          Parses a line of text.
 boolean BoolParameter.parse(java.lang.String s)
          Parses a line of text.
 boolean BoolListParameter.parse(java.lang.String s)
          Parses a line of text.
static java.lang.String[] Parser.parseArray(java.lang.String list)
          Parses a comma separated list whose items are encapsulated into curly braces.
protected static org.linuxsampler.lscp.ResultSet Parser.parseEmptyResultSet(java.lang.String ln)
          Parses an empty result set and returns an appropriate ResultSet object.
protected static void Parser.parseError(java.lang.String ln, org.linuxsampler.lscp.ResultSet rs)
          Parses error message.
static java.lang.String[] Parser.parseEscapedStringList(java.lang.String list)
          Parses a comma separated string list, which elements contains escaped sequences.
static java.lang.String[] Parser.parseEscapedStringList(java.lang.String list, char separator)
          Parses a string list, which elements contains escaped sequences.
protected static float Parser.parseFloat(java.lang.String s)
          Parses a float value.
static java.lang.Float[] Parser.parseFloatList(java.lang.String list)
          Parses a comma separated list with float values.
protected static int Parser.parseInt(java.lang.String s)
          Parses an integer value.
static java.lang.Integer[] Parser.parseIntList(java.lang.String list)
          Parses a comma separated list with integer values.
static java.lang.Integer[] Parser.parseIntList(java.lang.String list, char separator)
          Parses a list of integer values.
protected  void AbstractParameter.parseLines(java.lang.String[] lnS)
          Parses the specified lines.
protected static java.lang.String[][] Parser.parseListOfStringLists(java.lang.String list)
           
static java.lang.String[] Parser.parseStringList(java.lang.String list)
          Parses a comma separated list whose items are encapsulated into apostrophes.
static java.lang.String[] Parser.parseStringList(java.lang.String list, char separator)
          Parses a list whose items are encapsulated into apostrophes.
 void IntParameter.parseValue(java.lang.String s)
          Parses the specified character string and sets the value of this parameter with the parsed result.
 void IntListParameter.parseValue(java.lang.String s)
          Parses the specified character string and sets the value of this parameter with the parsed result.
 void StringListParameter.parseValue(java.lang.String s)
          Parses the specified character string and sets the value of this parameter with the parsed result.
 void StringParameter.parseValue(java.lang.String s)
          Sets the current value of this parameter with the specified character string.
 void FloatListParameter.parseValue(java.lang.String s)
          Parses the specified character string and sets the value of this parameter with the parsed result.
 void Parameter.parseValue(java.lang.String s)
          Parses the specified character string and sets the value of this parameter with the parsed result.
 void FloatParameter.parseValue(java.lang.String s)
          Parses the specified character string and sets the value of this parameter with the parsed result.
protected static void Parser.parseWarning(java.lang.String ln, org.linuxsampler.lscp.ResultSet rs)
          Parses warning message.
 void Client.removeAllMidiInstrumentMaps()
          Removes the all MIDI instrument maps.
 void Client.removeDbDirectories(java.lang.String[] dirs, boolean force)
          Removes the specified directories from the instruments database.
 void Client.removeDbDirectory(java.lang.String dir)
          Removes the specified directory from the instruments database.
 void Client.removeDbDirectory(java.lang.String dir, boolean force)
          Removes the specified directory from the instruments database.
 void Client.removeDbInstrument(java.lang.String instr)
          Removes the specified instrument from the instruments database.
 void Client.removeDbInstruments(java.lang.String[] instrs)
          Removes the specified instruments from the instruments database.
 void Client.removeMidiInstrumentMap(int mapId)
          Removes the specified MIDI instrument map.
 void Client.removeSamplerChannel(int samplerChn)
          Removes the specified sampler channel.
 void Client.renameDbDirectory(java.lang.String dir, java.lang.String name)
          Renames the specified directory.
 void Client.renameDbInstrument(java.lang.String instr, java.lang.String name)
          Renames the specified instrument.
 void Client.resetChannel(int samplerChn)
          Resets the specified sampler channel.
 void Client.resetSampler()
          Resets the whole sampler.
 void Client.sendChannelMidiData(int samplerChn, MidiDataEvent.Type type, int arg1, int arg2)
          Sends a MIDI event to this sampler channel.
 void Client.setAudioOutputChannelCount(int deviceId, int channels)
          Changes the channel number of the speicifed audio output device.
 void Client.setAudioOutputChannelParameter(int devId, int chn, Parameter prm)
          Alters a specific setting of an audio output channel.
 void Client.setAudioOutputDeviceParameter(int deviceId, Parameter prm)
          Alters a specific setting of a created audio output device.
 void Client.setChannelAudioOutputChannel(int samplerChn, int audioOut, int audioIn)
          Sets the audio output channel on the specified sampler channel.
 void Client.setChannelAudioOutputDevice(int samplerChn, int devId)
          Sets the audio output device on the specified sampler channel.
 void Client.setChannelMidiInputChannel(int samplerChn, int midiChn)
          Sets the MIDI input channel the specified sampler channel should listen to.
 void Client.setChannelMidiInputDevice(int samplerChn, int devId)
          Sets the MIDI input device on the specified sampler channel.
 void Client.setChannelMidiInputPort(int samplerChn, int port)
          Sets the MIDI input port on the specified sampler channel.
 void Client.setChannelMidiInstrumentMap(int samplerChn, int mapId)
          Sets the MIDI instrument map to be used on the specified sampler channel.
 void Client.setChannelMute(int samplerChn, boolean mute)
          Mute/unmute the specified sampler channel.
 void Client.setChannelSolo(int samplerChn, boolean solo)
          Solo/unsolo the specified sampler channel.
 void Client.setChannelVolume(int samplerChn, float volume)
          Sets the volume of the specified sampler channel.
 void Client.setDbDirectoryDescription(java.lang.String dir, java.lang.String desc)
          Changes the description of the specified directory.
 void Client.setDbInstrumentDescription(java.lang.String instr, java.lang.String desc)
          Changes the description of the specified instrument.
 void Client.setDbInstrumentFilePath(java.lang.String oldPath, java.lang.String newPath)
          Substitutes all occurrences of the instrument file oldPath in the database, with newPath.
 void Client.setFxSendAudioOutputChannel(int channel, int fxSend, int audioSrc, int audioDst)
          Sets the destination of an effect send's audio channel in the specified sampler channel.
 void Client.setFxSendLevel(int channel, int fxSend, float volume)
          Sets the current send level of the specified effect send entity in the specified sampler channel.
 void Client.setFxSendMidiController(int channel, int fxSend, int midiCtrl)
          Sets the MIDI controller, which will be able to modify the send level of the specified effect send in the specified sampler channel.
 void Client.setFxSendName(int channel, int fxSend, java.lang.String name)
          Sets the name of the specified effect send.
 void Client.setGlobalStreamLimit(int maxStreams)
          Sets the global sampler-wide limit for maximum disk streams.
 void Client.setGlobalVoiceLimit(int maxVoices)
          Sets the global sampler-wide limit of maximum voices.
 void Client.setMidiInputDeviceParameter(int deviceId, Parameter prm)
          Alters a specific setting of a created MIDI input device.
 void Client.setMidiInputPortCount(int deviceId, int ports)
          Changes the port number of the speicified MIDI input device.
 void Client.setMidiInputPortParameter(int deviceId, int port, Parameter prm)
          Alters a specific setting of a MIDI input port.
 void Client.setMidiInstrumentMapName(int mapId, java.lang.String name)
          Sets the name of the specified MIDI instrument map.
 void Client.setVolume(float volume)
          Sets the global volume of the sampler.
 void Client.unmapMidiInstrument(int mapId, MidiInstrumentEntry entry)
          Removes an entry MIDI instrument map.
 

Constructors in org.linuxsampler.lscp that throw LscpException
AbstractInstrument(java.lang.String[] resultSet)
          Creates a new instance of AbstractInstrument.
BoolListParameter(java.lang.String[] lnS)
          Creates a new instance of BoolListParameter and parses the specified lines.
BoolParameter(java.lang.String[] lnS)
          Creates a new instance of BoolParameter and parses the specified lines.
DbDirectoryInfo(java.lang.String[] resultSet)
          Creates a new instance of DbDirectoryInfo.
DbInstrumentInfo(java.lang.String[] resultSet)
          Creates a new instance of DbInstrumentInfo.
FloatListParameter(java.lang.String[] lnS)
          Creates a new instance of FloatListParameter and parses the specified lines.
FloatParameter(java.lang.String[] lnS)
          Creates a new instance of FloatParameter and parses the specified lines.
FxSend(java.lang.String[] resultSet)
          Creates a new instance of FxSend and parses the information about a specific effect send described by resultSet.
IntListParameter(java.lang.String[] lnS)
          Creates a new instance of IntListParameter and parses the specified lines.
IntParameter(java.lang.String[] lnS)
          Creates a new instance of IntParameter and parses the specified lines.
MidiInstrumentInfo(int mapId, MidiInstrumentEntry entry, java.lang.String[] resultSet)
          Creates a new instance of MidiInstrumentInfo and parses the provided information about this instrument.
SamplerChannel(java.lang.String[] resultSet)
          Creates a new instance of SamplerChannel and parses the information about a specific sampler channel described by resultSet.
ScanJobInfo(java.lang.String[] resultSet)
          Creates a new instance of ScanJobInfo.
StringListParameter(java.lang.String[] lnS)
          Creates a new instance of StringListParameter and parses the specified lines.
StringParameter(java.lang.String[] lnS)
          Creates a new instance of StringParameter and parses the specified lines.
 


jlscp
v0.8

Copyright © 2009 Grigor Iliev. All rights reserved.