Page 1 of 1

Posted: 03 Aug 2015, 22:53
by CleverConQueso
Anyone got a trick to normalize a file on the fly beyond playing it through once and capturing the loudest volume?

Posted: 04 Aug 2015, 00:58
by 23fx23
not perfect but maybe could use wavform display with a (abs) + max_array module to get the approximative peak (as its a low rez proxy, but think it would be ok in most cases) on the fly, otherwise i think this can only be done with sdk or script (if binary load/read has been implemented in scripts, not sure if yet) then scanning raw data via a loop to get peak and adjust compensating level according to this.

something like this

Image

(tho think maybe should subtract a little margin out of 1/x to prevent eventual clipping if ever there were higher sample values in files not catched by the wavform array)

Posted: 04 Aug 2015, 04:54
by CleverConQueso
Genius! Thank you so much.

Posted: 04 Aug 2015, 10:15
by senso
well done FX23

Posted: 06 Aug 2015, 00:55
by CleverConQueso
TIL: There's a normalize button on the sample player. Just had to look for it harder.
Still, I like the super slick solution proposed above.
CCQ

Posted: 06 Aug 2015, 02:17
by 23fx23
that's what i said myself i thought i had seen it before, also went too quick and missed it^^