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).

Example

AutoLRC --music-dir "M:\Music" --model "large-v3-turbo" --device "cuda"

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.1.1.tar.gz (1.2 MB 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.1.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: auto_lrc-1.1.1.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for auto_lrc-1.1.1.tar.gz
Algorithm Hash digest
SHA256 5354e8e6ef762b67fcbb1b449ae40d98005628a061499362da2636c658c423bf
MD5 feec8f732facab16144104941f6cd792
BLAKE2b-256 8417db4982a086715cfcea48afd0cd13cd11d0241216a5f595d984b790137cfc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for auto_lrc-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e1c725b04eb614ba7f589f130aad02d1e5737f7994ea40cc671ffa63bef3060
MD5 6edf28ce0949a664d342c40e86998acd
BLAKE2b-256 5c83954356043111dd1703923c84e364269932c2335d7ac2d40e54bf72d316cb

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