[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!
- Patch (rather for discussion): sonic and samplerate implementation, Bohdan R . Rau, 2010/12/04
- Patch (rather for discussion): sonic and samplerate implementation, Andrei Kholodnyi, 2010/12/04
- Patch (rather for discussion): sonic and samplerate implementation, Bohdan R . Rau, 2010/12/04
- Patch (rather for discussion): sonic and samplerate implementation, Andrei Kholodnyi, 2010/12/05
- Patch (rather for discussion): sonic and samplerate implementation,
Bohdan R . Rau <=
- Patch (rather for discussion): sonic and samplerate implementation, Bohdan R . Rau, 2010/12/06
- Patch (rather for discussion): sonic and samplerate implementation, Andrei Kholodnyi, 2010/12/06
- Patch (rather for discussion): sonic and samplerate implementation, William Hubbs, 2010/12/06
- Patch (rather for discussion): sonic and samplerate implementation, Andrei Kholodnyi, 2010/12/06
- Patch (rather for discussion): sonic and samplerate implementation, Tomas Cerha, 2010/12/06
- Patch (rather for discussion): sonic and samplerate implementation, Bohdan R . Rau, 2010/12/07
- Patch (rather for discussion): sonic and samplerate implementation, Bohdan R . Rau, 2010/12/07
- Patch (rather for discussion): sonic and samplerate implementation, Andrei . Kholodnyi, 2010/12/08
- Patch (rather for discussion): sonic and samplerate implementation, Bohdan R . Rau, 2010/12/06