Skip to main content

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

sound to image

wav source : https://people.math.sc.edu/Burkardt/data/wav/thermo.wav

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

soundviewer-1.0.0.tar.gz (56.0 kB view hashes)

Uploaded Source

Built Distribution

soundviewer-1.0.0-py2.py3-none-any.whl (15.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page