wavs2specimenbank

Here you find a small script that spits out (to stdout) a specimen bank file which contains entries to all the files specified on the commandline:

wavs2specimenbank

So, if you got a directory full of. wav files, simply do:

wavs2specimenbank file1.wav file2.wav … fileN.wav > output.specimen

Here’s the help output:

usage: wavs2specimenbank [options] file1.wav … fileN.wav

options can be:

–help show this help

–multi put all samples on one channel (one per midi note)
–single give each sample its own channel (default)

–note=# Starting note in multi mode. In single mode
this is the center note used (with the range
being the whole keyboard) (default: 60)

–channel=# use channel # as (starting (in single mode)) channel
(default 1)

–headeronly output only the header
–patchonly output only the patch info
–endonly output only the end

So basically you could also assemble banks by something like this:

wavs2specimenbank –headeronly > output.specimen
wavs2specimenbank –patchonly –multi foo*.wav >> output.specimen
wavs2specimenbank –patchonly –multi –channel=2 bar*.wav >> output.specimen
wavs2specimenbank –endonly >> output.specimen

This gives you a bank file where all foo*.wav samples are on channel 1 (default) starting with note 60 (default) and all bar*.wav files are on channel 2 starting with note 60, too.

then start specimen like:

specimen output.specimen

3 Comments

  1. [...] wavs2specimenbank script Filed under: Linux Audio, Music — tapas @ 12:06 am Here you find a small script that spits out (to stdout) a specimen bank file which contain [...]

  2. [...] 2005 Specimen Bank Generator Filed under: Code — ninjadroid @ 11:19 pm Fine work from Florian Schmidt. So, if you got a directory full of. wav files, simply do: [...]

  3. [...] Here you find a small script that spits out (to stdout) a specimen bank file which contains entries to all the files specified on the commandline. [...]

Leave a Reply