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

Rename/rejig stepwise functions #1136

Open
3 tasks
yaxu opened this issue Feb 2, 2025 · 10 comments
Open
3 tasks

Rename/rejig stepwise functions #1136

yaxu opened this issue Feb 2, 2025 · 10 comments

Comments

@yaxu
Copy link
Member

yaxu commented Feb 2, 2025

Tracking developments in tidalcycles/strudel#1207

Tweaks to do along the way

  • polymeter should fit a cycle, the lowest common multiple being the step count. This should probably apply in mininotation to {} as well
  • As @matthewkaney pointed out, step count of euclid should be used e.g. "x(3,8)" should have step count of 8
  • Look at bringing back old 'preplace' functionality, ref Preplace update #718
@sss-create
Copy link
Collaborator

Should we implement as breaking change or alias the old functions to the new?

@yaxu
Copy link
Member Author

yaxu commented Feb 5, 2025

Should we implement as breaking change or alias the old functions to the new?

I made deprecated aliases in strudel, but the old function names aren't in a release and not many people are running dev, so I think no need for tidal.

@sss-create
Copy link
Collaborator

hm, so renaming setTactus was easy, however I don't get how to use it or what it does exactly (neither code nor videos).

  • is expand in strudel elongate in tidal? Others from the list in Strudel are not implemented in Tidal yet, right? Like grow/shrink?

@yaxu
Copy link
Member Author

yaxu commented Feb 6, 2025

I've been jumping between tidal and strudel, so Tidal is more advanced having patterned tactus/steps, and strudel has cleaner function names.

This page is trying to explain it: https://strudel.cc/learn/stepwise/

@yaxu
Copy link
Member Author

yaxu commented Feb 6, 2025

Hmm tidal doesn't have an elongate function? But yes expand is similar to @ in mininotation.

@yaxu yaxu mentioned this issue Feb 13, 2025
@yaxu
Copy link
Member Author

yaxu commented Feb 14, 2025

The count here should probably be multiplied to "6 4"

tidal> steps (fastcat ["a b c", "d e"] :: Pattern String)
Just (0>½)|3 % 1
(½>1)|2 % 1

The count pattern here should also be time shifted:

tidal> steps (rotL 0.1 $ fastcat ["a b c", "d e"] :: Pattern String)
Just (0>½)|3 % 1
(½>1)|2 % 1

@sss-create sss-create added this to the Tidal 1.10 milestone Feb 14, 2025
@sss-create
Copy link
Collaborator

this is more like tidal 2.0 now, right?

@yaxu
Copy link
Member Author

yaxu commented Feb 20, 2025

this is more like tidal 2.0 now, right?

No but work will continue past 1.10 - I expect to continually work on and merge tweaks and enhancements around this.

@sss-create
Copy link
Collaborator

I have the feeling that this issue and #1039 and maybe #1144 could be merged into one issue, @yaxu?

Additionally, maybe a 'function' label to mark other issues that deal with concrete function bugs/feature request is a good idea.

@yaxu
Copy link
Member Author

yaxu commented Feb 20, 2025

I've closed #1144. #1039 is best left as a separate issue I think, as this is focussed on stepwise changes. Feel free to tinker with labels..

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

No branches or pull requests

2 participants