Tracking onsets with buffer~
I have to give it up to Mr. Boehm it’s the first time I saw somebody track onsets by writing 1s onto a dedicated buffer equal length with peek~ and it’s a really neat trick! I’m also using his aubio object which is amazing, and I’m thankful that I was able to even find out about that library thanks to that external.

Ok so there they are! I can draw them. Excuse my noob, but, it is frying my mind that I can’t turn this into a “tab to transient” situation, like actually refer to the sample position of where the external made the mark. I tried using a ramp to drive peek, and I expected to be able to count samples and stop at a zerox with an uzi defined by buffer length
so
[uzi (length)]
|
[counter (length)]
|
[peek~ onsets]
I expected to get a nonzero scanning for transients this way, and then jam the uzi on next detection. Why does it seem so easy what did I miss?
Also… using this method… I notice waveform~ seems to struggle to display these onset buffer writes depending on zoom. Even at a decent zoom, waveform doesn’t show these onsets unless it’s zoomed in pretty close (like length=250ms or so)… my next approach was to try to just write longer blips at these spots because I assume it’s just a scaling graphics issue that waveform~ rightly wouldn’t care about…
Update:
I’m an idiot and didnt name my buffer~ properly lol. So it does work as expected and this is a super nice way of doing it imo. Cheers!
