Wednesday, September 25, 2013

RadioKit and iOS 7 support

Good news for all existing RadioKit SDK license holders:   the current version of the RadioKit SDK works fine with iOS 7 as-is, so unless you want to make other iOS 7-related changes due to other features of your app, your existing apps should continue to work just fine.

For anyone just getting started with RadioKit, I have put together a simple iOS 7 / Xcode 5 demo project which can be found here:  An XCode 5 (iOS 7) utility app - http://www.stormyprods.com/Demos/ios7/RadioKitDemo.zip

If you just want to grab the most up-to-date RadioKit SDK (version 2.6.2), you can get it here:  http://www.stormyprods.com/Libs/RadioKitLib-XCode4.5.zip


Wednesday, November 21, 2012

Tunemark Radio with Improved Visualization

Thanks to a new feature of iOS 6, I will be adding significantly improved audio visualization features to Tunemark Radio. Specifically, I am referring to Audio Queue taps, which Apple mentions in their iOS 6 SDK release note, but provide no documentation at all, other than comments in the AudioQueue.h file. If you are looking for the technical details, search for AudioQueueProcessingTapCallback in the AudioQueue.h file. I’ll write up a more detailed description of how it can all be used, along with the hooks I added to RadioKit to support it, in a future post.

Anyhow, once you get over the hurdle of the lack of documentation, you can do some pretty nice things with an Audio Queue Tap. It provides a way to get the raw PCM audio right before it is played, perform adjustments to the audio (apply echo effects, etc.) or just monitor the audio for visualizations.

In my case, I’m interested in using it for adding better visualizations to Tunemark Radio. Since Tunemark Radio is playing Internet radio station streams, it is generally dealing with MP3 or AAC audio, which is in a compressed format and short of implementing your own MP3 or AAC decoder, there’s no easy non-CPU intensive method to get actual waveforms. Instead, in the past I had to resort to just querying the audio queue gain (i.e volume) information and do some rudimentary visualizations with that.

Now that I have real-time access to the raw audio waveforms thanks to the Audio Queue tap, I can do more more dynamic and responsive visualizations. The first one I’ll be adding (which will be available in the next upcoming Tunemark Radio update) is a waveform visualizer. It will look something like this, although it’s a lot more engaging when it’s actually moving:

ScreenShot2012-11-22at1.25.12AM-2012-11-22-00-18.png



Basically, the waveform will move in time to the music.

Future updates will include more dynamic visualizers that have various visual effects based on different frequency changes (such as part of an image changing based on bass notes and another part changing based on high frequency notes).

Saturday, September 15, 2012

RadioKit for iOS 6

A version of the RadioKit SDK is now available with support for XCode 4.5 and iOS 6. If you already have an app using RadioKit and are just looking for the library so you can target the new iPhone 5, the library can be found here:

http://stormyprods.com/Libs/RadioKitLib-XCode4.5.zip

If you would like a full XCode 4.5, iOS 6 demo project, it can be found here:

http://stormyprods.com/Demos/RadioKitARC-4.5-Demo.zip

Full details about the RadioKit SDK can be found here:

http://www.stormyprods.com/products/radiokit.php

Please note: with XCode 4.5, Apple has removed support for armv6 and will only allow builds targeting iOS 4.3 and higher. So, if you still have projects targeting armv6, or want to use XCode 4.4 or lower, you will want to use the older RadioKit library.

Also note that existing apps already using an earlier version of RadioKit will work just fine under iOS 6 as-is. You only need to get this new update if you specifically want to build an app using RadioKit and XCode 4.5.


All content copyright © 2009  Brian Stormont, unless otherwise noted.   All rights reserved.