Skip to main content

A package to embed messages into spectrograms

Project description

Spectoconvo

Spectoconvo is a Python package to embed messages into spectrograms.

Installation

You can install the package using pip:

pip install spectoconvo

Usage

Here's an example of how to encode a message using spectoconvo package:

from spectoconvo import add_message_to_spectrogram

sound_file = 'audio.wav'

message = 'Hello, Spectrogram!'

output_file = 'output_spectrogram.png'

output_sound_file = 'output_with_message.wav'

output_spectrogram_file = 'output_with_message_spectrogram.png'

changes_spectrogram_file = 'changes_spectrogram.png'

image_path = 'output_image.png'

add_message_to_spectrogram(sound_file, message, output_file, output_sound_file, output_spectrogram_file, changes_spectrogram_file, image_path)

Here's an example of how to decode a message using spectoconvo package:

from spectoconvo import add_message_to_spectrogram


sound_file_to_decode = 'output_with_message.wav'


image_path = 'output_image_decode.png'

decode( sound_file_to_decode, image_path)

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

spectoconvo-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

spectoconvo-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file spectoconvo-0.1.1.tar.gz.

File metadata

  • Download URL: spectoconvo-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for spectoconvo-0.1.1.tar.gz
Algorithm Hash digest
SHA256 605b218fa99a076cec6e9e2a4877f852ac15595f26e1ceaf4904c384ad15d292
MD5 8d8978972d8fff35e84bb4d7348066e7
BLAKE2b-256 bcc0c4764806899f8d82f09abf2ef12e01166756f9108ae1cff4a325b024416a

See more details on using hashes here.

File details

Details for the file spectoconvo-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: spectoconvo-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for spectoconvo-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 41eac2b7de13e7437c169ddb14771acc545aa5ecf61dd8aa18fa688ad36d4374
MD5 54a91469c5385e8a4fd4314af0c1ec3c
BLAKE2b-256 9f01f574a190886895460622b28ca85b93333328792c3f6fdc27c536a3653288

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