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


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.0.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.0-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lyriks_video-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 a28830e5e0cbc226393bd93b6af330f60078f52a3679239e9fa1e19695efacbf
MD5 4b405b7f9e4f049f1ccc00c20a43ffdc
BLAKE2b-256 21b59c511bc76935f8ab255920f4c7d1604fc570d12c86bc6c5fd0a29dc5ff1a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lyriks_video-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 20.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8840dc4449df204a97bc0f0c9ec5ff53996f66092eed82422585800ec3bc5d81
MD5 05b114af2ab6d38eb0884c72fa09a712
BLAKE2b-256 4114491536f74132b0c080da24a7ceace48204caf8c3c7c041256f630e4c8497

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