speechd-discuss
[Top][All Lists]
Advanced

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

Patch (rather for discussion): sonic and samplerate implementation


From: Bohdan R . Rau
Subject: Patch (rather for discussion): sonic and samplerate implementation
Date: Mon, 06 Dec 2010 10:29:45 +0100

On Mon, 6 Dec 2010 00:24:27 +0100, Andrei Kholodnyi
<andrei.kholodnyi at gmail.com> wrote:
[...]
> Since Bill has proposed to integrate libsonic,
> I'd say the first step would be to grab sonic src and put it under
> e.g. src/libs/sonic

I don't think it's good idea.
For me: libraries which may be used out of speech-dispatcher should be
shipped separately. But of course it should be possible to build these
libra


> 
> The next step would be to add sonic (rate) support to spd.
> 
> Sonic functionality shall be generic to all modules, i.e. I do not
> expect any modifications in ivona.c,
> but rather in module_utils.c.
> For those modules that do not provide a rate change it shall be called
> constantly
> and for the modules which supports it, it shall be some criteria when
> this function shall be called,
> E.g. it shall be called when people want to listen 3.5X rate.
> However for that we need a little bit more coding, e.g. provide
> absolute rate to the apps,
> or calculate it internally based on min/max rate module settings.
> 
> Function spd_audio_effect you have implemented should probably pass
> AudioTrack instead of samples.
> 
> Then we can apply pitch settings. However we need some modifications
there.
> At the moment source code just flooded with #ifdef HAVE_SAMPLERATE
> 
> I'm not sure about a contract, how can we control it from speechd API?
> 
> _______________________________________________
> Speechd mailing list
> Speechd at lists.freebsoft.org
> http://lists.freebsoft.org/mailman/listinfo/speechd

-- 
http://milena.polip.com/ - Pa pa, Ivonko!



reply via email to

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