A simple stream wrapper for arecord (Linux (including Raspbian)) and sox (Mac, Windows). Returns a Passthrough stream object so that stream control like pause(), resume(), pipe(), etc. are all available.
MIT License
103
stars
61
forks
source link
add bufferFrames and periodFrames options for arecord #34
I decided to use bufferFrames and periodFrames because bufferSize is a pretty much burned word.
Changing periodFrames can reduce the output delay caused by the default buffer and period size of arecord drastically when you are streaming the output e.g. directly via multicast to a speaker.
I decided to use bufferFrames and periodFrames because bufferSize is a pretty much burned word. Changing periodFrames can reduce the output delay caused by the default buffer and period size of arecord drastically when you are streaming the output e.g. directly via multicast to a speaker.