3 releases
0.1.2 | Nov 28, 2020 |
---|---|
0.1.1 | Nov 28, 2020 |
0.1.0 | Nov 28, 2020 |
#1015 in Audio
22KB
735 lines
1010music-blackbox-presetgen
Preset file generator for the 1010music Blackbox. This program dramatically decrease the amount of time required to assemble sample packs for this sampler.
Usage:
- Put 16 WAV files in a directory.
- From that directory, run this:
$ blackbox-presetgen > preset.xml
$ head preset.xml
<?xml version="1.0" encoding="UTF-8"?>
<document>
<session>
<cell row="0" column="0" layer="0" filename=".\BD Hifi 1.wav" type="sample">
<params gaindb="0" pitch="0" panpos="0" samtrigtype="0" loopmode="1" loopmodes="0" midimode="0" midioutchan="0" reverse="0" cellmode="0" envattack="0" envdecay="0" envsus="1000" envrel="130" samstart="0" samlen="7119" loopstart="0" loopend="107283" quantsize="3" synctype="5" actslice="1" outputbus="0" monomode="0" slicestepmode="0" chokegrp="0" dualfilcutoff="0" rootnote="0" beatcount="0" fx1send="0" fx2send="0" multisammode="0" interpqual="0" playthru="0" slicerquantsize="13" slicersync="0" padnote="0" loopfadeamt="0" grainsize="0" graincount="3" gainspreadten="0" grainreadspeed="1000" recpresetlen="0" recquant="3" recinput="0" recusethres="0" recthresh="-40000" recmonoutbus="0"/>
<modsource dest="gaindb" src="midivol" slot="2" amount="1000"/>
<modsource dest="panpos" src="midipan" slot="2" amount="1000"/>
<modsource dest="gaindb" src="velocity" slot="0" amount="400"/>
<slices/>
</cell>
- Copy the whole directory to the
Presets/
directory of your Blackbox's SD card. - Make music!
Installation
- Install the Rust language
- Run:
cargo install blackbox-presetgen
Dependencies
~1.8–2.5MB
~47K SLoC