I’m trying to use guitar strums as a trigger in audio visualization. I managed to get there somewhat using gist sound analysis / peak energy, but I am facing the problem of unwanted retriggering. A strum is sometimes detected without an actual strum on the guitar.
I have attached a patch - built on the gist example in the help browser - with a guitar sound example. I have picked an especially ‘hard to detect’ example as it could occur in a live situation, but I am not sure, if there is a way of detecting examples this hard reliably.
In the patch attached I have tried avoiding retriggering using a monoflop, but that approach did not do the trick. Also I am not sure if gist / peak energy is the best approach to achieve strum/note detection.
So, any help or hints much appreciated,
thanks a lot in advance!
gist analysis guitar example.zip (756.3 KB)