我正在使用soundmanager2
创建一个自定义的音乐播放器,例如在这里。
我想像SoundCloud.com一样尝试使用waveform
- http://wavesurfer-js.org/
- http://waveformjs.org/
,但不幸的是我不能:(
SoundCloud正在为所有音乐文件创建图像,但我希望它飞行。
如果您使用的是soundcloud api,则每首歌曲都有一个 waveform_url
属性,该属性是波形图像的链接。
http://developers.soundcloud.com/docs/api/reference#tracks