#preset #black-box #sampler #sample #amount #wav #1010music

app blackbox-presetgen

A CLI tool for packaging presets for the 1010music Blackbox sampler

3 releases

0.1.2 Nov 28, 2020
0.1.1 Nov 28, 2020
0.1.0 Nov 28, 2020

#8 in #preset

Custom license

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:

  1. Put 16 WAV files in a directory.
  2. 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>
  1. Copy the whole directory to the Presets/ directory of your Blackbox's SD card.
  2. Make music!

Installation

  1. Install the Rust language
  2. Run: cargo install blackbox-presetgen

Dependencies

~1.7–2.4MB
~45K SLoC