[英]iOS Audio visualisation using AVPlayer
I am trying to do an audio visualisation for a stream. 我正在尝试为流做一个音频可视化。 The audio has to play in the background and currently I am playing it with an AVPlayer but I cannot get the metering from it.
音频必须在后台播放,目前我正在用AVPlayer播放,但我无法从中获取测光。 How can I get the metering and make the visualisation?
如何获得测量并进行可视化? Any suggestions?
有什么建议么?
Here you have an example with waveforms: A cocoa audio player component which displays the waveform of the audio file 这里有一个波形示例: 一个可可音频播放器组件,显示音频文件的波形
Here you have a LED bar gauge and another example how can be used: ATTabandHoldAudioRecord 这里有一个LED条形测量仪和另一个例子如何使用: ATTabandHoldAudioRecord
Apple, also have SpeakHere example - the code includes a LevelView .. but this Apple sample code is anything but simple to implement ... Apple,也有SpeakHere示例 - 代码包含LevelView ..但是这个Apple示例代码实现起来很简单......
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.