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.4.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.4-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: visound-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 0f235ff2d70d91cff0045d0a15137aaa4eb029948f1807734e59696dcbcb0cc2
MD5 fec8e2cf8889cd8cdf010a8357392bb2
BLAKE2b-256 b9cef6c96f74269648ff7d3f72f6b6524d6dd1ba4b527e30b9a9ab4747912b48

See more details on using hashes here.

File details

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

File metadata

  • Download URL: visound-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c207375f8177b292d16f8b81497c8cd6b6f0660b7e84dfadb7b0f589add99fa7
MD5 a9f4434ef37e4d84b2ab8660229f202d
BLAKE2b-256 fd59875f2c000d890a4747c5d7876d9c41b4e7871c54eaa83611270de1ecfd7b

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