speechd-discuss
[Top][All Lists]
Advanced

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

[PATCH] added support for get_playcmd in libao


From: Hynek Hanke
Subject: [PATCH] added support for get_playcmd in libao
Date: Mon, 06 Sep 2010 11:03:14 +0200

> However I have a question concerning generic module.
> Why do we use command line commands like aplay?
> is it not better to read file generated by synth in the generic module 
> and then send it to the audio plugin for play?

The reason we choose this way was to minimize the requirements
on the TTS line command. The generic module is currently very
generic and can be used in many situations. You can compose
the execution line to pass data through a pipe, play them
from a file, or even do some little parsing on them if the command
retrieves other things than raw audio as well. You can also use
synthesizers which only support their own playback by simply
ommiting the play command.

A solution with retrieving the data and using our audio library
would I think either extend requirements on the TTS command
or add complexity in the generic module.

I think it would be better to concentrate on making
the development of native modules as easy as possible.
Currently, there are huge reserves in that :)

Best regards,
Hynek




reply via email to

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