[LAU] makesfz.sh

Dan MacDonald allcoms at gmail.com
Sat Dec 31 14:48:58 UTC 2011


Glad tidings I bring the free audio realm for 2012!

After seeming years of guru meditations on this problem, I have
finally come across a method of easily using a folder of wav samples
to create sfz drum kits that can be used with Linuxsampler under
qtractor, A3, OOM or what haveth ye for DAW!!

I came across a perl script that almost sounded like it would do what
I want here http://www.drealm.info/sfz/ but I failed to get that to
work and I don't know perl to fix it yet and nor do I think I'll
bother but I will write a bash script to create a .sfz looking like so
by simply running said script in the folder containing the wav files
for your kit. Hence if you ran makesfz.sh within a dir containing
001-bassdrum.wav and 002-snaredrum.wav we would get the following
output:



<region>
sample=001-bassdrum.wav
key=0
lovel=0 hivel=127

<region>
sample=002-snaredrum.wav
key=1
lovel=0 hivel=127



I do expect someone here will have wrote such a script and added bells
already so may they be so kind as to share it so then we may add it to
the LinuxSampler online resources or get it bundled with the app
itself?

All the best for 2012!

danboid


More information about the Linux-audio-user mailing list