title: Generating waveform from any music file ios
body: <p>I'm looking for how to draw the sound waves according to music.</p>
  
  <p>I want waves like this image</p>
  
  <p><img src="https://i.stack.imgur.com/hbvFL.png" alt="enter image description here"></p>
  
  <p>here is some discussion about displaying Waves from music</p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/8298610/waveform-on-ios">WaveForm on IOS</a></li>
  <li><a href="https://stackoverflow.com/questions/896194/rendering-a-waveform-on-an-iphone">rendering a waveform on an iphone</a></li>
  <li><a href="https://stackoverflow.com/questions/4548951/audio-waveform-visualisation-with-iphone">audio waveform visualisation with iPhone</a></li>
  </ol>
  
  <p><strong>Github Example Links</strong></p>
  
  <ul>
  <li><a href="https://github.com/gyetvan-andras/cocoa-waveform" rel="nofollow noreferrer">https://github.com/gyetvan-andras/cocoa-waveform</a></li>
  <li><a href="https://github.com/benalavi/waveform" rel="nofollow noreferrer">https://github.com/benalavi/waveform</a></li>
  <li><a href="https://github.com/JingWZ/WaveView" rel="nofollow noreferrer">https://github.com/JingWZ/WaveView</a></li>
  <li><a href="https://github.com/gyetvan-andras/cocoa-waveform" rel="nofollow noreferrer">https://github.com/gyetvan-andras/cocoa-waveform</a></li>
  <li><a href="https://github.com/ioslovers/ATTabandHoldAudioRecord" rel="nofollow noreferrer">https://github.com/ioslovers/ATTabandHoldAudioRecord</a></li>
  <li><a href="https://github.com/hezone/ECGWavesPlayer" rel="nofollow noreferrer">https://github.com/hezone/ECGWavesPlayer</a></li>
  <li><a href="https://github.com/iluvcapra/JHWaveform" rel="nofollow noreferrer">https://github.com/iluvcapra/JHWaveform</a></li>
  </ul>
  
  <p>But not getting any idea about this type of wavefrom, is this possible to draw waves like this image?</p>