在SoundManager2中添加波形,如SoundCloud



我正在使用soundmanager2创建一个自定义的音乐播放器,例如在这里

我想像SoundCloud.com一样尝试使用waveform

  1. http://wavesurfer-js.org/
  2. http://waveformjs.org/

,但不幸的是我不能:(

SoundCloud正在为所有音乐文件创建图像,但我希望它飞行。

如果您使用的是soundcloud api,则每首歌曲都有一个 waveform_url属性,该属性是波形图像的链接。

http://developers.soundcloud.com/docs/api/reference#tracks

最新更新