/clap-caption

caption audio by CLAP and dump to JSONL

Primary LanguagePythonCreative Commons Zero v1.0 UniversalCC0-1.0

clap-caption

The clap-caption is a minimal tool for caption sounds by msclap

Installation

  1. Clone repository

    git clone https://github.com/TylorShine/clap-caption
    cd clap-caption
  2. (Optional but recommended) Create and activate your Python environment

    # for example, we use venv
    python -m venv venv
  3. Install dependencies using pip

    pip install -r requirements.txt

Usage

python clap-caption.py <your audio file(s)... or folder(s) include audio file(s)...>

This outputs JSON Line file.
For more options, python clap-caption.py -h

License

CC0

Acknowledgements