Convert images to wav audio files to view in a spectrogram
Project description
img2wav is a simple command line utility to convert image files into audio clips suitable for display in a spectrogram. Multiple images can be specified to create a scrolling display.
Installation
img2wav can be installed from pip:
pip3 install img2wav
Usage
img2wav provides a simple command line interface to generate wav files. It’s relatively easy to tune parameters for waveform generation, allowing you to optionally specify the delay between images, center frequency, image bandwidth, and output file samplerate.
$ img2wav -o res/hackers.wav res/images/* [*] Writing wav file: res/hackers.wav [*] Center frequency: 2750hz [*] Bandwidth : 4000hz [*] Sample rate : 11025hz [*] Delay : 2000ms [*] Processing: res/images/glider.png [*] Processing: res/images/hackers.bmp [*] Processing: res/images/hacktheplanet2.bmp [*] Processing: res/images/hacktheplanet.jpg [+] Done
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size img2wav-0.1.2-py3-none-any.whl (5.4 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size img2wav-0.1.2.tar.gz (3.7 kB) | File type Source | Python version None | Upload date | Hashes View |