Negative confidence from fluid.bufpitch~

I want to say I noticed or mentioned this in the past, but search turns up nothing.

I’m noticing that sometimes I get negative confidence values from fluid.bufpitch~. I don’t see any explicit mention of the range of the confidence in the help or reference file, but I was under the impression it went from 0. to 1., with 0. being “no confidence”.

However, I’m often getting negative values, particularly with percussive sounds.


----------begin_max5_patcher----------
2635.3oc0as0baiaE9Y6eEr5wcbzf6jnuzjzsM6LMoMSS5joSlLdnjfjYBEo
JIkur6r42dO.fjRThRjTAx1qevFhBGhy4CemK3h+sKuXzjz6U4i79yde16hK
9sKu3ByizO3hxOewnkg2OMNL2zsQSSWtTkTL5J62Untuv7b1XueJQsHrH5V0
O4MMMYdzLUxTk2sgwqU4+k+TkDqxT4vK.5XZx0wQIpooqSLuCZYOlmlTjDtT
Ydu+hJ9VUQzzvZ4CKldSTxhqyTSKrZNKXL5JOJ17GBSX9CdLx6KkxjrdYTRr
pvXB3sFl4gSUa+LnioqKp5Ip7oQyLpR5ju9hfQaIcdzuZklOFoe5ue4k5ec0
OHTRG6kjdmWQ1CdE2Dk6klnFcpPCEiFyArwWiIXF5LBM9OBPCYr2rzE42DUr
EE6JuIq29ydpnhaTYd2E9vYmzQjXC2iyOiHq3Q.Ywi8BSBie3WUd4EgYEfw5
Af3oy7JcJsDOe1YDd3NDdVpxyCWn1CdPiIBNSH8fFTBlwgFXNGGneBJ.Sw5+
x8EbaWPRLQ2EAiwYcyhDFVDqz+jbHXhzJjf2GRnUCosaEOrRYGuQi79xI.KI
p6fWa0K81vrZpv730QyFOY8bRbTdwmoeYOnqYO7dIzZN3ctJB.iq2301MHgK
idgONHg6KHIDNFkND4w3PMOCfLOLBAJ+jvjEcZuBqqCQ3HNAi83atAcZqkIn
JMVjqLV940CXexMDWcUZt56duLOccFjDxvu8d4LUNDK0j3YOJOzWMTM8lvDO
bm7ArfLlt8OXFDxfDbJdCz8QLLlePHyNGps1zvBcCmhg1.BeefQDHn.DDm07
ClJuxiCoW7ILpjCeAm4GHv.nQkmB9PZIZA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55abux8NHx
VRQ3fUu.FRHr61m.AJmAJERrj6dc7eqlMX8yutpWb8hpPkYLbs98eUwwo2Mb
Hjvs2tE+.bfoTcDGXkcdCr3RDJ3bX.j+HZ.liu3Mowm.EodiS3PkPb6EMZ6j
fNQAWsNaUrZPEmxP15ZHbjPZ3vj.tfDzyJz7qu.gLLGBaXhsoid3TWyL0TUz
sG+j6ZiyTu1rMJGZ6KdnaTN6RTzzhAf7cRHZcEjLHNnrL+ge4koFbBjNMSRt
JYV9ysLHa.4i66syEc0Gi7sGXDSfjkW9beb2WLvGGG1hvUccSt2ZGtdaXQp2
a0qBcjyF+7B070wwEcd.K6dOMC3brcOYETep8RuK.uKwwtCwLLTNooXx5EEn
2yg5qLoSMpAaSj.+.acFzZlLkHoxfeDa5Ie88Ep7mW++Bbmd2bdX.D+eNJq3
Au+1hzt9eTAomKLqKkVNE.dxkmdQ2aiEVJQ1pKAdLq7HyEHDEer6jKUzmDkc
cG3GNvZ+emybBdZnJeU4Tn4e1zK+8K++.cSyVQ.
-----------end_max5_patcher-----------

it is an old known bug, it is on @groma 's radar already. Soon the known issues will be transferred to GitHub so you will be able to check there the state of things.

1 Like

That’s good to know.

I was gonna ask if negative values mean the confidence is “super duper low” and I can just clamp them to zero for the purposes of confidence-weighting pitch, but that won’t work either. I’ll just loudness-weight it for now.