speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with new module


From: Bohdan R . Rau
Subject: Problem with new module
Date: Fri, 28 Dec 2007 08:31:00 +0100

Hi!

I try to write module for Ivona (commercial Polish synthesizer). The
very first version of module works good, but there is one big problem:

Ivona has very good voice quality, but is very slow, so it's not a good
idea to catch the full wave before playing. I noticed there is no
possibility with speechd builtin audio functions to play wave while
reading so I used libao for audio output - but I don't think it's a good
solution.

Is this possible to write code like:

audio_open();
while ((size=read(socket,buffer,BUFSIZE))>0) {
        /* check for stop, pause or sth */
        play_audio_part(buffer,size);
}
audio_close();

using only builtin speechd functions?

Bohdan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]