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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spectoconvo-0.1.0.tar.gz.
File metadata
- Download URL: spectoconvo-0.1.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47c48fddac1ec427e549820acb302652095c502bad196b1c935acb078a037171
|
|
| MD5 |
a6993c048e5e328a59238846456bf0fe
|
|
| BLAKE2b-256 |
f188f7daa5c55c9c620515e0fa12c71ef9deecf959cf534ac61560cf87d4c88c
|
File details
Details for the file spectoconvo-0.1.0-py3-none-any.whl.
File metadata
- Download URL: spectoconvo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fa8f37a20b466fc7aaa55c00ac5b0d9539d7f0eee138d19fcf065aa367c9a10
|
|
| MD5 |
f6a67b41ec10a5771735af8229d11c43
|
|
| BLAKE2b-256 |
02815b5997d99afb43d01c5e34127e910facd543558ae3550152fa8e02c13461
|