--- linuxsampler/trunk/Documentation/lscp.xml 2007/08/15 17:43:34 1296
+++ linuxsampler/trunk/Documentation/lscp.xml 2007/09/17 23:15:25 1353
@@ -34,7 +34,7 @@
schoenebeck at software minus engineering dot org
-
+
LinuxSampler Developers
LSCP
@@ -4759,7 +4759,19 @@
The following commands describe how to use and manage
- the instruments database.
+ the instruments database.
+ Notice:
+
+
+ All command arguments representing a path or
+ instrument/directory name support escape sequences as described in chapter
+ "Character Set and Escape Sequences".
+
+ All occurrences of a forward slash in instrument and directory
+ names are escaped with its hex (\x2f) or octal (\057) escape sequence.
+
+
+
The front-end can add a new instrument directory to the
@@ -4937,7 +4949,9 @@
DESCRIPTION -
- A brief description of the directory content
+ A brief description of the directory content.
+ Note that the character string may contain
+ escape sequences.
CREATED -
@@ -5101,7 +5115,9 @@
Where <dir> is the absolute path name of the directory and
- <desc> is the new description for the directory.
+ <desc> is the new description for the directory
+ (encapsulated into apostrophes, supporting escape sequences as described in chapter
+ "Character Set and Escape Sequences").
Possible Answers:
@@ -5146,7 +5162,9 @@
NAME='<search-string>'
Restricts the search to directories, which names
- satisfy the supplied search string.
+ satisfy the supplied search string (encapsulated into apostrophes,
+ supporting escape sequences as described in chapter
+ "Character Set and Escape Sequences").
@@ -5177,7 +5195,10 @@
DESCRIPTION='<search-string>'
Restricts the search to directories with description
- that satisfies the supplied search string.
+ that satisfies the supplied search string
+ (encapsulated into apostrophes, supporting escape
+ sequences as described in chapter
+ "Character Set and Escape Sequences").
@@ -5438,7 +5459,9 @@
INSTRUMENT_FILE -
- File name of the instrument.
+ File name of the instrument.
+ Note that the character string may contain
+ escape sequences.
INSTRUMENT_NR -
@@ -5477,7 +5500,9 @@
DESCRIPTION -
- A brief description of the instrument
+ A brief description of the instrument.
+ Note that the character string may contain
+ escape sequences.
IS_DRUM -
@@ -5488,18 +5513,24 @@
PRODUCT -
- The product title of the instrument
+ The product title of the instrument.
+ Note that the character string may contain
+ escape sequences.
ARTISTS -
- Lists the artist names
+ Lists the artist names.
+ Note that the character string may contain
+ escape sequences.
KEYWORDS -
Provides a list of keywords that refer to the instrument.
- Keywords are separated with semicolon and blank.
+ Keywords are separated with semicolon and blank.
+ Note that the character string may contain
+ escape sequences.
@@ -5656,7 +5687,9 @@
Where <instr> is the absolute path name of the instrument and
- <desc> is the new description for the instrument.
+ <desc> is the new description for the instrument
+ (encapsulated into apostrophes, supporting escape sequences as described in chapter
+ "Character Set and Escape Sequences").
Possible Answers:
@@ -5701,7 +5734,9 @@
NAME='<search-string>'
Restricts the search to instruments, which names
- satisfy the supplied search string.
+ satisfy the supplied search string (encapsulated into apostrophes,
+ supporting escape sequences as described in chapter
+ "Character Set and Escape Sequences").
@@ -5743,28 +5778,36 @@
DESCRIPTION='<search-string>'
Restricts the search to instruments with description
- that satisfies the supplied search string.
+ that satisfies the supplied search string (encapsulated into apostrophes,
+ supporting escape sequences as described in chapter
+ "Character Set and Escape Sequences").
PRODUCT='<search-string>'
Restricts the search to instruments with product info
- that satisfies the supplied search string.
+ that satisfies the supplied search string (encapsulated into apostrophes,
+ supporting escape sequences as described in chapter
+ "Character Set and Escape Sequences").
ARTISTS='<search-string>'
Restricts the search to instruments with artists info
- that satisfies the supplied search string.
+ that satisfies the supplied search string (encapsulated into apostrophes,
+ supporting escape sequences as described in chapter
+ "Character Set and Escape Sequences").
KEYWORDS='<search-string>'
Restricts the search to instruments with keyword list
- that satisfies the supplied search string.
+ that satisfies the supplied search string (encapsulated into apostrophes,
+ supporting escape sequences as described in chapter
+ "Character Set and Escape Sequences").
@@ -5877,6 +5920,34 @@
+
+
+ The front-end can remove all instruments and directories and re-create
+ the instruments database structure (e.g., in case of a database corruption)
+ by sending the following command:
+
+
+ FORMAT INSTRUMENTS_DB
+
+
+
+ Possible Answers:
+
+
+ "OK" -
+
+ on success
+
+
+ "ERR:<error-code>:<error-message>" -
+
+ If the formatting of the instruments database
+ failed.
+
+
+
+
+