dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: speex

Re: speex

From: Thom Johansen <>
Date: Mon, 19 Nov 2007 18:25:19 +0100

kim wrote:
> Hi everyone,
> I just wanted to thank people for their work on speex. My sansa e280
> response time is faster than with mp3 clips, and he yes option works
> flawlessly. The only question is: is it possible to change the quality
> setting with cygwin, and if so, how is it done?
> Thanks for an excellent job,
> Kim

I'm not familiar with all the ways of generating voice files, but
sooner or later, you should be prompted with encoder flags.
For the Rockbox Speex encoder, there are only two, and both
are really simple. You have "-q" (without quotes, of course) which
sets voice file quality, and needs a number in the range 0-10
following it. 0 gives the worst quality and smallest size, 10 the
best quality and biggest size. "-q 4" is the default.

Then there is "-c", which trades encoding time off for quality, but
this time at roughly the same file size. In other words, if you're
willing to wait a bit longer, you'll get better quality clips at
no file size cost. This one also needs a number in the range 0-10
following it. "-c 10" is the default, giving the best quality.

In the near future I will commit an update to the encoder that
also allows a "-n" flag. This will use Speex narrowband mode,
using a sample rate of 8 kHz. Most people should continue to
use the current 16 kHz wideband mode for its superior quality,
but if you're really serious about wanting your voice files as
small as possible, this will help you with that :)

Received on 2007-11-19

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy