Skip to content

sargismm/AudioLabeling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Imagine you have a folder with audio files and you want to label them as noisy / clean.

You need to write a script that will play the audio files one by one, after playing each file wait for user input - ‘n’ (for noisy) or ‘c’ (for clean). Once the appropriate key is pressed proceed to the next file. Once all the files are processed export a json file where you have the file names and corresponding labels.

To run audio_labeling.py file:

pip install playsound

if

   Error 263 for command:

   open Typing.wav
    
   The specified device is not open or is not recognized by MCI.

appears do the following:

pip uninstall playsound

pip install playsound==1.2.2

About

Labeling audio files based on user input

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages