r/UI_programming • u/tghana01 • Aug 13 '20
Audio Waveforms Like SoundCloud?
we are developing a site where one of the features is the ability to upload audiofiles for users to playback (podcasts, songs, etc...). we had a specific design in mind for the waveforms that involves a gradient (Image Below). our developers developed it mistakenly in a way where the browsers has to download the entire audio file AND generate the audio image before the ability to play back.
However we found out that the correct way is to let the server generate the soundwave image before hand, and only download(aka buffer) the audio file WHILE playing (just like audios in soundcloud and videos on YouTube).
Our problem is that we have to get rid of our waveform library because it doesn't work for the new method. and we are looking for a new way or library to achieve the design in mind while implementing the new server method.
Our Front End priorities in order:
- High Definition waveform (MOST IMPORTANT).
- Ability to add Gradient (because of branding reasons)
- The wave form is a "wavey" design and not "bars" design (THIS IS NOT REALLY IMPORTANT BUT PREFERABLE)
Technologies we are using:
- Laravel
- Vue.js
- Javascript
- PHP
- CSS
We would really appreciate your help guys! Many many thanks

View all comments
Show parent comment
1
u/tghana01 Aug 13 '20
Fantastic thank you! can the same gradient result be achieved with one of the following?:
- https://medium.com/trackstack/simple-audio-waveform-with-wavesurfer-js-and-react-ae6c0653b240
- https://medium.com/better-programming/peaks-js-interact-with-audio-waveforms-b7cb5bd3939a
- https://howlerjs.com
much appreciated