Skip to main content

tools for frequency domain analysis of audio.

Project description

about

prism is a command-line tool converting between audio and image representations of frequency intensity over time.

a spectrogram is a visual representation of the frequency "spectra" of a signal over time. they are useful for a wide range of audio analysis. this tool was created to study the characteristics of PZT crystals as chaotic dynamical systems and their application in reservoir computing.

this frequency-domain decomposition is somewhat intuitive given that humans percieve sound in the frequency-intensity domain [1].

usage

to convert a .WAV file into a frequency-domain, image representation, run encode.py:

$ python3 encode.py example.wav spectrogram.bmp

to convert a .BMP image into a reconstructed .WAV file, run decode.py:

$ python3 encode.py spectrogram.bmp reconstructed.wav

further command line parameters can be found by passing the --help flag to either python program.

citations

[1] "The Effects of Noise on Man", Karl D. Kryter. Academic Press (1970). page 4.

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

freaky-1.0.0a1.tar.gz (729.8 kB view details)

Uploaded Source

Built Distribution

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

freaky-1.0.0a1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file freaky-1.0.0a1.tar.gz.

File metadata

  • Download URL: freaky-1.0.0a1.tar.gz
  • Upload date:
  • Size: 729.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.7

File hashes

Hashes for freaky-1.0.0a1.tar.gz
Algorithm Hash digest
SHA256 dcbd74bcec30acb8dbd589d8d7cf2f71925e608fd94058318605103cf1dc2f1f
MD5 427bef98959deb7c7ef1fb048880f8c0
BLAKE2b-256 44131f65e5cd076e0d2b0d3af119b43cb40e19c573125cb9612fabcf38b7f8ae

See more details on using hashes here.

File details

Details for the file freaky-1.0.0a1-py3-none-any.whl.

File metadata

  • Download URL: freaky-1.0.0a1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.7

File hashes

Hashes for freaky-1.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 bdeefb7051ceca980f351da01a0916539ce9fdd254735b24b2238add8251ee14
MD5 e6defa74ca93d67a4b8bfa6b3c2022cb
BLAKE2b-256 dd2ee506e14a1b33ab1849945457db0877f42ed7da1b15b8b4a62ced99ee4c4e

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