Skip to main content

Audio highlight extractor using chroma and energy analysis

Project description

highlight_extractor

🎧 A Python package to extract highlight segments from songs using chroma repetition and energy analysis.

Features

  • Detects repeated musical segments via chroma similarity
  • Combines with energy-based peak detection
  • Filters out intro/outro noise and fade-outs
  • Outputs the most suitable highlight section (default 15s)

Installation

From GitHub

pip install git+https://github.com/yourusername/highlight_extractor.git

🧱 Project Structure

highlight_extractor/
├── highlight_extractor/
│   ├── __init__.py
│   └── core.py
├── examples/
│   └── run_example.py
├── setup.py
├── pyproject.toml
├── requirements.txt
├── README.md
└── LICENSE

⚙️ Dependencies

  • librosa
  • numpy
  • scipy
  • pydub

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

✨ Author

  • Developed by Marohan Min
  • GitHub: @marohan

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

highlight_extractor-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

highlight_extractor-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file highlight_extractor-0.1.0.tar.gz.

File metadata

  • Download URL: highlight_extractor-0.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.7

File hashes

Hashes for highlight_extractor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 05936bd350c16e9e24041acb65a33f5ea87154f4c05ccda1dfd86edf4eb50b26
MD5 301b7c50e534596c56f4bfae47f9c609
BLAKE2b-256 192bcdfbe970e5d8777d84198cf5297a99c5abb496035b1b884fa49b4580b3f8

See more details on using hashes here.

File details

Details for the file highlight_extractor-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for highlight_extractor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86abad65b915673a72e6c857387c1d9760ea035aef08152b5a14fa8cf76c107e
MD5 b49b89279c68695a7cd6c9b5c52f307b
BLAKE2b-256 c42528a5fd3f8bc5209daf1316b0eba8501b10b9d1dd0dc5c6dafdbf41ce5e7d

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