Crates.io | volsa2-cli |
lib.rs | volsa2-cli |
version | 0.1.0 |
source | src |
created_at | 2023-02-28 18:54:40.922688 |
updated_at | 2023-02-28 18:54:40.922688 |
description | Command line tool to manage samples on KORG Volca Sample 2 over ALSA |
homepage | |
repository | https://github.com/00nktk/volsa2 |
max_upload_size | |
id | 797412 |
size | 86,678 |
Volsa 2 is a simple command line sample manager for KORG Volca Sample 2 that works over ALSA MIDI sequencer. It can list, upload, download and remove samples via USB.
This project is in early alpha stage. Use it at your own risk.
To build and install volsa2-cli you need alsa-lib and Rust 1.64.0 or higher. The most convenient
way is to use cargo install
command:
cargo install volsa2-cli
This way the binary will end up in your $HOME/.cargo/bin
(or $CARGO_HOME/bin
). Make sure to add it to your $PATH
.
Otherwise you can clone the repository and build it.
git clone https://github.com/00nktk/volsa2
cd volsa2
cargo build --release
Use --help
to print command description and available options.
volsa2-cli <command> --help
ls
)volsa2-cli list
This command lists samples loaded into Volca Sample 2 memory. Use -a
/--show-empty
flag to include empty slots in the output.
dl
)volsa2-cli download <sample-no>
This will download sample from slot <sample-no>
. You can specify output path via -o
/--output
. By default the sample is saved in the working directory named the same way as on the device.
up
)volsa2-cli upload <path-to-sample> [<sample-no>]
Loads a sample from <path-to-sample>
into <sample-no>
slot. If no <sample-no>
is specified, will use the first empty slot. Sample is converted to 31.25kHz mono. Currently only WAV files are supported.
Volsa2 will offer you to backup the sample if the desired slot is occupied.
-m
/--mono-mode
- Lets you choose which channel to use as mono. Available options are: left
, right
, mid
, side
. Default is mid
(mono mix).-o
/--output
- If specified, will save converted audio at the provided path.--dry-run
- Convert the sample, but do not load it into the device.rm
)volsa2-cli remove <sample-no>
Erases sample at slot <sample-no>
from the device memory. Use -p
/--print-name
if you want to print the name of the sample.