问题
I'd like to import a track from iTunes or an external URL and display the waveform with play/pause/rewind/stop features. Can someone point me in the right path? Thanks
回答1:
Recently I found a library that can display a waveform on iOS by reading the audio file directly.
It's incredibly simple to use & I plan to incorporate it my next app update:
FDWaveformView @GitHub
回答2:
For playing music, look into MPMusicPlayerController. For information on audio waveforms check out this tutorial.
来源:https://stackoverflow.com/questions/4548951/audio-waveform-visualisation-with-iphone