From: Gregory Nowak <greg@romuald.net.eu.org>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Subject: Re: software speech problem after latest also upgrade
Date: Tue, 4 Mar 2008 20:37:12 -0700 [thread overview]
Message-ID: <20080305033712.GA8363@localhost.localdomain> (raw)
In-Reply-To: <20080305010636.GA6396@cq.ftml.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Chuck and all.
On Tue, Mar 04, 2008 at 08:06:36PM -0500, Chuck Hallenbeck wrote:
> On my system, a similar problem with software speech followed the
> upgrade of the alsa libraries (libasound2) from 1.0.15 to 1.0.16, and
> takes the form of the disappearance of the first couple hundred
> milliseconds of a wave file played by aplay.
I don't know if libasound2 specifically was one of the packages
upgraded during that upgrade, but if there were some packages with
alsa in their name, it's likely that libasound2 was in that batch as
well. What I can find out, and have found out is that currently, the
libasound2 on my systems is at 1.0.16-1. Having done some testing with wav
files, I do see that a bit of the beginning does seem to be cut on
some, but not on all of them, and when I say all of them, I only mean
those where the sound starts literally playing as soon as the file starts
playing. This doesn't seem limited to aplay only as you mentioned
below, because it also does show up in wav files played by mplayer,
which is also using alsa of course.
> The problem does a real number of software speech with espeak, which is
> made up of numerous very short wave files, so it is more noticeable.
I'm confused here. My impression was that the espeak module (I mean
espeak, not espeak-generic) provided with speech-dispatcher did away
with generating wav files, and espeak send the text to be spoken to
the audio hardware directly, rather than generating a wav file, which
was later played back, as is the case in the espeak-generic module. Am
I wrong on this?
> When you use flite, each wave file produced by that engine contains
> leading and trailing silent periods, which makes it seem more sluggish,
> but protects you from the alsa problem.
That doesn't seem like it is the case. As I said in my previous post,
the problem is less noticeable in flite, but it's still there, it isn't
completely gone.
> I wish I knew how to backtrack to 1.0.15, but that version of the alsa
> libraries is no longer available in the Debian unstable archive.
If the wav file issue is in fact what is causing the problem, then I
would see backtracking to libasound2 1.0.15 as a temporary fix, and
not a desirable one in the long run. I think a better solution would
be to see if it is possible to make espeak generate a few-hundred ms
of silence in wav files it outputs, assuming that the espeak module
still relies on wav files, and that this is the problem.
Thanks for the info Chuck.
Greg
- --
web site: http://www.romuald.net.eu.org
gpg public key: http://www.romuald.net.eu.org/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
- --
Free domains: http://www.eu.org/ or mail dns-manager@EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHzhVo7s9z/XlyUyARArsBAJ9h57oR4IXunZqf6S816JlRtIZcGACdFuFX
eXorYFbdMOv63JUO/nqxcbA=
=znG3
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~ UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
Chuck Hallenbeck
` Chuck Hallenbeck
` Tom Moore
` Gregory Nowak [this message]
` Chuck Hallenbeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080305033712.GA8363@localhost.localdomain \
--to=greg@romuald.net.eu.org \
--cc=speakup@braille.uwo.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).