Skip to main content

Automated lyrics video generator

Project description

Lyriks

Lyriks is an automated lyrics video generator. It transcribes the audio and automatically creates a video using MoviePy.


Features


Requirements

  • A NVIDIA GPU
  • 10GB of free disk space

Installation

  1. Clone the repository:

    git clone https://github.com/simon0302010/Lyriks.git
    cd Lyriks
    
  2. (Optional) Create a virtual environment:

    python3 -m venv venv
    source venv/bin/activate
    
  3. Install Lyriks:

    pip install .
    

Usage

python -m lyriks generate path/to/song.mp3 path/to/lyrics.json -m WHISPER_MODEL_SIZE -d DEVICE -o OUTPUT_FILE_NAME

Note: This process can take up to 20 minutes on lower end hardware.


TODO

  • Fix up lyrics using Gemini
  • Per-word highlighting in videos
  • Fancier video styles and effects
  • Add more robust error handling

Credits

This project uses Demucs for music vocal separation.

@inproceedings{rouard2022hybrid,
  title={Hybrid Transformers for Music Source Separation},
  author={Rouard, Simon and Massa, Francisco and D{'e}fossez, Alexandre},
  booktitle={ICASSP 23},
  year={2023}
}

@inproceedings{defossez2021hybrid,
  title={Hybrid Spectrogram and Waveform Source Separation},
  author={D{'e}fossez, Alexandre},
  booktitle={Proceedings of the ISMIR 2021 Workshop on Music Source Separation},
  year={2021}
}

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

lyriks_video-0.2.1.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

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

lyriks_video-0.2.1-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file lyriks_video-0.2.1.tar.gz.

File metadata

  • Download URL: lyriks_video-0.2.1.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for lyriks_video-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b3987ac125086b2957c63ea1f52234fdfdfc524cb2058eed65271bc4aac540e7
MD5 39e5688c5f717ad7f0f71a04616995b5
BLAKE2b-256 9b5ce75898e474bc9b6ad7ab9361637f57ebd79a28a61edc4c0f05eb24804802

See more details on using hashes here.

File details

Details for the file lyriks_video-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: lyriks_video-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for lyriks_video-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b1210fcd943c8c6368e8f692344497f21455249de37d74ac58f6ef399b2b387e
MD5 62a3e8c0f3e2914ac757be210a6ca72a
BLAKE2b-256 d15d70384ec7de32fd443a4c656bcb248866a5d7abf9c0c6a476eaa2f820cde9

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