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'
scale_freq,scale_time=add_message_to_spectrogram(sound_file, message, output_file, output_sound_file, output_spectrogram_file, changes_spectrogram_file, image_path,scale_freq,scale_time)
Edit scale_freq and scale_time to scale the message in the spectrum after running the drfult setting, the defult is to the largest message possibe with the at 20 kHz.
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)
Multiple languages are suported and would like to suport as many as possible so please make an issue for more languages.
Metadata
Release files for spectoconvo 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spectoconvo-0.1.4.tar.gz | 13.0 MB | Without provenance | Details for spectoconvo-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spectoconvo-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for spectoconvo-0.1.4-py3-none-any.whl |
Total release size: 26.1 MB
Release files / spectoconvo-0.1.4.tar.gz
| Download URL | spectoconvo-0.1.4.tar.gz |
|---|---|
| Size | 13.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e54c62ee236578cc180e1f37c142efac022e6eb76da036e59b9049c2fe37882b
|
|
BLAKE2b-256 checksum How to use checksums |
c3e181f79f38abcab336bee1f5cade235413d41e279f6cbc3097a4535a865d66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.11
|
Release files / spectoconvo-0.1.4-py3-none-any.whl
| Download URL | spectoconvo-0.1.4-py3-none-any.whl |
|---|---|
| Size | 13.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ccf906e94d3b8555419817080715d042a63aac300ac162dfd460ac10d81b857
|
|
BLAKE2b-256 checksum How to use checksums |
9c71348e1a25941d32c9b13b8ebdf5a55b0d2eb601bed556b01604876de33c06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.11
|
Security for spectoconvo 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.