Skip to content
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

(surprising/inconsistent) handling of begin/end attributes in slice #1066

Open
jwaldmann opened this issue Jan 20, 2024 · 0 comments
Open

(surprising/inconsistent) handling of begin/end attributes in slice #1066

jwaldmann opened this issue Jan 20, 2024 · 0 comments

Comments

@jwaldmann
Copy link
Contributor

This is fine (selected part of sample gets cut in half):

ghci> chop 2 $ s "led" # begin 0.03 # end 0.86
(0>½)|begin: 3.0e-2f, end: 0.44499999999999995f, s: "led"
(½>1)|begin: 0.44499999999999995f, end: 0.86f, s: "led"

but this is surprising (does not cut the sample):

ghci> slice 2 0 $ s "led" # begin 0.03 # end 0.86
(0>1)|begin: 3.0e-2f, end: 0.86f, s: "led"

see discussion at https://club.tidalcycles.org/t/surprising-inconsistent-handling-of-begin-end-attributes-in-slice/5052/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant