automating the gain of one input with another…

Nov 8, 2010 at 2:34pm

automating the gain of one input with another…

hi there. i apologise in advance if my problem is badly explained, i only use max/msp for simple operations and therefor have not got a good overall knowledge.
i have been using max/msp to automate the gain of one input/soundfile using another, simply by multiplying the first signal by the second using the *~ object.
the trouble i am having is that quick changes in volume, especially with bassy sounds, result in unwanted noise (digital clipping like sounds)
i believe this is because max cannot deal with fluctuations quicker than one millisecond??
the problem is solved by using the smooth~ object to smooth the numbers however, the extent to which this needs to be done results in dynamics being lost to a great extent.
i expect there is a simple solution to this problem but like i said i am quite the novice so if anyone could help it would be greatly appreciated

thanks
ben

#53183
Nov 8, 2010 at 7:11pm

this is not because of the 1 ms from the input data but because of the nature of digital (and analog
for that matter) audio., even if you could get a slider to output data at 44 khz the resolution of the
silder wont be fine enough to avoid clicks. in addition ot the resolution issue you should also not
forget that your mouse tracking runs only with 50 ms in addition.

to get around this you should convert your numbers to signal using [line~ 25].

#191106
Nov 8, 2010 at 8:38pm

thankyou sir. that seems to have worked a treat. much obliged!

#191107

You must be logged in to reply to this topic.