Re: [LAU] sfz convert / tools

From: Nicola Pandini <nicola.pandini@email-addr-hidden>
Date: Mon Dec 17 2012 - 13:51:46 EET

Il 17/12/2012 11:43, rosea.grammostola ha scritto:
> Hi,
>
> What are the experiences with Translator Pro
> http://www.chickensys.com/products/sw_iteminfo.php?sw_name=Translator+Pro
> ?
>
> Afaik, it does convert to a Windows way of pointing to the path of the
> sample, e.g. \ versus /. Are there tools / scripts for converting
> these file to a file which works on unix?
>
> Which sfz (conversion) tools are available?
>
> Regards,
> \r
>
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user@email-addr-hidden
> http://lists.linuxaudio.org/listinfo/linux-audio-user

I use chickensys translator (cakewalk edition) to translate the Battery3
format into sfz. It seems is the only one to do such translation, and
it's very buggy.
When I edit a .sfz file that has been translated from a .kt3 (NI
Battery3), I follow these steps:

# comment the opcode "name"
find . -type f -name "*.sfz" -exec sed -i 's:name=:// name=:g' {} \;

# rename the opcode "volume_group" to "volume"
find . -type f -name "*.sfz" -exec sed -i 's/volume_group/volume/g' {} \;

# rename the opcode "pan_group" to "pan"
find . -type f -name "*.sfz" -exec sed -i 's/pan_group/pan/g' {} \;

# remove the opcode "groupIdx"
find . -type f -name "*.sfz" -exec sed -i 's/groupIdx=[^ ]* //g' {} \;

# rename the opcode "tune_group" to "tune"
find . -type f -name "*.sfz" -exec sed -i 's/tune_group/tune/g' {} \;

# lowercase
find . -name "*.kt3" -exec rename 'y/A-Z/a-z/' {} \;
find . -name "*.sfz" -exec sed -i 's/\(.*\)/\L\1/' {} \;

I also change the relative path to absolute path.
There are bugs in the translation process of filters, eq, tune(sfz uses
transpose+tune).

-- 
Nicola
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Mon Dec 17 16:15:01 2012

This archive was generated by hypermail 2.1.8 : Mon Dec 17 2012 - 16:15:02 EET