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
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].
thankyou sir. that seems to have worked a treat. much obliged!