DataBeatDataBeat · VolcaStudio XL

Converting from the command line

The conversion of converting your patterns also runs from a terminal, in a copy of Studio's source code. The app packages do not include this command.

python -m volcastudio.convert IN_BANK OUT_BANK [--choice SLOT:PART=SPACING ...] [--dry-run]

Example

Memory 3 of my-patterns.vspatterns has part 2 on the dotted 1/4 spacing:

python -m volcastudio.convert my-patterns.vspatterns my-patterns-1.1.vspatterns --dry-run
python -m volcastudio.convert my-patterns.vspatterns my-patterns-1.1.vspatterns --choice 3:2=1/4

The first command lists every memory with its source and result, and for memory 3 the --choice to complete, with the spacings on offer. The second writes the new bank with part 2 of memory 3 on 1/4.

Results

Exit statusMeaning
0Every memory converted, or already in the DataBeat OS 1.1 format, or empty
1Something was refused or waits for a choice; the list says what and why
2A usage error: wrong arguments, a bank Studio cannot read, a choice that is not asked for or not offered, or an OUT_BANK that already exists

Without --dry-run, OUT_BANK is written when at least one memory converts, with status 0 or 1: refused memories and memories waiting for a choice go into it unchanged. When no memory converts, the command writes nothing and says so, as the apps do.

← VolcaStudio XL