WaveScout
WaveScout is a lightweight Python library for quickly analyzing the tempo and key of audio files and slicing them into smaller segments based on measures.
Features
- Analyzes tempo (BPM) and key of audio files
- Generates beat maps for audio files
- Slices audio files into smaller segments based on measures
- Exports plaintext beat map files and audio slices as a zip file
- Supports processing multiple audio files in a directory
Installation
You can install WaveScout using pip:
pip install wavescout
Dependencies
- numpy
- aubio
- pydub
Usage
Here's a simple example of using WaveScout:
from wavescout import WaveScout
# Analyze the audio file
scout = WaveScout("path/to/your/audio_file.mp3")
# Export the beat map to a plaintext file
scout.export("beat_map.txt")
# Export the audio slices to a zip file
scout.export("slices.zip", export_slices=True)
You can also use WaveScout to analyze and process multiple audio files in a directory:
from wavescout import WaveScoutFactory
factory = WaveScoutFactory("path/to/your/audio_files_directory")
maps = factory.create_maps()
for map in maps:
map.export(f"{map.input_file_basename}_beat_map.txt")
map.export(f"{map.input_file_basename}_slices.zip", export_slices=True)
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for wavescout 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wavescout-0.1.0.tar.gz | 3.6 kB | Without provenance | Details for wavescout-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wavescout-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for wavescout-0.1.0-py3-none-any.whl |
Total release size: 8.0 kB
Release files / wavescout-0.1.0.tar.gz
| Download URL | wavescout-0.1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75b0ccd4e04ee3b38081a2ecbff9b8d838b3f39c3cf0a8bf62ce9e511e79ec6e
|
|
BLAKE2b-256 checksum How to use checksums |
0d1dee9755657f735a09a2f5adfaa212b070c90a649eba27a42ca6fedb20ca49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Release files / wavescout-0.1.0-py3-none-any.whl
| Download URL | wavescout-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d2379180f9bedd5913984e715358b46efd614b8e6d1c2ec859646ab652415b4
|
|
BLAKE2b-256 checksum How to use checksums |
23b445c682b3e41fa3170de876860ebb9f0e36103091570b93ce7c741431c511
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Security for wavescout 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.