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]
- IN_BANK is a bank Studio opens: a
.vspatternsfile, a.syxfile or a single pattern. - OUT_BANK is the new bank. An existing file is never overwritten.
- --choice gives the Echo spacing for one part that waits for a choice. SLOT is the memory, 1–10, or
currentfor the current snapshot; PART is 1–10; SPACING is one of1/32,1/16t,1/16,1/8t,1/8,1/8.,1/4,1/2. Repeat --choice for each part. - --dry-run lists what would happen and writes nothing.
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 status | Meaning |
|---|---|
| 0 | Every memory converted, or already in the DataBeat OS 1.1 format, or empty |
| 1 | Something was refused or waits for a choice; the list says what and why |
| 2 | A 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.