Metadata-Version: 2.1
Name: spectoconvo
Version: 0.1.0
Summary: A package to embed messages into spectrograms
Home-page: https://github.com/Mitchell-Gerrard/spectoconvo
Author: Mitchell Gerrard
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: matplotlib
Requires-Dist: Pillow
Requires-Dist: scikit-image

# Spectoconvo

Spectoconvo is a Python package to embed messages into spectrograms.

## Installation

You can install the package using pip:

```sh
pip install spectoconvo
```

## Usage

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

```python
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:
```python
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)

```
