/battery_to_sfz

battery_to_sfz allows the conversion of Native Instruments Battery v1 (.kit) files into sfz format.

Primary LanguageShellMIT LicenseMIT

battery_to_sfz

battery_to_sfz allows the conversion of Native Instruments Battery v1 (.kit) files into sfz format.

Requirements

A XSLT processor like xsltproc (part of libxslt) is required to run the conversion script.

Usage

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>

Features

  • 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

License

See the LICENSE file.