Python package for sound visualization
Project description
Soundviewer
python package for converting sound to image and image to sound.
for now sound to image is only available.
Installation
pip3 install 'git+https://github.com/emingenc/soundviewer.git'
# Or, to install it from a local clone:
git clone +https://github.com/emingenc/soundviewer.git
pip3 install -e soundviewer
Getting Started
run from local clone
cd soundviewer
pip3 install -r requirements.txt
python3 -m soundviewer.sound2image --input sample_data/thermo.wav --show
or
python3 soundviewer/sound2image.py --input sample_data/thermo.wav --show
if you want to save without showing the image, remove --show
use it on your python script
import soundviewer
sound_path = 'sample_data/thermo.wav'
soundviewer.sound2image(sound_path)
here is the output image for sample data thermo.wav
wav source : https://people.math.sc.edu/Burkardt/data/wav/thermo.wav
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
soundviewer-1.0.0.tar.gz
(56.0 kB
view hashes)
Built Distribution
Close
Hashes for soundviewer-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e9004a225eb899daffcc04363c9c8a65c0dfc9ac4427b67bd0627800e44c158 |
|
MD5 | 060731e1edeb5c526cd72e2a80dc6154 |
|
BLAKE2b-256 | 894dcaeaf8db7145c2348fc4b61248295ab3b797330a2e5d709cf7a4cb84eb83 |