Amazing-Python-Scripts/Audio-to-Spectrogram at main · dev-elserry/Amazing-Python-Scripts · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

README.md

Audio-Spectrogram

📝 Description

  • This Python script takes an audio file (.wav, .mp3) as an input and draws its Spectrogram (Frequency vs Time)

* The script uses Librosa Library for audio processing and MatPlotLib Library for plotting the graph.

⚙️ How To Use

Navigate to the project directory and run the following commands :

 pip install -r requirements.txt

Replace audio="path" on line 4 with the path to your audio file

 python audio-to-spectrogram.py

Output

output.mp4

Author