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

Uploaded Python 3

File details

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

File metadata

  • Download URL: visound-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 b35be969b0cff88f73efc267ab243953e070695ccca0747623f8f44e85b5f829
MD5 5483d2df304fd6cd93c96df6bb91241e
BLAKE2b-256 8355b297fd094a5f0a271deac05d047ffa65e095545fa1227a18a036ff62fddd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: visound-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b5581153ee682ed8fcc62129a7e1e05f0f2c773fa7358c547a2a22200f6f6305
MD5 f95d2118f4949360ab0f39a213c3810d
BLAKE2b-256 e32d374d85abf8f6121042d2fdceb6c54867d584dddeca58f927c9b47ed24335

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