Welcome to %s forums

BrainModular Users Forum

Login Register

Normalize

I need help on a Patch
Post Reply
CleverConQueso
Member
Posts: 190
Contact:

Unread post by CleverConQueso » 03 Aug 2015, 22:53

Anyone got a trick to normalize a file on the fly beyond playing it through once and capturing the loudest volume?

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 04 Aug 2015, 00:58

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)


User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 04 Aug 2015, 10:15

well done FX23

CleverConQueso
Member
Posts: 190
Contact:

Unread post by CleverConQueso » 06 Aug 2015, 00:55

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

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 06 Aug 2015, 02:17

that's what i said myself i thought i had seen it before, also went too quick and missed it^^

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests