Yes you understood my problem right. I’m searching for the absolute loudness of a playing sound.
I am already getting the seek position with the help of openal:
local backgroundMusic = audio.loadSound("je-mappelle\_real-vrc7.mp3")
local backgroundMusicChannel, backgroundMusicSource = audio.play( backgroundMusic, { channel=1, loops=0 })
local function onEnterframe()
sec\_offset = al.GetSource(backgroundMusicSource, al.SEC\_OFFSET)
print(sec\_offset) --seeker position
end
Runtime:addEventListener("enterFrame", onEnterframe)
Now I would only need the raw audio data (PCM array) to read out the values.
The openal transforming of the volume is not really necessary for my app.
I hope coronalabs is working on a solution for audio monitoring 
(something like this would be really nice: http://fancyratstudios.com/2010/02/programming/cocos2d/fun-with-cocosdenshion-and-audio-metering/)
Thanks for the Infos
Alex [import]uid: 7190 topic_id: 32740 reply_id: 130186[/import]