从任何音乐文件ios生成波形 [英] Generating waveform from any music file ios

查看:253
本文介绍了从任何音乐文件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


  1. IOS上的WaveForm

  2. 在iphone上渲染波形

  3. iPhone的音频波形可视化

  1. WaveForm on IOS
  2. rendering a waveform on an iphone
  3. 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

但是对这种类型的波浪没有任何了解,这可能像这张图像一样画出波浪吗? ?

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆