Skip to content

Create spectogram from all audio files in a folder

Notifications You must be signed in to change notification settings

anuj200199/Spectogram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Spectogram

Spectogram represent variation in frequency with respect to time.

Create spectogram from all audio files in a folder

Spectogram

For dataset to work on generating spectogram from audio files, you can refer to the link in the data file inside dataset folder.

To create spectograms of all audio files, i have used an for loop which will take all files from folder containing the audio file. (In my .py file, all files are stored in train/ASVspoof2017_V2_train folder).

To create the spectogram of only one file, remove the for loop and make appropiate changes in the plotstft function inside the for loop.

REFERENCE: http://www.frank-zalkow.de/en/code-snippets/create-audio-spectrograms-with-python.html?i=1

About

Create spectogram from all audio files in a folder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages