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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

Details for the file soundviewer-1.0.0.tar.gz.

File metadata

  • Download URL: soundviewer-1.0.0.tar.gz
  • Upload date:
  • Size: 56.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for soundviewer-1.0.0.tar.gz
Algorithm Hash digest
SHA256 683f00f418ac47aa911ec98f693780820dc0b53537a9d376cf6167afad5f9478
MD5 e99462ee303003a738a3de4933e62ece
BLAKE2b-256 61dafc36bac24c41edc1ffa01de1636aea5f8f199edf150fc64cde46be5cd31c

See more details on using hashes here.

File details

Details for the file soundviewer-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: soundviewer-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for soundviewer-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3e9004a225eb899daffcc04363c9c8a65c0dfc9ac4427b67bd0627800e44c158
MD5 060731e1edeb5c526cd72e2a80dc6154
BLAKE2b-256 894dcaeaf8db7145c2348fc4b61248295ab3b797330a2e5d709cf7a4cb84eb83

See more details on using hashes here.

Supported by

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