battery_to_sfz allows the conversion of Native Instruments Battery v1 (.kit) files into sfz format.
A XSLT processor like xsltproc (part of libxslt) is required to run the conversion script.
Batch conversion using bash script:
cd src/bash
./battery_to_sfz <path to folder containing .kit file(s)>
Individual conversion using xsltproc (stringparams are optional):
cd src/xsl
xsltproc --noout -o <output .sfz file> --stringparam uppercaseFileNames <yes|no>
--stringparam pathPrefix <path to samples relative to the generated sfz file>
--stringparam maxEGTime <seconds> battery_to_sfz.xsl <battery .kit file>
- Battery settings like volume, pan, mute groups, and velocity layers are faithfully recreated
- volume and pitch envelopes get converted to some extend
- resulting sfz files are quite readable
See the LICENSE file.