Hello,
this is so simple and stupid I am almost embarrassed to ask. But not enough for not asking in the end.
I was wondering if there is a way to pick the most frequent element from within a list without getting into omloop/counter/recursion/etc. What I mean is the following:
( a b b c d b b b b e) -> b
(1 2 3 2 4 4 4 4 2 3 4) -> 4
I have been scanning through the libraries, but couldn’t find something working properly. So here I am asking for help… if omloop is the way to go a hint would be appreciated. The issue is that I am planning on using this feature in a batch for getting the most frequent quantized f0s from a series of analyses, which means I do not know how many f0 I will get from each analysis itself. Hope this makes sense!
Thanks,
Gab