Skip to content

Slice is a python program to automatically cut audio files into smaller duration clips. The program automatically avoids cutting in-between words to get clips with whole sentences, better for training Natural Language Processing models.

Notifications You must be signed in to change notification settings

divij-pawar/slice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Slice

Slice is a python program to automatically cut audio files into smaller duration clips. The program automatically avoids cutting in-between words to get clips with whole sentences, better for training Natural Language Processing models.

Installation

pip install -r requirements.txt

Usage

One command line argument for folder name example:

$ python3 slice.py audio

Enter the wav file inside the directory

$ Enter Filename: speech
  Address: audio/speech.wav

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

Slice is a python program to automatically cut audio files into smaller duration clips. The program automatically avoids cutting in-between words to get clips with whole sentences, better for training Natural Language Processing models.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages