LucaBobbioDev / python-espectrograma

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spectrogram Generator

Convert audio files into aesthetic spectrograms. This tool allows you to generate a single image or a video of the spectrogram being built as the audio plays along.

Spectrogram Example

Structure

  • main.py: Class with methods to generate the spectrogram.
  • plot_utils.py: Utility functions for plotting.
  • utils.py: Miscellaneous utility functions.
  • example.ipynb: Notebook with various examples for image and video generation.
  • example_dimensions_finetune.ipynb: Specific example for those who want to save the image with a specific ratio and pixel dimensions (e.g., for printing).
  • data/: Some data for musical scales.
  • songs/: Example songs.

How to Use

Use the example.ipynb as a reference to make your own spectrogram.

Contributing

Contributions are welcome!

License

Distributed under the MIT License. See LICENSE for more information.

About

License:MIT License


Languages

Language:Jupyter Notebook 97.0%Language:Python 3.0%