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

Lensing? or hard-coded operators? #107

Open
sleexyz opened this issue Apr 9, 2018 · 0 comments
Open

Lensing? or hard-coded operators? #107

sleexyz opened this issue Apr 9, 2018 · 0 comments

Comments

@sleexyz
Copy link
Owner

sleexyz commented Apr 9, 2018

The issue right now is that operators like add are hard coded to add to the midi note.

add 0 7 12 13

We might want some concise way of adding to values like velocity, or duration.

otherwise we'll have a bunch of operators like

vel_add 60

or

dur_add 1

which honestly might be fine, since this is a domain specific language.


If we really want lensing, then we should support maybe something like

vel add 0  7 12 13

or

add vel 0 7 12 13

or a higher-order operator, like

(vel add) 0 7 12 13
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