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

object support for .scale #307

Merged
merged 3 commits into from Dec 19, 2022
Merged

object support for .scale #307

merged 3 commits into from Dec 19, 2022

Conversation

felixroos
Copy link
Collaborator

@felixroos felixroos commented Dec 15, 2022

.scale can now be used on object values. if a value is an object, scale will use the n value. example:

n("0 1 2").scale('D minor')

before (still works), this was needed:

"0 1 2".scale('D minor').note()
// or
note("0 1 2".scale('D minor'))

@felixroos felixroos merged commit 61657bd into main Dec 19, 2022
@felixroos felixroos deleted the obj-support-scale branch December 19, 2022 20:02
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