splitting a file with silence
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 540
- Forks
- 83
- PR merge metrics
- No merged PRs in 30d
Description
One typical use case for me is to split a file using the silence effect as outlined in this excellent sox tutorial https://madskjeldgaard.dk/posts/sox-tutorial-split-by-silence/
sox input.wav clip.wav silence 1 0.1 1% 1 0.1 1% : newfile : restart
gives "clip001.wav", "clip002.wav" etc. with only the audio in clip and without the silence in between.
Is it possible to do this in pysox (and apply a fade-in and fade-out to each resulting clip)?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the SoX command and tutorial linked in the issue, then inspect pysox's documented support for silence splitting, new-file output, restarting, and fades. Done means exposing an equivalent way to create separate silence-free clips with fade-in and fade-out applied to each clip.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- audio-video-rtc
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100