SeeWav: animation generator for audio waveforms
SeeWav can generate some nice animations for your waveform. For a demo, click on the image:
Installation
You will need Python 3.7.
You will need ffmpeg installed with codec support for libx264 and aac.
On Mac OS X with Homebrew, run brew install ffmpeg, on Ubuntu sudo apt-get install ffmpeg.
If you are using Anaconda, you can also do conda install -c conda-forge ffmpeg.
pip3 install seewav
Usage
seewav AUDIO_FILE [OUTPUT_FILE]
By default, outputs to out.mp4. Available options:
usage: seewav [-h] [-r RATE] [--stereo] [-c COLOR] [-c2 COLOR2] [--white]
[-B BARS] [-O OVERSAMPLE] [-T TIME] [-S SPEED] [-W WIDTH]
[-H HEIGHT] [-s SEEK] [-d DURATION]
audio [out]
Generate a nice mp4 animation from an audio file.
positional arguments:
audio Path to audio file
out Path to output file. Default is ./out.mp4
optional arguments:
-h, --help show this help message and exit
-r RATE, --rate RATE Video framerate.
--stereo Create 2 waveforms for stereo files.
-c COLOR, --color COLOR
Color of the bars as `r,g,b` in [0, 1].
-c2 COLOR2, --color2 COLOR2
Color of the second waveform as `r,g,b` in [0, 1] (for
stereo).
--white Use white background. Default is black.
-B BARS, --bars BARS Number of bars on the video at once
-O OVERSAMPLE, --oversample OVERSAMPLE
Lower values will feel less reactive.
-T TIME, --time TIME Amount of audio shown at once on a frame.
-S SPEED, --speed SPEED
Higher values means faster transitions between frames.
-W WIDTH, --width WIDTH
width in pixels of the animation
-H HEIGHT, --height HEIGHT
height in pixels of the animation
-s SEEK, --seek SEEK Seek to time in seconds in video.
-d DURATION, --duration DURATION
Duration in seconds from seek time.
Metadata
Release files for seewav 0.1.1
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 |
|---|---|---|---|---|
| seewav-0.1.1.tar.gz | 7.4 kB | Without provenance | Details for seewav-0.1.1.tar.gz |
Release files / seewav-0.1.1.tar.gz
| Download URL | seewav-0.1.1.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b152ef2ed72ad191d6def38b808c1ac8a4a1e5e71fb55635b4a4b49b3c1e310e
|
|
BLAKE2b-256 checksum How to use checksums |
3ce1e30cb5abb110beaacd6dc69409586af6c4b3a997b410593a8df473221dd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Security for seewav 0.1.1
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.