Discussion:
improve performance and latency for implementing WSOLA
alex dashevski
2018-05-22 17:42:59 UTC
Permalink
Hi,
I want to improve latency and convert to multi thread implementation.
https://github.com/alexd555/projectA
I also want to improve performance of filter, If I use filter with ~100
samples then I lost the signal after a few minutes.
My goal is to implement wsola. The problem is that I need to choose windows
which bigger that pitch(5ms - 20ms).
I use with nexus 4.
Nexus 4 has buffer of 240 samples and Frequency 48Khz. Maybe, Do I need to
do subsampling ?
Besides, Do you know how can I enable governor ?
Force GPU ?
Force 4xMSAA ?

Could you help ?

Thanks,
Alex
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/48545737-2cb9-4135-a796-95f880d7f184%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Phil Burk' via android-ndk
2018-05-23 14:41:35 UTC
Permalink
Hello Alex,
Post by alex dashevski
I want to improve latency and convert to multi thread implementation.
For optimal audio latency on Android I recommend using Oboe.
https://github.com/google/oboe
Post by alex dashevski
https://github.com/alexd555/projectA
I also want to improve performance of filter, If I use filter with ~100
samples then I lost the signal after a few minutes.
My goal is to implement wsola. The problem is that I need to choose
windows which bigger that pitch(5ms - 20ms).
Interesting question. But that is a DSP question, not an Android question.
I recommend trying a DSP forum such as the music-dsp list.
Post by alex dashevski
I use with nexus 4.
Nexus 4 has buffer of 240 samples and Frequency 48Khz. Maybe, Do I need to
do subsampling ?
Also a DSP question.
Post by alex dashevski
Besides, Do you know how can I enable governor ?
The CPU Governor is on by default. Applications cannot control it.
Post by alex dashevski
Force GPU ?
Force it to do what? Maybe check out RenderScript:
https://developer.android.com/guide/topics/renderscript/compute
Post by alex dashevski
Force 4xMSAA ?
That is for graphics, not audio.

Phil Burk
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CACL%3DQ7wAAv5Q-xZ_0W3u%3DWKYivL81WyhV6NvSBCZk04bWdACBQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
alex dashevski
2018-05-23 18:06:24 UTC
Permalink
Hi,
Who can help me to convert audio echo implementation to Oboe ? is it
instead of OpenSL ES ?
About performance , I mean a multi threading implementation.

Could you send me reliable link where I can read about
The CPU Governor is on by default. Applications cannot control it

Could you send me link of DSP group ?

Thanks,
Alex
Post by alex dashevski
Hi,
I want to improve latency and convert to multi thread implementation.
https://github.com/alexd555/projectA
I also want to improve performance of filter, If I use filter with ~100
samples then I lost the signal after a few minutes.
My goal is to implement wsola. The problem is that I need to choose
windows which bigger that pitch(5ms - 20ms).
I use with nexus 4.
Nexus 4 has buffer of 240 samples and Frequency 48Khz. Maybe, Do I need to
do subsampling ?
Besides, Do you know how can I enable governor ?
Force GPU ?
Force 4xMSAA ?
Could you help ?
Thanks,
Alex
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/97cf0790-0502-4cc6-8e09-30dabf97cfb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Phil Burk' via android-ndk
2018-05-23 22:42:37 UTC
Permalink
Hello Alex,
Post by alex dashevski
Who can help me to convert audio echo implementation to Oboe ?
You can add a request here:
https://github.com/google/oboe/issues
Post by alex dashevski
is it instead of OpenSL ES ?
Yes, Oboe is an alternative to OpenSL ES. It is easier to use and can
achieve lower latency on new devices.
Post by alex dashevski
Could you send me link of DSP group ?
https://www.google.com/search?q=music-dsp+mail+list

Phil Burk
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CACL%3DQ7w_jOJR3nDQJ8Fv9eevEkT3yn23LSpaPa0wfYN1qSqDSQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
alex dashevski
2018-05-25 07:27:42 UTC
Permalink
Hi,

Could you give more specific link to dsp group ?

Thanks,
Alex
Post by 'Phil Burk' via android-ndk
Hello Alex,
Post by alex dashevski
Who can help me to convert audio echo implementation to Oboe ?
https://github.com/google/oboe/issues
Post by alex dashevski
is it instead of OpenSL ES ?
Yes, Oboe is an alternative to OpenSL ES. It is easier to use and can
achieve lower latency on new devices.
Post by alex dashevski
Could you send me link of DSP group ?
https://www.google.com/search?q=music-dsp+mail+list
Phil Burk
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/88315fd7-d309-495b-9855-0a34f15037f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Glenn Kasten
2018-05-25 14:53:11 UTC
Permalink
How to subscribe and
post: https://lists.columbia.edu/mailman/listinfo/music-dsp
Archives: https://lists.columbia.edu/pipermail/music-dsp/
Post by alex dashevski
Hi,
Could you give more specific link to dsp group ?
Thanks,
Alex
Post by 'Phil Burk' via android-ndk
Hello Alex,
Post by alex dashevski
Who can help me to convert audio echo implementation to Oboe ?
https://github.com/google/oboe/issues
Post by alex dashevski
is it instead of OpenSL ES ?
Yes, Oboe is an alternative to OpenSL ES. It is easier to use and can
achieve lower latency on new devices.
Post by alex dashevski
Could you send me link of DSP group ?
https://www.google.com/search?q=music-dsp+mail+list
Phil Burk
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/401e4c68-75ab-432d-8dcd-55b23b65b378%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...