Skip to content

v3.0.0: pipeline package

Choose a tag to compare

@jotapemj jotapemj released this 16 Nov 14:57
· 2 commits to main since this release

Pipeline package

The audio pipeline is the fision package, separate from the server
(fision_server):

Module Role
fision.pipeline Orchestrates a job: metadata, separation, beats, chords, metronomes
fision.separate Stem separation (audio-separator model chain)
fision.chords Chord recognition (BTC), smoothed to the beat grid
fision.lyrics_cli Lyrics transcription (Whisper)

Command line

Run from the repository root, with the virtual environment active:

python -m fision <input_audio> <output_dir> [config.json] [--device cpu|cuda]
python -m fision <input_audio> [config.json] --save-server
python -m fision.lyrics_cli <vocals.flac> <output_dir> [language]

FISION_CLI and FISION_LYRICS_CLI default to these commands. The server
runs them with the repository root on PYTHONPATH, so its working directory
does not matter.

The HTTP API, the clients and the library format are unchanged.

Upgrading

git pull
docker compose pull && docker compose up -d

Native install: after git pull, run python -m fision_server.prefetch.