-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Mini-notation for fraction shorthands #65
Comments
this is potentially blocked by #483 |
@felixroos |
Now I've worked out how to type ⅓ and ⅜ on my keyboard (super/windows key followed by the numerator and denominator), I'm thinking it could be nice to support those in the mininotation. These are the available fractions in ascii: ½ ⅓ ⅔ ¼ ¾ ⅕ ⅖ ⅗ ⅘ ⅙ ⅛ ⅜ ⅝ ⅞ There's more in unicode, but without editor features, they're harder to type.. You can also construct them like ¹³¹⁄₁₂₄ |
I guess the problem with #793 is that without type inference, things like |
The tidal mininotation has these shorthands for fractions:
It allows a prefix factor, e.g.
5s
is parsed as 5/16ths,2t
as 2/3rds etc.e
on its own would be 1/8th, unlike for notes where it would be parsed as the note label for4
.. I.e. notes are parsed differently from other numbers.Explicit ratios can be given with
%
, e.g.3%7
would parse to3/7
. (/
can't be used as that's taken by 'slowing down' steps).Part of #30.
The text was updated successfully, but these errors were encountered: