Discussion:
OpenSL ES tutorial
(too old to reply)
alex dashevski
2018-07-28 10:34:11 UTC
Permalink
Hi,

I'm looking for a tutorial for OpenSL ES.
I'm interested in audio manipulation function(algorithm as WSOLA or pitch
shifting).

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/a93a94af-b640-4da4-a33c-9d079c94e32a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Glenn Kasten
2018-07-29 11:09:14 UTC
Permalink
For OpenSL ES native audio API,
see https://developer.android.com/ndk/guides/audio/opensl/
and the links from there to other articles.

For the newer AAudio native audio API,
see https://developer.android.com/ndk/guides/audio/

For the Oboe wrapper above both OpenSL ES and AAudio, see
https://github.com/google/oboe

None of these has tutorials about writing DSP code.
For learning DSP, I suggest you search for introductory books.
There are also discussion groups such as
https://lists.columbia.edu/pipermail/music-dsp/
but you'll often get better answers if you have first skimmed a book.
Post by alex dashevski
Hi,
I'm looking for a tutorial for OpenSL ES.
I'm interested in audio manipulation function(algorithm as WSOLA or pitch
shifting).
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/9c39dcca-9291-4050-a065-d91acc4cf78e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Alex Dashevski
2018-07-29 11:13:53 UTC
Permalink
Where can I find all API with examples?
For OpenSL ES native audio API, see
https://developer.android.com/ndk/guides/audio/opensl/
and the links from there to other articles.
For the newer AAudio native audio API, see
https://developer.android.com/ndk/guides/audio/
For the Oboe wrapper above both OpenSL ES and AAudio, see
https://github.com/google/oboe
None of these has tutorials about writing DSP code.
For learning DSP, I suggest you search for introductory books.
There are also discussion groups such as
https://lists.columbia.edu/pipermail/music-dsp/
but you'll often get better answers if you have first skimmed a book.
Post by alex dashevski
Hi,
I'm looking for a tutorial for OpenSL ES.
I'm interested in audio manipulation function(algorithm as WSOLA or pitch
shifting).
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
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/9c39dcca-9291-4050-a065-d91acc4cf78e%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/9c39dcca-9291-4050-a065-d91acc4cf78e%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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/CAFvRVMBLp4JBjc-XmefQjGYXUv%3D9bHqP0a1tgFErFLhZGtamZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Glenn Kasten
2018-07-29 11:32:27 UTC
Permalink
Unfortunately, the link structure is fairly deep, so you will need
to follow the initial links below to find the information you want.

For example, to find the OpenSL ES API reference,
start at the first link I shared, then click on
OpenSL ES Programming Notes, then click on
OpenSL ES 1.0.1 specification in first paragraph.

Similarly to find the sample code for OpenSL ES you need to start at first
link,
then click on Getting Started, then Code samples.

See also the other APIs AAudio and Oboe.
Post by Alex Dashevski
Where can I find all API with examples?
For OpenSL ES native audio API, see
https://developer.android.com/ndk/guides/audio/opensl/
and the links from there to other articles.
For the newer AAudio native audio API, see
https://developer.android.com/ndk/guides/audio/
For the Oboe wrapper above both OpenSL ES and AAudio, see
https://github.com/google/oboe
None of these has tutorials about writing DSP code.
For learning DSP, I suggest you search for introductory books.
There are also discussion groups such as
https://lists.columbia.edu/pipermail/music-dsp/
but you'll often get better answers if you have first skimmed a book.
Post by alex dashevski
Hi,
I'm looking for a tutorial for OpenSL ES.
I'm interested in audio manipulation function(algorithm as WSOLA or
pitch shifting).
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
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/9c39dcca-9291-4050-a065-d91acc4cf78e%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/9c39dcca-9291-4050-a065-d91acc4cf78e%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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/10580a9c-d248-4860-8d8a-f0fcd3e3d98f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Alex Dashevski
2018-07-29 20:24:58 UTC
Permalink
Hi,

I'm looking for an example of using setPitch or setRate.
From:
https://www.khronos.org/registry/OpenSL-ES/specs/OpenSL_ES_Specification_1.1.pdf
Could you help ?

Thanks,
Alex
Post by Glenn Kasten
Unfortunately, the link structure is fairly deep, so you will need
to follow the initial links below to find the information you want.
For example, to find the OpenSL ES API reference,
start at the first link I shared, then click on
OpenSL ES Programming Notes, then click on
OpenSL ES 1.0.1 specification in first paragraph.
Similarly to find the sample code for OpenSL ES you need to start at first
link,
then click on Getting Started, then Code samples.
See also the other APIs AAudio and Oboe.
Post by Alex Dashevski
Where can I find all API with examples?
For OpenSL ES native audio API, see https://developer.android.
com/ndk/guides/audio/opensl/
and the links from there to other articles.
For the newer AAudio native audio API, see https://developer.android.
com/ndk/guides/audio/
For the Oboe wrapper above both OpenSL ES and AAudio, see
https://github.com/google/oboe
None of these has tutorials about writing DSP code.
For learning DSP, I suggest you search for introductory books.
There are also discussion groups such as
https://lists.columbia.edu/pipermail/music-dsp/
but you'll often get better answers if you have first skimmed a book.
Post by alex dashevski
Hi,
I'm looking for a tutorial for OpenSL ES.
I'm interested in audio manipulation function(algorithm as WSOLA or
pitch shifting).
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
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/ms
gid/android-ndk/9c39dcca-9291-4050-a065-d91acc4cf78e%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/9c39dcca-9291-4050-a065-d91acc4cf78e%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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/10580a9c-d248-4860-8d8a-f0fcd3e3d98f%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/10580a9c-d248-4860-8d8a-f0fcd3e3d98f%40googlegroups.com?utm_medium=email&utm_source=footer>
.

For more options, visit https://groups.google.com/d/optout.
--
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/CAFvRVMCTSH-d7LmKv5dHzfxrT-Yqm8fyRVLRWcbHEt4%2BSgxLKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Glenn Kasten
2018-07-31 14:57:44 UTC
Permalink
This is a command-line unit test, and was written several years ago so may
have suffered bit rot and might no longer be executable as-is. But it could
be a starting point:
https://android.googlesource.com/platform/frameworks/wilhelm/+/master/tests/mimeUri/slesTestSlowDownUri.cpp
Post by Alex Dashevski
Hi,
I'm looking for an example of using setPitch or setRate.
https://www.khronos.org/registry/OpenSL-ES/specs/OpenSL_ES_Specification_1.1.pdf
Could you help ?
Thanks,
Alex
Post by Glenn Kasten
Unfortunately, the link structure is fairly deep, so you will need
to follow the initial links below to find the information you want.
For example, to find the OpenSL ES API reference,
start at the first link I shared, then click on
OpenSL ES Programming Notes, then click on
OpenSL ES 1.0.1 specification in first paragraph.
Similarly to find the sample code for OpenSL ES you need to start at
first link,
then click on Getting Started, then Code samples.
See also the other APIs AAudio and Oboe.
Post by Alex Dashevski
Where can I find all API with examples?
For OpenSL ES native audio API, see
https://developer.android.com/ndk/guides/audio/opensl/
and the links from there to other articles.
For the newer AAudio native audio API, see
https://developer.android.com/ndk/guides/audio/
For the Oboe wrapper above both OpenSL ES and AAudio, see
https://github.com/google/oboe
None of these has tutorials about writing DSP code.
For learning DSP, I suggest you search for introductory books.
There are also discussion groups such as
https://lists.columbia.edu/pipermail/music-dsp/
but you'll often get better answers if you have first skimmed a book.
Post by alex dashevski
Hi,
I'm looking for a tutorial for OpenSL ES.
I'm interested in audio manipulation function(algorithm as WSOLA or
pitch shifting).
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
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/9c39dcca-9291-4050-a065-d91acc4cf78e%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/9c39dcca-9291-4050-a065-d91acc4cf78e%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
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/10580a9c-d248-4860-8d8a-f0fcd3e3d98f%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/10580a9c-d248-4860-8d8a-f0fcd3e3d98f%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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/f05c1854-43c7-4d42-9863-c6b0aa2ffa0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...