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

add naturalization #52

Open
truj opened this issue Feb 25, 2020 · 0 comments
Open

add naturalization #52

truj opened this issue Feb 25, 2020 · 0 comments
Labels
enhancement midicapl For changes in the MidicaPL language

Comments

@truj
Copy link
Owner

truj commented Feb 25, 2020

Notes and chords in the real world are not always played exactly in the same instance. E.g. it's an audible difference if you play the same guitar chord as an upstroke or downstroke.
Such effects should be implemented somehow.

Mabye with a new option naturalize, short form n

E.g. something like this:

0  c,d,e  /4  n=up(/32)
0  c,d,e  /4  n=down(/32)
0  c,d,e  /4  n=random(-/32:/16)

up(/32) - upstroke, /32 between each note-on (and note-off)
down(/32) - downstroke, /32 between each note-on (and note-off)
random(-/32:/16) - randomly distribute note-on and -offs in a range between /32 before and /16 after the 'correct' time

Something similar should be done with velocities.
Not yet sure how this could look like. Maybe like this:

0  c,d,e  /4  nv=up(4)
0  c,d,e  /4  nv=down(5)
0  c,d,e  /4  nv=random(-3:5)

Can be combined of cause:
0 c,d,e /4 n=up(/32), nv=random(-3:5)

@truj truj added enhancement midicapl For changes in the MidicaPL language labels Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement midicapl For changes in the MidicaPL language
Projects
None yet
Development

No branches or pull requests

1 participant