Skip to main content

A library to sonify images using Python

Project description

ViSound

Library to convert images to sounds.

Refer to the wiki here

Introduction

This is just a standalone library for use in other programs that can make use of ViSound capabilities. On it's own ViSound doesn't do anything. You have to use it in some way to get the output and play the audio yourself.

Installation

ViSound can be installed using pip:

pip install visound

Features

  • Sonify images in a number of different ways
  • Output the audio to a file or stdout
  • Apply effects

Traversal Modes

You can traverse the given input images in different ways to get different audio output. The following modes are currently supported.

  • Left To Right
  • Right to Left
  • Top to Bottom
  • Bottom to Top
  • Circle Inward
  • Circle Outward

Usage

visound <path to an image> --play --verbose

Dependencies

  • numpy
  • opencv-python
  • sounddevice
  • soundfile

TODO

  • Traversal
    • Left to Right
    • Right to left
    • Top to bottom
    • Bottom to top
    • Circular inward
    • Circular outward
  • Apply effects to the output audio
  • Allow for custom pixel to frequency mapping
  • CLI client
  • Machine learning to apply effects and custom image traversal

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

visound-0.1.6.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

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

visound-0.1.6-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file visound-0.1.6.tar.gz.

File metadata

  • Download URL: visound-0.1.6.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for visound-0.1.6.tar.gz
Algorithm Hash digest
SHA256 61841499f40533826c18619e55c78459520ede1064ad1b9cb0e661d0dcf977f3
MD5 f29ffb356161bf9b994130cc185b2e59
BLAKE2b-256 2ce0d172e97816dcfb7984cf98d813620dab8a675cfe0899323ad9c0f6afceee

See more details on using hashes here.

File details

Details for the file visound-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: visound-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for visound-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3299daee82b3407311ad8aa48aa9ee95729abeb6c313ac58de02278878d89a0d
MD5 5df05d2774ba9a8547b0bdcd4e7fe963
BLAKE2b-256 d8becac6af2421a6e6e5b5f2c6d77ca63de248d6d9da8d4b93650ab087936bd7

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