On Wed, 19 Dec 2012 14:48:05 +0100
"rosea.grammostola" <rosea.grammostola(a)gmail.com> wrote:
sfztools
Lisalo (Linux Sampler Loader)
https://github.com/nilsgey/lisalo has a standalone tool
lisalosfzgenerator.py.
Notice the -o --out option which triggers permanent files instead of temporary files.
usage: lisalosfzgenerator.py [-h] [-o OUT] [-k KEY] [-r] [-w] [-p]
path [filetype [filetype ...]]
Creates temporary sfz files. Point to a directory of wave or ogg files and
you'll get the filename of an .sfz file in return. In case you want to use
this with Lisalo use the following syntax:
lisalo args "$(lisalosfzgenerator.py path/to/wavedir)" more lisalo args
positional arguments:
path A directory with waves and/or ogg files OR a single
wav/ogg file. Directory: Can include subdirs when used
with --recursive. You'll get a random .sfz in /tmp with
absolut paths to your samples. Single File: The file is
spread over all midi keys. The -k parameter defines the
center.
filetype Optional: Which file types can be included. Can be 'wav',
'ogg' to only choose one. Don't use to choose both.
optional arguments:
-h, --help show this help message and exit
-o OUT, --out OUT Out file name. Out file triggers relative path mode for a
persistent sfz file with. Default: No name, generates a
random named .sfz in /tmp with absolute paths to your
samples.
-k KEY, --key KEY Midi key offset. Start mapping from this number. Default:
60 (middle C)
-r, --recursive Crawl the given sample directory recursively. Default:
Off
-w, --white Only use white keys instead of every key. Only works in
directory mode. Default: Off
-p, --percussive Play the whole sample once, even if you release the key
or hold it longer than the sample is. Default: Off