Open sleexyz opened 6 years ago
The issue right now is that operators like add are hard coded to add to the midi note.
add
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
add vel 0 7 12 13
or a higher-order operator, like
(vel add) 0 7 12 13
The issue right now is that operators like
add
are hard coded to add to the midi note.We might want some concise way of adding to values like velocity, or duration.
otherwise we'll have a bunch of operators like
or
which honestly might be fine, since this is a domain specific language.
If we really want lensing, then we should support maybe something like
or
or a higher-order operator, like