Results 1 to 2 of 2

Thread: How to implement an Equalizer which has more bands than 5?

  1. #1

    How to implement an Equalizer which has more bands than 5?

    I'm doing a project with Android and I want to implement an Equalizer.
    I've found that the APIs provided by Android only have 5 bands to control but I want more.

    So I looked inside and I looked the Overview PDF.
    But I still don't know how to realize it....

    So, does anyone can give me some help about this?

    PS: how to get the sourcecode of the OpenSL?

  2. #2
    Super Moderator
    Join Date
    Mar 2009
    Location
    Sweden
    Posts
    48

    Re: How to implement an Equalizer which has more bands than

    Hi shengqishifeng,

    The number of equalizer bands available for control is retrieved using SLEqualizerItf->GetNumberOfBands(). Since the equalizer controls are a function of how the audio subsystem is designed and the hardware its running on (if hardware accelerated), it is not possible for you to add bands to the equalizer through OpenSL ES.

    You can find the entire OpenSL ES specification in the Khronos registry: http://www.khronos.org/registry/sles/. Android exposes a partial implementation of OpenSL ES 1.0.1 as part of its native API. If you look at section 8.20 in the OpenSL ES 1.0.1 spec you can find more information on how to use the equalizer.

    OpenSL ES in itself is only an API. It does not define the code which implements it. For access to source code, you need to check with the implementer to see if the source code is available.

    Best,

    Erik
    Erik Noreke,
    Work Group Chair OpenSL ES, OpenMAX AL

Similar Threads

  1. Best way to implement this?
    By Gamingdrake in forum OpenCL
    Replies: 2
    Last Post: 06-20-2011, 03:33 PM
  2. how to implement :isPointInPath
    By akaiwall in forum OpenVG and VGU
    Replies: 1
    Last Post: 04-01-2009, 08:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •