New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Something's wrong with squeezeJoin (was: silence when using slow before chop) #216
Comments
same with ply, which also uses squeezeJoin: https://strudel.tidalcycles.org?SB-hFm0uROHV |
s("hh").slow(0.5).chop(4) is ok.. In tidal In tidal |
This does work in tidal: *Sound.Tidal.Context> ply 2 $ slow 2 $ s "bd sd"
(0>½)|s: "bd"
(½>1)|s: "bd" this doesn't *Sound.Tidal.Context> ply 2 $ slow 4 $ s "bd sd" works *Sound.Tidal.Context> ply 2 $ slow 2 $ s "hh hh"
(0>½)|s: "hh"
(½>1)|s: "hh" doesn't *Sound.Tidal.Context> ply 2 $ slow 2 $ s "hh" |
Doesn't work in tidal 2.0 either.. *Sound.Tidal.Signal.Base> _ply 2 $ _slow 4 $ fastcat [sigAtom "hh" :: Signal String, sigAtom "bd"]
[] |
I think the problem starts here: _compress(b, e) {
if (b.gt(e) || b.gt(1) || e.gt(1) || b.lt(0) || e.lt(0)) {
return silence;
}
return this._fastGap(Fraction(1).div(e.sub(b)))._late(b);
}
|
Getting somewhere, not quite there yet though.. |
…aveform, fix squeezejoin/ply (ref tidalcycles/strudel#216)
…ting functions up to the pattern module
Continuing from comments on #220 Ok this returns 0.5 and not 3.5, so there's definitely something wrong with squeezeJoin.. So something makes sense now. pure(time.struct(true))._squeezeJoin().queryArc(3,4) |
Now I understand - the inner pattern of |
* fix for squeezejoin (ref tidalcycles/strudel#216), moving some supporting functions up to the pattern module * fix benchmark imports
* fix for squeezejoin (ref tidalcycles/strudel#216), moving some supporting functions up to the pattern module * get right cycle number from inner pattern in squeezeJoin * fix benchmark imports * stop moving old tidal binary, fixes #964 * reinstate step commented in error
* fix for squeezejoin (ref tidalcycles/strudel#216), moving some supporting functions up to the pattern module * get right cycle number from inner pattern in squeezeJoin * fix benchmark imports
when slowing down a pattern before calling .chop , the pattern will return nothing:
repl link
Could this be a bug in
_squeezeJoin
? I am not entirely sure what the expected result should be, probably the same as line 2.The text was updated successfully, but these errors were encountered: