Forums > MaxMSP

Keeping to signals at the same level


f.e
January 13, 2007 | 8:45 am

Pretty straightforward, i guess… Is there a bunch of MSP objects (no
3rd party) to help keeping too signals at the same amplitude level ?
Let’s say we have a ‘dry’ signal and one modified with a comb filter :
what’s the simple way of keeping their amplitude to the same level ? How
to have the choice between RMS and peak ? Do i have to use omx objects,
normalize~, a simple combination of *~ and +~ and clip~ ? …

thanks in advance

f.e

f.e chanfrault | aka | personal computer music
> >>>>>> http://www.personal-computer-music.com
> >>>>>> |sublime music for a desperate people|


January 13, 2007 | 12:06 pm

Trond Lossius’s tl.balance~ object sounds like the thing.

http://www.bek.no/~lossius/download/tl.objects_2_2_0.zip

f.e wrote:
> Pretty straightforward, i guess… Is there a bunch of MSP objects (no
> 3rd party) to help keeping too signals at the same amplitude level ?
> Let’s say we have a ‘dry’ signal and one modified with a comb filter :
> what’s the simple way of keeping their amplitude to the same level ? How
> to have the choice between RMS and peak ? Do i have to use omx objects,
> normalize~, a simple combination of *~ and +~ and clip~ ? …
>
> thanks in advance
>
> f.e


January 13, 2007 | 12:08 pm

Hmm, interesting, but not straight-forward. MSP doesn’t know how ‘loud’ a signal is unless you define a period of time in which this can be measured. And then you’re generally talking about compression/expansion.

For compression/expansion there is the omx dynamics suite. But this (of course) applies to all the dynamics in your sound.

If you would like to compensate only for the changes in amplitude made by one effect, you could measure the amplitude before and after the effect and compensate only with the difference. Would be an interesting version of a compressor though :)

I made my own simple compressor out of max objects, I even think it’s somewhere on this list. Ah, yeah: http://www.cycling74.com/forums/index.php?t=msg&goto=82078&rid=3579&S=2751b9b23e60985a2feb6e6bd8844871#msg_82078

You could use it as a starting point..

Cheers,
Mattijs



f.e
January 13, 2007 | 12:35 pm

Ahh, funny. You mean the objects on my ftp :-) ?

Thanks Owen. Nevertheless, i still want to do this without 3rd parties…

f.e

f.e chanfrault | aka | personal computer music
> >>>>>> http://www.personal-computer-music.com
> >>>>>> |sublime music for a desperate people|

Owen Green wrote:
> Trond Lossius’s tl.balance~ object sounds like the thing.
>
> http://www.bek.no/~lossius/download/tl.objects_2_2_0.zip
>
> f.e wrote:
>> Pretty straightforward, i guess… Is there a bunch of MSP objects
>> (no 3rd party) to help keeping too signals at the same amplitude
>> level ? Let’s say we have a ‘dry’ signal and one modified with a comb
>> filter : what’s the simple way of keeping their amplitude to the same
>> level ? How to have the choice between RMS and peak ? Do i have to
>> use omx objects, normalize~, a simple combination of *~ and +~ and
>> clip~ ? …
>>
>> thanks in advance
>>
>> f.e
>
>


January 13, 2007 | 12:49 pm

for the amplitude analysis, i use average~. that way u can choose between absolute and RMS and have the value as a signal.

peakamp~ also works ok but its absolute and outputs floats.


Viewing 5 posts - 1 through 5 (of 5 total)