Using arecord is way more performant than rec (from sox) on linux machines, especially those that are low powered like the Pi and the CHIP. This PR exposes the recordProgram parameter to allow users to specify the recording program of their choice.
To avoid a breaking change, Sonus defaults to 'rec' - also supports 'arecord' and 'sox'.
Using
arecord
is way more performant thanrec
(fromsox
) on linux machines, especially those that are low powered like the Pi and the CHIP. This PR exposes therecordProgram
parameter to allow users to specify the recording program of their choice.To avoid a breaking change, Sonus defaults to 'rec' - also supports 'arecord' and 'sox'.
Usage:
Hooray choices! 🚀