Tidal
Tidal copied to clipboard
select and selectF doesn't split the index equally
Describe the bug select and selectF doesn't split the index equally.
To Reproduce do let test = [ struct "t(16,16)" $ sound "bd" , struct "t(16,16)" $ sound "sn" , struct "t(16,16)" $ sound "hh" ] d1 $ select (cF0 "51") test
cF0 "51" is a knob I have set to select one of the patterns. Setting 0 - 0.49 results in the pattern from index 0 of the list. 0.5 - 0.99 results in the second pattern. 1 results in the third pattern.
Expected behavior The following workaround gives the expected behavior:
do let test = [ struct "t(16,16)" $ sound "bd" , struct "t(16,16)" $ sound "sn" , struct "t(16,16)" $ sound "hh" , squeeze 2 test ] d1 $ select 1 test
Will be split as: 0 - 0.33 (index 0), 0.34 - 0.66 (index 1), 0.67 - 1 (index 2)
Environment (please complete the following information):
- OS: Debian 10 Buster
- Haskell version 8.4.4
- Tidal version 1.4.9
- SuperCollider version 3.10.0