Skip to content
/ ripcut Public

Save a PCM audio stream into silence-delimited sub-streams as FLAC

License

Notifications You must be signed in to change notification settings

ffigiel/ripcut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ripcut

Save a PCM audio stream into silence-delimited sub-streams as FLAC.

Currently ripcut is hard-coded to work with a specific PCM format. Most parameters can be adjusted by modifying the config variable in main.go and running go build.

Support for custom sample size / number of channels requires more work.

Usage

git clone https://github.com/megapctr/ripcut
cd ripcut
go build

# using a file as input
./ripcut < path/to/your/stream.pcm

# using parecord - see `rec.sh` for details
parecord [options] | ./ripcut

Sub-streams will be saved as stream_*.flac

About

Save a PCM audio stream into silence-delimited sub-streams as FLAC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published