Hi guys<br><br>I have a question : why not just pass the good parameters to arecord so that it recors in 8bit, Mono, 8kHz as :<br>arecord -D hw -f S16_LE -t wav -c 1 -r 8000 myfile.wav<br><br>Then we play it with aplay, and this way :<br>
* no need for speex, so the app is more portable<br>* less job to do, so the app consumes less battery<br><br>What do you think ?<br><br><div class="gmail_quote">2009/2/22 Timo Juhani Lindfors <span dir="ltr">&lt;<a href="mailto:timo.lindfors@iki.fi">timo.lindfors@iki.fi</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Charles-Henri Gros &lt;<a href="mailto:charles-henri.gros%2Bopenmoko@m4x.org">charles-henri.gros+openmoko@m4x.org</a>&gt; writes:<br>

</div><div class="Ih2E3d">&gt; arecord -D hw -f cd &nbsp;-v -t raw | speexenc --stereo --rate 44100 --16bit<br>
&gt; --le - a.speex<br>
<br>
</div>Thanks. Speex would prefer 8, 16 or 32 Hz. Were you able to it to work with 32 Hz?<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</div></div></blockquote></div><br>