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

use ireal as default voicing dict #967

Merged
merged 5 commits into from
Mar 10, 2024
Merged

use ireal as default voicing dict #967

merged 5 commits into from
Mar 10, 2024

Conversation

felixroos
Copy link
Collaborator

@felixroos felixroos commented Feb 29, 2024

sets ireal as the default dictionary, as it supports much more voicings than the old one.
To not break old patterns that implicitly use the old default, there is now setDefaultVoicings('legacy') that could be tacked on automatically to all patterns in the database, or as a quick fix for the personal collection.

edit: I've prepended this line to all patterns in the database that were containing the string .voicing():

typeof setDefaultVoicings !== 'undefined' && setDefaultVoicings('legacy') // https://github.com/tidalcycles/strudel/pull/967

the typeof check is to make sure it still works on older versions

+ add global way to set and reset default dict
+ add mechanism to get a module by name from dynamic imports
@felixroos felixroos merged commit c373a04 into main Mar 10, 2024
2 checks passed
@felixroos felixroos deleted the default-dict branch March 10, 2024 00:18
@felixroos felixroos mentioned this pull request Mar 24, 2024
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

Successfully merging this pull request may close these issues.

None yet

1 participant