< Back to IRCAM Forum

/dsp/automute not working?

I’m trying to use /dsp/automute 1 with spat5.hoa.binaural~ : it doesn’t seem to do anything.
(I would expect it to automatically do the same thing as /dsp/mute 1 , reducing CPU load)
setting /dsp/automute/attack to a low value (in seconds) doesn’t changes anything.

I’ve tried with other spat5.pan~ or spat~ : same behavior.

Is it supposed to work ?


----------begin_max5_patcher----------
1184.3oc4X0rbihCD9r8SgJp4vNU4PP.FH6oLUMG1a6CPbpTBPFqIBIWRB6j
YpIO6q9wXiiw+Dm3LG1CAYZIT282W2sZkeMbfWN+IrzC72f6.CF7qgCFXEYD
LX06C7pQOUPQR6x7J300XlxajaNE9IkU90kx4WiZT75FE9ZjRgJdbB6ahpFy
xkSX2wZpywh6mvjXEPMCCJaDHEgy.+EgAj3BNqT9UPNdJWfAls5J8dQXU9SX
spiRX500vr5Ldkv4BrTqC6d8P+q.oJlo2oGD3BkyaiytwOXDHJMwLDeCzLjF
6G.te0GQJsNFO+GWEBaM.sSPXTrxBFvMB4MpVoAFg+d3PyiQuSTsKntMZly4
TLhogSLCkSwWWRjlQKx1BdXMz5i8AsygZJIbfVYyabvEX4LLCPXZQZ3AHIUL
DUBPZBH3q9GF02KlF5FVgoIA6ASCtvXphWUQwd62bggV6DlYsyv31mqsVmAn
ddN18AdDCDziu.y1nFApFqvhGbzh03Oc+DdF9ICuTaC6D5TW3WgT3WNN.DBs
CIY1WBOD.T2PUjhYHFCScAK8iGi6kaC+D7YFmHwu.t0XjR.L4PteZli+CsCQ
vON+O16xx4GM1NMxRoou6H6n+fQ10XoDUgOoyZ.v0kq1+4Ag6Gvb0rfQtXg3
viGKzOdAuvQ9mDl.9B7nwFvfwtA345pAWXWM2Z6XQqZVPvKWPjjbBkndtanF
e5TcSENiMv3NcOygxKdDWVJPUxBAmR6F3VPIEOplI3MUy5J2EhOa2OvMwhcm
voEI4makXjWUyK2VBWTpcoNR5gghhgcqLAs9z3zSihX5zTK9I067Xecbgut0
Jk1f80vqVlWOGFGcgKX8+WtbUSQvPaVWTVfq.SWu5ULVMmQTbw9YqatvcNsu
ZLRERnVRXk7kGn7RXf0SiCsmtlctkWRuvUWv+rDU7xI3GIVFKdb6y9L12R+N
mEiT3SIKv5N5Hr017BjXcjylYuK99iV6OJH10gtMV7lj2XKOizTl9uoTtI7z
nbYmtGjy3Kasq0YTHoZ0drygwcfwrwGpaC3gh5EXp9.+E38mIzdwEIZAt7Ac
WCBRt9rxM+Rth.Vw.F.l1f4SaE2Juq0QzopDD0gUWEE6mFjkj.igoQggYvjV
TouOZWWaqUQ4rp076VA.an3s9fZcHiYwlaz12rDlY1qRC5edd4qpus0zZVUn
VaN+y+9MfTIvn59Lj1nm91mFsuKUO6b6X271jg1gOlaB3pjNii7yILTi.Q02
IvVtFDAtsjnuFszb+2nuCtst..A2ZHkkD0LvjW0KEbDn+FNm306EjCOV1Wn6
lVQg1RiQiOiru9pAk8VtzQ3VIC5OWaiGHSn2l+2kzrlkEMd0+SIKVXjuMSJ4
MhhVWs8hifMvQIVpzzmoQ9NKx3nlE0azxIqI3mllB9rzjoKtOGM0tIGVSi+H
PurSPSvODMEepZB9d0zovSsgMuKMkdBJZWrykFilOeAVHWsXqJzkd+A21va1
H6qDl60D6qBrokd25sm15gD5RfJcskFg6fimRbUo7Lm0HXMjUsuoctglV30k
0MGxnKe67Ca0+g+d3+cWbTdO
-----------end_max5_patcher-----------

Well, the “automute” does work, but it is indeed not implemented everywhere.
There are several reasons for that.

  1. For many objects, checking for “activity” in the incoming signals is actually more costly than the processing done by the object itself. Therefore automute would be counterproductive.
  2. Automute might be problematic with some stateful objects, because it takes time to “wake up” the object after a mute period.

So, automute is a feature that may be misused. Therefore, I sometimes decide to NOT implement it, just to prevent misusage.
That being said, I think it should work for spat5.spat~ (at least for some panning types).

Best,
T.

it seems to work fine with
spat5.spat~ @inputs 16 @internals 8 @outputs 2 @mc 1 @initwith “/panning/type nearfieldbinaural, /dsp/automute 1, /dsp/automute/attack 1”
but not with
spat5.hoa.binaural~ @order 3 @dimension 3D @mc 1 @initwith “/dsp/automute 1, /dsp/automute/attack 1”