The DSLibraryInfo.xml file
The DSLibraryInfo.xml is an optional sidecar file that describes a whole sample library, as opposed to a single preset. If your library has one, it lives at the top level of your library’s folder, a sibling to your Presets/, Samples/, etc. subfolders — not inside any individual .dspreset file.
Everything in this file is optional, including the file itself. A sample library with no DSLibraryInfo.xml at all behaves exactly as it always has.
The <DecentSamplerLibraryInfo> element
This is the root element of DSLibraryInfo.xml.
Attributes:
Attribute |
Required/Optional |
Description |
Default |
|---|---|---|---|
|
optional |
The library’s display name, shown wherever DecentSampler lists your installed libraries. |
(the folder’s own name) |
|
optional |
Ties this library to a specific product/purchase, if you distribute it through DecentSampler’s built-in store integration. Do not add this yourself, as it will break everything. :) |
(none) |
|
optional |
The library’s own version string, in |
(none) |
|
optional |
Path to a cover art image for the library, relative to this file’s own folder. This gets displayed in the File Browser. |
(none) |
Example:
<?xml version="1.0" encoding="UTF-8"?>
<DecentSamplerLibraryInfo name="My Sample Library" productId="com.example.mylibrary"
version="1.2.0" coverArt="CoverArt.png">
</DecentSamplerLibraryInfo>