Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Idea: waveform visualisation in web player ?
#16
Hi all,

I have been playing around with this on my Pi4 4GB, image size is 512 x 64, transparent bkg, PNG, always all channels merged to mono

1. stereo flac tracks <= 48kHz - about 1s
2. stereo flac tracks > 48kHz - about 2s
3. multitrack (5.1 - 24/96) flac - about 10s, could be well about 4/5s for 5.1 at 16/44.1

I tried a DSD64, and it took forever... about 30s, while a DSD512 took more or less 90s.
Now, on my system it will take 6 to 7 hours to generate all the waveforms (excluding MCHs and DSDs, but they are a minority, I can eventually run the process nightly), and take up about 20MB of disk space (well, 14K files about 1.3kB each may actually end up taking more space...)

IMO it is feasible, but time-consuming. While it could be acceptable to build the images on the fly for 16/44.1 (probably also MP3s / AACs, I have none on the Pi ATM) - so we may build the library of waves as we play the files... once they exist no generation takes place... still manually clean / (re)generate from config.

The script is very similar to that of the OP, takes track, png, start and stop times to allow extracting also from CUEs - of course, I have almost only those... ;-)
Images could be used INSTEAD of the progress-bar.

Just my 2c
Reply


Messages In This Thread
RE: waveform visualisation in web player ? - by Nutul - 01-02-2024, 02:16 PM

Forum Jump: