Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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?

— asked September 1st 2010 by Patrick Mounteney
  • audio
  • iphone
0 Comments

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/

    — answered December 17th 2010 by Howch Mal
    permalink
    2 Comments
    • could you send me your modifications?

      — commented March 17th 2011 by Marc Bender
    • or perhaps publish them somewhere? This would be a valuable extension for others (including me, of course), I'm sure.

      — commented May 16th 2011 by Seth Gholson
  • How was this modifications done?

    — answered March 17th 2011 by Marc Bender
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.