Sound Effect Library / Extension for OpenAL (works on iOS)?

I want to do some processing of the DSP effect, create an effect like flanger, echo, etc. Can this be done through OpenAL? Or do I need to use a different framework / library?

+4
source share
2 answers

Since iOS 5.0, some of the DSP effects are supported by OpenAL.

For example, reverb is supported by emulation for more than 10 different spaces (small / medium / large room, medium / large room, stove, medium / large camera, cathedral and several options).

You can find a good reference implementation in the ObjectAL wrapper. The repository is available at https://github.com/kstenerud/ObjectAL-for-iPhone

Take the source from this repository, download "ObjectAL.xcodeproj" and run the ObjectALDemo target on any iOS 5.0 device (should also work on the simulator). This will give you a good starting point and a sense of what the reverb effect is capable of. I personally recommend using the ObjectAL library instead of working with OpenAL directly.

Good luck with your project!

+2
source

Just write your own audio library. IOS devices do not have hardware acceleration for OpenAL. This is not particularly difficult to do, and then you can also use apples from the audio device (some of which are hardware accelerated).

0
source

Source: https://habr.com/ru/post/1380780/


All Articles