12

Here is an image of the sound cloud's seek bar: enter image description here

Sound cloud actually calculates the waveform before the song plays and adds it as the background for the seek bar.

I have tried to add some visualization based on android-visualizer. But what I need is to use the visualizer as the background for the audio seekbar. Any pointers would be really usefull, as I am sure that there might be some code to begin with.

Thank you.

amalBit
  • 12,041
  • 6
  • 77
  • 94
  • 2
    FYI. Soundcloud builds the wave form LONG before it played. It is stored on the server as a PNG, and available via Their API. It is not built on the fly. – szatmary Jul 21 '14 at 16:09
  • 1
    Now that makes sense. I was wasting a ton of my time visualizing the audio before its played!! Thank you @szatmary – amalBit Jul 22 '14 at 05:09
  • @szatmary But when we record a sound in soundcloud, it generates waveform on run time. – berserk Oct 13 '15 at 13:08
  • This answer is a year old. Things change. They are probably generating it locally while recording to preview. But once uploaded, it is done again server side (to avoid people uploading incorrect waveform images). But im just guessing – szatmary Oct 13 '15 at 17:04
  • 2
    [**AndroidWave-ProgressBar**](https://github.com/alxrm/audiowave-progressbar) is a library available on the git which might be help full for you. and this [question](https://stackoverflow.com/questions/38781128/how-to-get-a-soundcloud-like-waveforms-in-android). – Faheem Ahmad Khan Dec 08 '16 at 08:05

0 Answers0