@onthreshold / @offthreshold inconsistencies

Trying to wrap my head around fluid.ampgate~ at the moment, and unless I’m doing something wrong (totally possible, as always) the @onthreshold and @offthreshold are inverted for fluid.ampgate~ and fluid.ampslice~. In fluid.ampslice~ the higher value is the @onthreshold (as can be seen in the comparison between the onset detection algorithms here), but in order to get something that kind of makes (sonic) sense in fluid.ampgate~, I have to set @onthreshold as the lower number.

To further confuse the issue, the reference for fluid.ampgate~ has this to say about what the thresholds do:

AND

on top of that, (almost) all the examples for fluid.ampgate~ have both threshes set the same, so it’s difficult to infer what these are.

In addition to what seems like a reference gap and/or a bug, in playing with fluid.ampgate~, I’m not entirely sure how this object is meant to be used. My initial understanding, in speaking with @tremblap is that @weefuzzy and him broke the old fluid.ampslice~ into two objects. But I’m not entirely sure how they should be used in conjunction. To give a more practical example, I’m presently using fluid.ampslice~ as my default onset detection algorithm as I can get comparable results with the homebrew version, so I want to dip back in and also get a gate signal (for use in modular land) from the same algorithm. So effectively using the fluid.gate~ algorithm on the differential from fluid.ampslice~. Obviously (and unfortunately) fluid.ampslice~ doesn’t spit out its envelopes in order to do this, but when trying to mix the homebrew with fluid.ampslice~ I was finding no joy (particularly with the inverted attributes).

Oh, another funky issue. I have no idea what the @rampup and @rampdown attributes do for fluid.gate~. Are they the up/down times for an envelope follower? Are they smoothing applied the state transitions? Let me check the reference file…

Evening @rodrigo.constanzo. Just a brief one, because I’m on my way to bed.

First, yes, it looks as if the the reference docs for ampgate didn’t get populated when the object was split. Easily fixed, thanks for the spot.

As in the previous monolithic ampslice, the thresholds behave as a schmidt trigger, the same as thresh~ in Max. So, for the object to go 0->1 the input envelope has cross onthreshold from below. To then go 1->0 it has cross offthreshold from above.

The rampup/downs are indeed envelope follower attack / release, and behave identically to slide~ in Max. If you need hysterisis in time on the state transitions, we don’t use smoothing, but lookahead / lookback (at a greater CPU cost and latency), in conjunction with a minimum slice length to control the friskiness and greediness of the switching (these are what make it more powerful than abs~-slide~-thresh~)

The two in conjunction: ampslice now behaves like the other slice objects, and emits spikes when something looking like an onset in its feature signal is spotted. It decides there’s an onset when a fast moving envelope follower goes beyond a certain number of dB above a slower moving one. On its own, it’s possible you’d still get a lot of triggering in very quiet, notionally silent bits, so you can use [*~] or [gate~] to couple this to an ampgate that would stop this happening below some noise floor you’ve selected. (If you still have the Max patch of @tremblap’s that birthed this object, I think that this is pretty much how it works there as well)

hth

1 Like

Hehe, it is only the hardcore that both create, and respond to, bug reports at 1am!

That makes sense. It does seem that the numbers are “backwards” for fluid.ampgate~.


----------begin_max5_patcher----------
5225.3oc68j1iiabketmeED5CAyrnmdqKdkDGLwq23.r16Zr1AFA1AMnDKol
dnH0RR0yzwvyu88UUQRwaUjhRcO6pFXzPU75cWu5cT5We0MKVF+Qd5BieuwO
YbyM+5qt4F4PhAtI+62rXq2GWE5kJurEQ7ODu7WVbq5TY7OlIG9e4SECEsea
79rPdl75w4ipFJ6ocb0KaQZvlHuvEF+i7KXmW1pGBh1beBeUl5ZvX66P2Zvr
cE+Gw8NS3Sxcnx6AdUAQEuIR9fA9R.B.x2RVHF52d0qDebqlHH+e56spGrA0
OvZJgUShBjMK9TaXEOEXEdnK4I8.rEuj0wQYoA+SIgGCjuivQt0Xw5vXurAY
MDDSfgTjkDqkeVi0.OLIAq70sM1m2Dph71JGaweNIP7l0jqRWT4Yr1ak7Yfl
.4KcU7N93Y0TLVh7lz6Lw.Iv101z1AaSn2Z.eWbN4+URLR7h1jSkkmkfFiP7
zjL5VMcmwCA6fq4uDDlwSleUVWIkAagtiV8OL6VCGTKgjZnNtMp6RVT8UA.r
BgywXP.HHj+HOIMHNpxi3lEd61UY3apbKBxzuDKePN2VNTPjZHb4PI7GCJte
Z4ndI.BmAX69Dkf6GsXKN7X.Q7jn8AxmjZPfgkCRRViPfOcWtDqjCVb5JjPl
T0hXIsgXpzsnlUrk.79MgwqdO2uhfJvu1wiBh1kvS4QYdY4.e4o84q81Glce
2lCpe9RkptNYmZs2rXSRfebj.HpwJDCW75.S5RjBWCYjWQj2t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uQr9mYyc1AXJE0xp3NXTrbgbr7zpLmnzea6QRrzEj79idOxWGmr8Syqqlx1i
31mska36k792FIJ+q2JCgvHk60M7kcGdB1gFKoL8QkIRxQ9XlgX2gOhT6rGv
hYOtc0CXQYDmzNP1yhjxujWFTHTd8UNGOJxXRFxfwQEMPXxLOhb3gbez5f4K
jY5A6eVHA1LYDKC4vTlpjG9kwwuewrIxED89wIgbHb0VHgJP0ipZPpaC0V.I
B4TNWNUdmGO0YG+t5St61ZeNCQnUeX5BZc7bleBMH9MiFqd48qscVMdUcFXj
AtsYQMocyr974rTnvUhi6BcyXifbY4EpfqK0wN+HaGMVffV8Z0IiW0ZquyXl
fNdC2pWy1NKHbklpUmU4oQizNKfUsFlct3Eyf+k51TrSrgXOySweJ0oVcsC8
3hUaxUcC51.M15IKY0tAV0dUPZ0zpyE.Vs4T0FBuLFIa23o5G.EcZ1zYB.q0
ToiKDOCzHoyDv0ngQ0F7zpIQmIX7+l6OZ3ytzoRb45eP4yXL2vW8lUUeRnNM
n5vMm57h.jOGQfVcQq9hH5z.omL.taextvo47fcY0zwvlf9uzHkvLf4fK3fh
XHkiQDSjkqTIf3XZQl0ZUJguhG73vYtqKYlx0.c.mPUK7y4A3Z1VxZLiulsh
7jZC4SFgR4Q9ouzlAocOPOe5dcV7p5zyymLVU1ay8mM5g5m4Y38mlwWuOLLa
bIXQzzJ1RRpUou5hPATVhh8TTjNllXUrvsn1TU6UXApjVyKQUgTWFbh3X6nb
NgVJ9SItTWmWJquOSzk4uj5WfOHhlySiOWSHACRtFRZNeATtyyRiVMMvjZD.
wuNvGIXmXWWjxsTPVlkmqcKDhhqWj1Mzm+pfjrmL922DOI0YUqy0wOtmhUq9
pe6U+u3aZQSD
-----------end_max5_patcher-----------

That’s where I’m thrown in that that fluid.gate~ works off absolute thresholds, rather than relative ones (well, the differential), meaning that I would presumably having to super tightly define the absolute on/off thresh for fluid.ampgate~ to be able to use it along with fluid.ampslice~, and even then, there would be tons of times .ampslice~ would trigger and .ampgate~ wouldn’t, again, because of the absolute vs relative threshes.

So in my use case, I would love to have .ampgate~ behavior, but with .ampslice~ relative/differential thresholding, which appears to be impossible with how it’s currently built. I can do a mix-and-match, like in the code example above, but that seems to defeat the point to separate the object, if they can’t “get put back together”.

In the patch above you seem to be feeding ampgate a control signal, and using thresholds above 0dB. It expects a regular audio, bipolar signal and thresholds relative to 0 dBfs:


----------begin_max5_patcher----------
2528.3oc0ak0iaiiD94t+UXnGW31fGhjhyS8jc1MKvlLavlrHXPvf.YIZ2Js
rjgjbeLCl7ae4gLsjsrrrM6izO3lhlTrN9phEKV9Ou7Buo4OHJ8F8Si9xnKt
3Ou7hKzco53h5muvaQ3CQogk5g4kItOe527Fa9pJwCU5t+aeecW4qpREUUOt
TXdsdkIyyBS8F860CHIVOC4a4Jz5IksZQRlbZ50.soSyKS2Krt2kgUQ2jjM+
qEhnJyR.gvIjwi7wnIfwiPb0CHY6Q+tZJ+0kWp9X7.YPweDGFY4lFDK7HHVv
gIVFSQr9j0edRDqbUmJJrT6h7XQShZe5hwi7lklGVsQoLKOqZVXjnIwKGr9w
IfNzbXuFyrL4OzyDhrisSgjZrYgKzi06mKRTjRWhOz9EeHfuRhgAT0+H5OOY
ccYT9RQm55.GoroZkMl5Og.kzLiyHr.HCgGOR9rh30+6zT9caJNKcUR7jvEK
mGVI99nqKjMWsbDwzJN+9rQ99vQWK4qxzjHQpHad0Mif.j+nqymMq5lBQ4M4
owitBQk8j0rCf2ggVcZpCYcJQgGq9GhwZUtRvtsDkPCNK3vT85IJVSo2kHt+
tjxjoIoIUO1jbkhoRQMEckFPdEVsn0ecZdzsh33hv4kQE4ooMQIQRY9sRQZ9
p42zreQV3zTwM6NAyWb2tewz4qs2s8jWDKI+F8DVLu18t20yRREJ8yzhUk2H
JmDlLS830o44KkMfp12kqTga3jC5M2ZNGKVjWluJKdhTlJEjcXU0MD.b7t60
tNgDl1QOjqdJfehJ8vpphUI6EV2IXl2KVV8FMCsgwj2wxk9A0fY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YL.5GQFPe8EuMO8DfH1rWPjw0PLEMTyszbBAtbUwxzSK3AlsJ87gDo8u
1IkxM.o2ibfA9.SfQHBfx0FAn.BE4zZUpPDIRtq+atqKLg8TPa3IPyJIzMDm
4HJu09KsZ.63S8kNz30aDvpKkYIZki6UZ+7fhJEYwku11AYiPteausJBUFDv
L2yjOEvqqXbFjbvCD+7HpqBWdH+fMRF06BqxG8N0oP8b15WVIlsJMs53tfE0
OZElV5PswpqREfsDE2SMWFPHPSZzoXF17KkfJMIotUnZXpmGdBEvBLAmfsve
Lhi4AuVNeekn700uWf6UYy4wisL.jquRAoOCItVuHsSquffAUBpCrxx6NulP
NGXh8TBX8quPcJ.fgsqT61hMLc+EI4ujTT83n+w77Sxb17SmSeCdp2Y4xZUn
9Gc7k+0k+ez0gBEI
-----------end_max5_patcher-----------

That’s where I’m thrown in that that fluid.gate~ works off absolute thresholds, rather than relative ones (well, the differential), meaning that I would presumably having to super tightly define the absolute on/off thresh for fluid.ampgate~ to be able to use it along with fluid.ampslice~ , and even then, there would be tons of times .ampslice~ would trigger and .ampgate~ wouldn’t, again, because of the absolute vs relative threshes.

That part of the old object was absolute-thresholded as well. If you want to make it relative, then use, e.g. fluid.loudness to drive the thresholds.


----------begin_max5_patcher----------
2665.3oc0as0aiiaE94jeEFF8o1DCdQjTrOkY51NEnyrcPmoXPwhEAxVzNZh
rjgtjK6hM+1KuHKKYKKSaS6jIO3PKKJd9N2OGR86WdwvwoOIxGN3uN3WFbwE
+9kWbg9RpKbQ02uX37fmlDGjqusgSiSSJmO7JyOkVVDKJJddgv7LFN7pACGG
jLa3fes5VhB0yKc72uFwVNuEAYAyEEhraEIAii0yFT8aSSylGTntBs5JxELJ
QtNZJ.t5hlUWeUT8CtXxcQIytMSLovPSX.dD3pAHDR8OBv7kQfA+pZJ+wkWp
93pyA7IuFv2ixzHF.c.7SDOJQxRXTHdRuHC+KC.i1JOQxxT3oKFBbXWPD0ID
g8Hg4dZTQMBZ9Hxo.hPzgfQH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_max5_patcher-----------

Ah right. Why would it matter to the object/algorithm what kind of signal and what range (and order) the numbers come in? It could be useful for all sorts of signal gating (though a “normal” gate would also be fine). (or for gating envelopes, like in my example)

I don’t really understand how the old object worked, but was this aspect of it completely independent of the differential stuff?

This seems good, but I guess this will have all kinds of slop from going signal->control->signal again, which would defeat some of the tightness and usefulness of having a signal rate gate signal.

tl;dr bypass the highpass filter by setting its frequency to 0 (which switches it off internally)

The first thing the signal hits is the high pass filter and if your signal is all above 0, then this just ‘looks like’ a big lump of varying DC, which all gets lost.

The range of the thresholds doesn’t matter so much, but positive thresholds only make sense if the signal goes > 1 (0 dBfs = linear amplitude 1):


----------begin_max5_patcher----------
2565.3oc2as0aaiiE94jeEB9wEIA7hHoXeXQ6ryNc.11YJ11EEKlYQgrDssZ
jk7pK4xLXxu8kWjjksk0kXlzLadvghRT7bN767wCOj52O+rYySuSjOy4UN+h
yYm86me1Y5pTUbV00mMas+cAw945GaVP550hjhYWXtWg3tBc8kIaRi8ybxiV
l3Gm+JmbQgyO9gevYQl3+5Tj5.T+L+9MxWjyhn3BQ1ul7qIx2sye0A9Jmxbg
ylz7nhnaDNEqxD4qRiCctwOtTJfU8VbThHHsLQ2kjpJSJWmVVDKJzBHnp1nP
sXkN+qWh.0seieQvpnjkeISDTXzZjm2UfKbfPy+H.0+XtWAb9Oae+QI0udnp
t+37yU+bwHMY4AoaDOLarhKjzi3hYTk.hI3qHPLfx3LByCxPXovi0Bu9ecK8
nGgzmHtUJUGLduHtLJ7J+0aV5WHdv40YxhkabHlRgo2l3fjWH6773n.QrHYY
wJGH.4575zEK1NBCkOUZxtWuJZ4JEPQic.cN561o4Dcn4jV2byiUb+FgwTNy
.UmcgyrYMlqiaxQtzCM4HHTcOJxl3kiXw+KOHMeftgQvC0axP58XzYn6g5rq
q9VnmAPl+77GFsBiOEEFhM9+Trw8peU7wLpJ9sP+fIvBzCI.goDOBR+OWR8u
1a3XpLVdyFzx9+QLVWh1ixRWgM4rfrSkzpxp2M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VOuFlC0+2EWJp
+zHF+QoCxpNv.a4v3sYtro.lkdaxjkvA4VsnD92t2e5BH.wIlCnAigwHiuCB
JCiw9B3ayDhGgDpsdMohCRUAmYeg68RlsjB+IKddt.J0jjPJPJbZSIkC4D6K
i+SQ3jkOVSHXvl0+.plwv1x2+VDGmd6zMgHh4PIw7fd53FADIpjLzgeivA.u
mBE.8mQEPu8EuMM9Q.QZRgDQFwDwbBrZOklUDvMkYa5OMoGDfoKvDWCh.nbM
FF4QnHuQdJFYMGlRWHQRan41TrGV00LSDHhto+ctqKLSyBK2Jbf1muT6Hblk
nnfEidFepqjPiWMQ.q5jeKQybbuqG34AEkKRByeoMCxVir88857XFCXP.yrE
UtT.u5r4yfVE6T3uYnrD1JYTuyuH04cpUgNyZ8edgXQYbbwz1fE0GsBSaRoM
wpqxgwPm9TOBAZRoMEyvlu8.pzkjZWipQodhzIKt9djGyyDXCtw0Ai3XtmUs
Gh7WVeu.2pxly8iO83X5fY0CnF6zKuDWMjI86q1.mQMQ1H+TD5N0fPNGXBKU
hkcq1qcJ.fg6d5m2ye96ixJt24uuL8Q4Na9z4z6fm5cluoZHT+sFe9eb9+C.
wCylv
-----------end_max5_patcher-----------

It was. Splitting up the object was done partly on the basis that this fact was very difficult to dechiper

There will be a small amount of slop, but even without leaving the signal domain, a threshold relative to a slower moving envelope implies the added latency of that envelope process, which could well drown out any timing changes. Give it a shot…

1 Like

Gotcha, that makes sense.

The latency isn’t so much an issue (although I’m not a huge fan), it’s more the inconsistency of being +/- a vector (or more?) from changing domains a couple of times.

As much as it would be a bit redundant, I may just try tweaking it so I use the vanilla max version of the algorithm and then slap fluid.ampgate~ (with the highpass filter bypassed) on the differential and call it a day.

Ok, got around to testing some more and even with your description, the off/on thresholds seem backwards, where the off has to be set to be higher/above the on one.

Also, @highpassfreq 0 appears to kill the process altogether.


----------begin_max5_patcher----------
5487.3oc68r1jiZjjetmeED5C644hd5qdwqaWuwrd8sdi3r2ywYegiKr2nCj
njZ7f.c.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PxKnWv
+WaOwBKMij2ev6Q953jseZnll6WFV1hJubDZeujO7tHQI38NY398gbkIXXf4
srMEFcynb64ffcnWhJWLmxk0wQ9XlfDkgOgNxjmegIOIYSY9E947BoCgxqw0
o3QQzeMZbqpnzXEM5MqjndVtgkgbvXuZE99h33ObpjecXwXN5foKkV5gK+Cg
HWPzGFjEIK.xQNkSFSsPf4n5VTZMB2SOr1VYtSOpiETOrvCxamV8nSm3Acdk
C796RP+1Z+tuD8p4r.mYQfbZTYFMaeUsJEG2PwubNKEJbk3ztP2pR3oZbsNx
MBxkkWPHttTG67irclz.Dp0ZkZGVvoa74QrpMZ0vySBBWowl0IfUMZl4IArp
0zxmXhgAPUOa2D0swjGYSIegm39bLUUW6POtX0FMV2jt0SyEe1RVG2DwZqlq
UiCOU.X0FDd.EQjFME7DAgUa9W8SfhNM76DAf0Zr2gkhmdZl2IB3Zzzt5OUi
NMp6DAi+mb+ACe1ktfgKipAkOiwTCe0aXX8Ig5zjv82fvSKBP9sHBbTmLquH
hNMw6YCf61mrKbbNOXWV0gLrIn+KMRILCXdBOTYHkiQDSjkqTIf3XZQblR7J
guhG7X+qbWaxLkwrc.mPUquzoA3Z1Z3ZLiulsC9nZE7yFgR4Q9oWayfbbenO
c5dsVVv5z24mMVU1e4cmkv95o7I38mlwWuOLL6jKvRcpCCC9EJ8JrzWcQNLZ
VrqMq+SGSSrJk1VTappmEr.URqoknpPprQsnQ5Fp9TPOHN1NJGankpNThK0c
RsdlI5z+qo9E3IQ1bdVePR7MM9DIODIn+xvKo4jcPuOecXzJkDCnUDpnQ9kA
IYOa7usI9TIWG65hTNtBR6r7Ui2Bgn37Bld3DVUqy0xGXUQzpu4Wey+mPcN2
F
-----------end_max5_patcher-----------

tl;dr dB convert the thresholds you use, even if the signal is in the range 0->1.

The same work is being done twice, essentially: your sub-patch is converting the envelope to dB, but the object does that as well. So your 15 and 10 need to be atodb’d (~23 and 20 resp.)


----------begin_max5_patcher----------
5377.3oc68r1iiabjed1eED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BhlFd.18IO7CSdjzlxTL9q4kCEBkWacSwmhLTNZpZ1mYmYYn2P
WhFjcZeJVN3hoKNV5AgW2LRcjUgEgbXKSUh79p33OLUgz5W2FD8gwltL.KQN
kaGSsPfVkdh6pFueqd6N7vNPmmFioYzc0TK4gxC6SahbVnUuZ38dz.R6RR59
Z+dBBDr9vzETs8UUwebXiL95YrTnvThgMgtUQpgZXlNhMBxkkWIJttTG67qr
clTudp0RWZqLZ3FtT2lsbrMZ4jfvUZnRc7xSilnbR.qZMKY6.1krhBFcCQdj
MC4YdK9SQUUcoC8VEq1fi5FzsdZpwSly5vlWT+RoSmFVbp.vpMl3HJhHMZFw
IBBq1zg5G.EcZzvIB.q0PgiKDO8zDgSDv0nYA0eqFcZPvIBF+u49iF9rKMAC
W5+CJeGioF9p2nh5SB0o4D6uwDmVDf74HBbPGTpOKhNMO3ICfa2krs+vjdfA
lLjxtFhIxxUxCSbLsHNZVEi1kESICaBpMj51DZOlTQyD9RdvS8m4t13YJcrb
OvgpVeoSCv0rkT0XGeMaC0ipETOYDJkG4mdssCxg8+5zI60ZYFqS+tdxXUYe
s1cTB6qWVmf4OMiuZWXX13RvhnoUrkjTqRa0EwvXnpO0wzDqBosE0lp58.KP
jzZZIpJj5LgSSn+8DGaGkgMzRQGJwk55LozCQGFeM0u.OKhlyK5GdbwejUGH
pdHwZmz8RZ9RFH2mm.Gs1HSyVQn8PChccQJyRAdYVdt1sPHJtd0O2Pd9qCRx
dw3utN9nDmUsNWK+gcT3s5a9827u.dWrwfB
-----------end_max5_patcher-----------

I’m not sure what output you’re after, but having a play with ampslice on its own with brushes.aif made me think that a single instance would probably never get all the stuff in there, because the amplitude contributions of those toms vs the hats are so great. Here’s what happens if I use two, the fuse the results with a third to tidy up the mess. One of the two has the hpf set pretty agressively, and with a lower floor to try and get those hats, the other is more orthodox.


----------begin_max5_patcher----------
2953.3oc0bs0aaiiE94zeEF90MQf2urO04xNcA1NyNXaWLXwhAEx1zNpUVxq
tjzLCl9a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egCMYs1TVFuZPn9y4MJnycCX6Ez3vVC3zQpr2JsK6s0y
XH9GiqpcsNFmVz+ZlbdEcqyc5K300v+5b8so0lqvm6UoCKatv.26CS20yUHI
vh7ayNaJ7j9VCHE9c2Ee9DHhn49KngTRoDusCACowDdB7MEFyCfBcRu1RwgE
1jyBOw8ifmsrp3yl7TLjP3KRn80OvE4QJzXMO7z3+xr3roOYaJX318+fZhXD
Z56+XRSyu87EgDt+RIIUXk+MlfCnR9ot7abMBodJX.xeFY.2wW7l7zG.DosD
RbHiIt+FX0MjVPHvM0EaFtLoGjfIC4yqgvQBsCCSTbAQMxawnr8xTxvbvsgy
2l06QPMMKLyMI2L7I20Glocik2Sbnt2uzvPb9snXgEiNhufANzzMABjM27a.
MqoCtefmGTToIaQ4KsHH2KjCusWuWyXjDij9inhIP5l6luDGTrSU7lSUkvNE
i5swU4SdqcWnSC15WVYVVmlVcdGvh8kVQ5Doh1b0s0v3T29TEmi8kzVPkT+6
df.LIEgUn5YpmHdJf6umnjJehMzVSGJQS0pfJOLkurdeAt0VMm6Fe4wohSVU
OjU241dIsQkA18MGfynBjMxWEg9KMHVqQ9zRArLq4r1EHDEu6sedO64uOon5
tI+sU4OHyY+qNm6D7rOyxMMpP2+Ch3U+wq9+.LYA9YC
-----------end_max5_patcher-----------
1 Like

Yeah that seems to work, though it’s confusing stuff as I would have thought I was already doing that in the subpatch. But I guess it’s more about what fluid.ampgate~ is doing with the numbers. This first example is what I was looking, so perfect!

Interesting!
I hadn’t thought about ‘double dipping’ the onset detection, and I like the clever use of another one was a “lockout”-ish thing.

This is great for coming up with a very instrument-specific use case, but I’m all about “the perfect (no latency!) algorithm that works, in the way I want, across all kinds of material” kind of thing, lol.

This is very interesting indeed and I did not think of using our objects as such, but I get very good results with this too - playing with parameters of each detector (why not adding a spectral one like onset there) and then deciding with a meta one with ampslice like this is genius. I keep my minslicelength smaller, but I also have this following patch to hear how fast I want it to detect. (notice my thresh is lower than @weefuzzy’s to be more ‘precise’ on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LF9l+9OpnnjuObHDQ
cGPHt.JrEoBnZqxNOJaTI.HNGB.52iBfc6KdcRzHLQJa.DUWWC0cVsplRyKL
35MoqiFWwC7xiTIAR09+1fTlv.zVOgOX.A3JLBQALo0I.InLjvmxUpZtJ7as
uycMYyTtR4cxDn5I3zOLmaIJFyhArrfNMHZbYuDcbPYQ9CdwQSW6DH8ZljLU
7hrmaYP1Ax922qwyiKfCAb2dMQX.YwuB.Nzq1N4Aq6Z2nqzWt2DjmL4MlUgN
0azOKWcylnn7N2fk8OyqBJE55HNCywtelELs2Uaa3k425B29nrxR7McPfK7K
n5DpAKSHAW3py.WZIiQRrT3gkp+DhGprmW+dA9toaN2OpzT87L42bWPgRIvU
8n1NkTrk3L..CqeTqqK3X1wOln+XXZ98S9qKSl1Qix.FEsc4u3B8qNtTw1CM
RMsdN+1k+OPTfLpF
-----------end_max5_patcher-----------

That’s a handy way to test that.
For this, I’m aiming for something in the <1000 range, since I’m chasing those flams and press rolls!

this helped me find by ear what is acceptable for minslicelength, which is always easier than just guessing a number of samples or ms for me…