Re: [music-dsp] WSOLA on RealTime

2018-10-03 Thread Alex Dashevski
Hi, Could you tell me how to use soundTouch API if I want only to do resampling ? I mean: convert from 48Khz to 8Khz or 8Khz to 48Khz I guess that setRate with SETTING_USE_AA_FILTER. What length should put ? I talk about https://gitlab.com/soundtouch/soundtouch/tree/master/source/SoundTouch

Re: [music-dsp] Resampling

2018-10-03 Thread Spencer Jackson
I have only used libraries for resampling myself. I haven't looked at their source, but it's available. The two libraries I'm aware of are at http://www.mega-nerd.com/SRC/download.html and https://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html perhaps they can give you some

Re: [music-dsp] Resampling

2018-10-03 Thread Alex Dashevski
I wrote on android ndk and there is fastpath concept. Thus, I think that resampling can help me. Can you recommend me code example ? Can you give me an example of resampling ? for example from 48Khz to 8Khz and 8Khz to 48Khz. I found this: https://dspguru.com/dsp/faqs/multirate/resampling/ but it

Re: [music-dsp] Resampling

2018-10-03 Thread Spencer Jackson
On Wed, Oct 3, 2018 at 3:17 AM Alex Dashevski wrote: > > if I do resampling before and after processing. for example, 48Khz -> 8Khz > and then 8Khz -> 48Khz then will it help ? > Lowering sample rate can help achieve lower latencies by giving you fewer samples to process in the same amount of

[music-dsp] Resampling

2018-10-03 Thread Alex Dashevski
Hi, I use a sample rate :48Khz and buffer size = 240 samples. I made pitch shifting with WSOLA and resampling. But pitch duration is ~20ms then I need decrease rate sample or increase buffer size. As a result of it, the delay will increase. if I do resampling before and after processing. for