Vita/examples/multiprocessing_presets/README.md
2025-02-13 14:21:57 -05:00

736 B

Vita - Multiprocessing

This script demonstrates how to use multiprocessing to efficiently generate one-shots. The number of workers is by default multiprocessing.cpu_count(). Each worker has a persistent synthesizer instance. Each worker consumes paths of presets from a multiprocessing Queue. For each preset, the worker renders out audio for a configurable MIDI pitch range. The output audio path includes the pitch and preset name.

Example usage:

python main.py --preset-dir "path/to/vital_presets"

To see all available parameters:

python main.py --help