strudel icon indicating copy to clipboard operation
strudel copied to clipboard

Support zero width queries

Open yaxu opened this issue 3 years ago • 1 comments

"a b".queryArc(0,0) will return nothing, rather than the first event as with tidal

yaxu avatar Jul 07 '22 09:07 yaxu

An easy fix would be to check if begin and end are the same, then just query begin+some small number to get the first hap(s). Probably not the cleanest approach though

felixroos avatar Aug 13 '22 09:08 felixroos

This is something that works well in tidal, but not in the current 'cycseq' dev branch, which is based on the same innards rewrite as strudel... Fixing this on https://github.com/tidalcycles/strudel/tree/fix-zero-length-queries

yaxu avatar Oct 28 '22 16:10 yaxu