Generate randomized play orders from a given folder of audio files.
Created for the Finnish Dance Organization "Improvisation" competition category music.
Usage: fdo-randomizer [OPTIONS] <INPUT_DIR> [PERMUTATIONS]
Arguments:
<INPUT_DIR> Input directory with audio files to randomize
[PERMUTATIONS] Optional number of randomized orders to generate (default is 1)
Options:
-o, --output <PATH> Optional output root path (default is input path parent dir)
-f, --force Overwrite existing output directories
-v, --verbose Verbose output
-h, --help Print help
-V, --version Print version
Install Rust and then:
./build.sh
./fdo-randomizer --help
Or directly with:
cargo run --release -- --help
cargo run --release -- "input dir" 10
Debug errors:
RUST_BACKTRACE=1 cargo run -- FOLDER 8 --force --output "$HOME/Downloads/IMPRO"
Note
You should probably be using the newer and better Rust version instead.
- Python 3.11+
- click
- colorama
Project is handled by Poetry.
poetry run python randomizer/randomizer.py <input_dir> [num_permutations]