Audio level meter
My client requires a small meter showing the audio levels of their webstream.
Titanium.Media.AudioPlayer doesn't have a 'volume' property like its brother Titanium.Media.MusicPlayer does, so it doesn't seem possible even to pick up audio values and create an animation based on them.
Has anyone any suggestions?
2 Answers
-
I was able to do something like this, but I had to extend the API so "sound" would have a "level" property.
I based my modification on the example I looked at here:
http://fancyratstudios.com/2010/02/programming/cocos2d/fun-with-cocosdenshion-and-audio-metering/
-
How was this modifications done?