Hi! I have a query about spat5.noisegate~ behaviour: the output clicks as the volume crosses above threshold, even with a slow attack time. When falling below there does not appear to be a click. Is there something I have misunderstood? You can clearly hear this behaviour in the help file by setting the cycle~ to 300Hz, adding a gain, and then changing the gain to hear the gate click on and off.
Hi Natasha,
Yep, nice catch.
I believe the issue is fixed in the attached build :
https://filesender.renater.fr/?s=download&token=a7bfbbfc-ad45-4e64-b3da-96e32ec53165
Please confirm if this is ok for you.
Best,
T.
Hi Thibaut
Not exactly. See attached maxpatch.
-
Slowly change the gain of the input gradually below -30. Even though the threshold is set to -35 you’ll hear distortion from -30.98 to -31.16.
-
Faster changes result in a click. e.g. alternate between -40 and -30 gain on the input.
I realise that sine tones are devil of an input test, but the click is evident on pure sounds like a soprano voice.
----------begin_max5_patcher----------
1465.3oc6Ys0aiZDE9Y6eEHTezq24JW5Ssqpz9RWoJ0G5CQqhFim3PBFrfgz
jtZyu8NW.GrCXyU6VoMODCCCbNeemuyLmC7s4yrWk7LOy15mstwZ1ruMe1L8
PpAlUb9L6srmChXY5oYukmkw1vsWXtlf+rPO9GHfxwRxEQbg3kcbyC1115qE
WZGSDbeX7laS4AByUgTukfEVHDP+i+Rp5jkf82Sb91vX4CTaeTwfgq0VMY0C
e.Y+1DMlVOSnZvuOet5eKZI3tKJQ9PZFGKrrWwh2bR7PM.ARIpenFTUEO2kj
tkomrScHD9dDhcs2auT1VtfmdKOlsJR6XfZgO5JA+xvIEMdvmbYfeSRaTOU1
NtZN.hv8UYSGOoci4sN8DcTughN3E.cX5xdBOvPgGX5gGsmwNLbffCNhJyX9
eKejuCaQIr05UaZBgmconBT5nWCpbWll.YMq6.wWBAJnmBTeWMfHt8MDhldz
8wMrvXqeBNHD5Y1HEd53WMHj7+.MpAiPOu9pQmbLlI8Z5R8ttu1HNyB2DyhT
EHbRzhP5XIVJWk+352c35WOdKi9Yrm3quUNSoIukIDogqxElBbmsG1MTGg9Z
ZNajXt0rfWsfVH6SrDEfp3.B1nwocViC8pmP.iGLBd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K9qOeE65Pb0tO1ifgZHQNJmqmopsl55
UBdQdbkP4crxk8g0996JUAmVpOtQP1ytsQr9i.43rf7CqV8CZts4KsMuvezR
KdLKJTVvyeopF5TwoJLg9Mpev+FIew7MD9TTN+zqwxBBjF3fXCFpDApHhy9p
c7KzEisC94TNOtydHP4RTr5O0QPGOYwXipykucEO8yxsS6ruoHJfVYS8QPpl
GgUU1c2AMkpq+9PJOLaWwNA5Oiz7uO+eAEP.nZB
-----------end_max5_patcher-----------
Hum…
- Due to the running mean amplitude, the gate is indeed triggered when the input gain is ~ -31 dB. (the rightmost outlet reports the gate activity)
- Here is what I get when alternating between -40 and -30 dB input gain. (other settings similar to your patch)
No noticeable artefact, isn’t it ?
Are you sure you updated the spat5 package ?
Any specific sampling rate/vector size to reproduce the issue ? Or can you send a specific sound sample ?
Best,
T.
Hi!
I checked the package info and its says “version” : “5.2.8”.
Attached are two examples illustrating the two observations. Changing sample rate and i/o vector makes no difference.
I’m stumped as to why your example is clean and mine isn’t!
Natasha
Maybe I mistakenly sent you a wrong package.
I’ll send a new fresh build later today.
Yep, that one works. Thanks,
Natasha
Excellent ! Thanks for your helpful feedback.
T.