I've reached a major stumbling block in creating an audio-rate sequencer. I have a phasor that cycles 32 times per beat, and I need a way to find when its phase is exactly 0 or 1 (i.e. when it's on the first and last sample of each sequencer 'tick').
I've only been able to reach the solution below, which is, frankly, unusable for my needs. At low BPMs I'm sure the [~0.09] objects spit out 1s for more than one sample, and at moderate to high BPMs they begin to drop samples.
If anybody has any solutions to this issue I'd be very grateful for some tips.