从任何音乐文件ios生成波形 [英] Generating waveform from any music file ios
本文介绍了从任何音乐文件ios生成波形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在寻找如何根据音乐绘制声波。
I'm looking for how to draw the sound waves according to music.
我想要像这张图片一样的波浪。
i want waves like this image.
这里有一些关于从音乐中显示Waves的讨论
here is some discussion about displaying Waves from music
- WaveForm on IOS
- rendering a waveform on an iphone
- audio waveform visualisation with iPhone
Github示例链接
- https://github.com/gyetvan-andras/cocoa-waveform
- https://github.com/benalavi/waveform
- https://github.com/JingWZ/WaveView
- https://github.com/gyetvan-andras/cocoa-waveform
- https://github.com/ioslovers/ATTabandHoldAudioRecord
- https://github.com/hezone/ECGWavesPlayer
- https://github.com/iluvcapra/JHWaveform
- https://github.com/gyetvan-andras/cocoa-waveform
- https://github.com/benalavi/waveform
- https://github.com/JingWZ/WaveView
- https://github.com/gyetvan-andras/cocoa-waveform
- https://github.com/ioslovers/ATTabandHoldAudioRecord
- https://github.com/hezone/ECGWavesPlayer
- https://github.com/iluvcapra/JHWaveform
但是对这种类型的波浪没有任何了解,这可能像这张图像一样画出波浪吗? ?
but not getting any idea about this type of wavefrom, is this possible to draw waves like this image ? ?
推荐答案
您可以参考此链接使用AVAssetReader绘制波形,可以更改生成图像代码。
you can refer this link Drawing waveform with AVAssetReader and can make change in generating image code.
这篇关于从任何音乐文件ios生成波形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文