smwavset - Program to manage spectmorph multiwave files
smwavset <command> [OPTIONS] [
<command specific args>... ]
smwavset is a command line tool to manage multi-wave files
for SpectMorph. Ususally, a multi wave file is first initialized (using the
init command), then different wave files are added using the
add command. After this has been done, encoding all waves can be done
with one single command, like decoding all waves.
smwavset follows the usual GNU command line syntax, with
long options starting with two dashes ('-').
- -h, --help
- Shows a brief help message.
- -v, --version
- Prints out smwavset version.
- --args
<arguments>
- Specify additional arguments to be passed to smenc/smplay. This could be
--args "-O1" for encoding, or --args "--no-sines" for
decoding.
- -d,
--data-dir
- For encoding/decoding, this sets a data directory where the .wav files or
a list of .wav files (or .sm files), it is important that different
wavsets store their files in different directories (otherwise they will
overwrite wav files that belong to a different wavset). So specifying a
proper data directory which is different for each wavset is usually
necessary. The default value is /tmp, which is only appropriate for
testing; you should ensure that scripts setup a different value.
- --format
<field1>,<field2>,<field3>,...,<fieldN>
- Set the output format for the list command.
- -j
<jobs>
- Use <jobs> parallel jobs for encoding (for systems with more
than one processor).
For the list command, valid fields are:
- midi-note
- Midi note of the audio entry (0-127)
- channel
- Channel for the audio entry (0 is the first channel)
- filename
- Filename of the audio entry
- min-velocity
- Minimum velocity of the audio entry (0-127)
- max-velocity
- Maximum velocity of the audio entry (0-127)
smenc.1 <https://testbit.eu/wiki/Smenc.1>, smplay.1
<https://testbit.eu/wiki/Smplay.1>, smstrip.1
<https://testbit.eu/wiki/Smstrip.1>