[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
volume and the espeak module
From: |
Jonathan Duddington |
Subject: |
volume and the espeak module |
Date: |
Wed, 11 Aug 2010 09:14:15 +0000 (GMT) |
On 11 Aug, Chris Brannon <cmbrannon79 at gmail.com> wrote:
> The header file that comes with the eSpeak library claims that the
> synthesizer's volume setting is in the range 0 to 100, and that's the
> range used by Speech Dispatcher's espeak module. The help document
> for the espeak command-line tool says that the volume is in the range
> 0 to 200, and these values would seem to be the correct ones.
100 is the normal full-volume.
Values greater than 100 may introduce amplitude compression in the
audio data.
I will amend the comment in the speak_lib.h header file.
Generally, you should use a default value of 100, so it's OK to allow a
range of 0 to 200 (or even greater of you use a non-linear scale). You
can probably get to about 400 before distortion becomes a problem.