Android and iOS: How to Use Time Stretching Code and Superpowered Update
First thing first, since we don't believe in manifestos and are often asked why we created Superpowered, we wrote all of you audio developers a story.
Second, since we are a cross-platform audio solution, developers need to compare Superpowered to both iOS and OpenSL ES --- we've created a Superpowered audio comparison for OpenSL ES and Core Audio by Apple chart for our homepage that does that.
Third, the latest update of the Superpowered Audio SDK not only contains important bug fixes in pitch-shifting and the mono-mixer, and since we get a lot of questions about our incredibly efficient time stretching software, the most important portion of the update is the offline example project with a long-awaited bit of code:
How to use time stretching code for iOS and Android/h2>
We've written a powerful example...a super-powerful example. :) In only 38 code lines you will learn:
- How to decode an mp3 file,
- How to set up and use the most powerful time stretching software engine on mobile,
- How to iterate through all,
- How to write the time-stretched result into a WAV file,
- How to use variable length chained buffers instead of FIFO buffering.
The SuperpoweredRecorder header is now also extended with simple WAV file writer functions. We created the SuperpoweredRecorder to easily and efficiently record anything in a live (audible) audio processing callback, but you don't need this for offline processing at all, simply use the new simple WAV file writer functions in those cases.