Skip to main content

Generate LRC files for your music using openai's whisper

Project description

AutoLRC

AutoLRC is a command-line that generates lyric files (.lrc) for your music locally using OpenAI's Whisper model.

Installation

Install AutoLRC with pip

pip install auto-lrc

AutoLRC depends on FFmpeg to be installed

Usage

CLI

AutoLRC --help

Note: the CLI may be slow to start as it has to import big packages.

Options

  • --music-dir: Path to the directory containing your music files.
  • --model: Whisper model to use for transcription (default: turbo).
  • --device: Device to run the transcription on (cpu, cuda, or default: auto).

GPU Support

  • Currently GPU support is only available Nvidia GPUs.
  • CUDA 12.6 installed. (Other versions may work fine)

Development

AutoLRC is built with UV

  1. Clone the repository:
git clone https://github.com/HeavyLvy/auto-lrc
  1. Setup project:
uv sync

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

auto_lrc-1.0.2.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

auto_lrc-1.0.2-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file auto_lrc-1.0.2.tar.gz.

File metadata

  • Download URL: auto_lrc-1.0.2.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for auto_lrc-1.0.2.tar.gz
Algorithm Hash digest
SHA256 dfd052fa76c5641b4c6d448ac8be0dfd79c5b8d0f352b6ed4e70fb74090e4641
MD5 59049f3cfa0dc4ca94a40be382276b28
BLAKE2b-256 42c7e84867260ff0e4811fbd6f42996c536592efe7fff1e9c2fce7e0e8f64ee3

See more details on using hashes here.

File details

Details for the file auto_lrc-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: auto_lrc-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for auto_lrc-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ef9c8dd628ba078b3adba3e2166adf307786cf0638569a1badfdf1045234fc16
MD5 4e2426f51541f735402f6601296d084e
BLAKE2b-256 1be12a2cfdd81c49d439dc8125886c2cb97bf8b4e47dca94ffd6187b0e2c3980

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page