Given a lossless audio format (flac or wav), it will plot the pressure waves in the time domain, and frequency components in the frequency domain.
Project description
Requirements
ffmpeg. Check that it's in your path by doingffmpeg -h.
Optional
uv
Usage
Make sure that your input file is a mp3, wav, flac, ogg, etc. If it's not supported, just convert the audio using ffmpeg.
ffmpeg -i audio.m4a audio.mp3
With uvx
uvx --from graph-audio graph-audio -i <input_audio> -o <output_video>.mp4
Enjoy!
About
This is pretty simple, I hard coded the FPS to 30 and the frequency graph could be a bar graph with better scaling in the x-direction (since we're not that sensitive to the higher frequencies).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file graph_audio-0.2.0.tar.gz.
File metadata
- Download URL: graph_audio-0.2.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bf895b9ecf578dbb072db1ebd2947ab3c1a9fe109d5abd7cd72d2b81261ba6b
|
|
| MD5 |
0d6603048a020b7f73a59414fc49dff6
|
|
| BLAKE2b-256 |
2a17edc7bc289a071f5ff368aef0e4a9ff89425daaea73503402942c492d572a
|
File details
Details for the file graph_audio-0.2.0-py3-none-any.whl.
File metadata
- Download URL: graph_audio-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1aa8f5f0b2ba2e59a9be91b4a94e7531abaa45b706fdbe57e169bff5e55948b0
|
|
| MD5 |
fa42b6d07050a387dbad584b9da6c125
|
|
| BLAKE2b-256 |
03ddf1a23afc0e737aa9f59e5840c601fda50059ef04a6807cc8a8a3bc6e718e
|