[Debian]Voice recorder - ecasound --> Help

Charles-Henri Gros charles-henri.gros+openmoko at m4x.org
Sun Feb 22 03:47:52 CET 2009

Timo Juhani Lindfors wrote:
> Charles-Henri Gros <charles-henri.gros+openmoko at m4x.org> writes:
>> In this case I suggest using something like
>> arecord -f S16_LE -r 44100 | speexenc - a.speex
> I was going to suggest it too but it does not work:

I looked into it.
What I did to get it to work:
arecord -D hw -f cd  -v -t raw | speexenc --stereo --rate 44100 --16bit
--le - a.speex

You need to match the params exactly as the "raw" format doesn't
transmit them (and speexenc apparently can only accept raw data as stdin)


More information about the community mailing list