I'm using an AVPlayer
and I'm looking for the averagePower(forChannel:)
equivalent of AVAudioPlayer
and AVAudioRecorder
. I need it to make some visual audio animations.
Asked
Active
Viewed 839 times
0

Marie Dm
- 2,637
- 3
- 24
- 43
-
hopefully this link will help you : http://stackoverflow.com/questions/39166034/getting-averagepowerforchannel-in-avplayer – Return Zero Dec 05 '16 at 10:50
-
Thanks @baridcse but I've already seen this link and unfortunately it's not helping – Marie Dm Dec 06 '16 at 08:05
-
@MarieDm, found anyway? I need also to show visual audio animations for a song that is streamed from URL. – Chanchal Raj May 22 '17 at 11:03
-
@ChanchalRaj Unfortunately no, I implemented `AVAudioPlayer` for audio files. – Marie Dm May 22 '17 at 12:45
-
I think you can use `AVAssetReader` to analyse every frame of the file but I did not look into it. – Marie Dm May 22 '17 at 12:47
-
@MarieDm Hi! Did you find solution for this problem? – Said-Abdulla Atkaev Feb 10 '19 at 20:19
-
@Said-AbdullaAtkaev sorry it was a long time ago I don't remember. – Marie Dm Feb 11 '19 at 10:31