-
Notifications
You must be signed in to change notification settings - Fork 1
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
scriabin-op66.krn
: adding dynamics has caused rendering problems
#62
Comments
There seems to be a rhythmic or spine problem around measure 168 which I am looking for. But otherwise, this strange notation typically indicates that the dynamic was placed in a |
The problem is that the Also on line 2652 there is a
Line 2941:
fortes on lines 2371 and 2373:
I found these by extracting
If you fix these dynamics (I don't know which staff they should go on, so you get to fix them) and the notation is still having funny gaps before the first beat, there is still likely something non-kern in a kern spine somewhere (I can look for it if you cannot find it because sometime it is tricky to locate). |
There was one more. Here is how I found it using hum-parser: > ,require hum-parser.rkt
> (define 66-path "../../Desktop/Mysterium/op66/scriabin-op66.krn")
> (define 66-spines (spine-parser (path->hfile 66-path)))
> (define 66-kern (filter (λ (s) (string=? KERN (type-spine (global-spine-tokens s)))) 66-spines))
> (define (dynam-filter lot)
(filter (λ (t) (regexp-match? #px"^[pmsfz<>\\[\\]\\(\\)]+$" (token-token t))) lot))
> (map (λ (s) (map dynam-filter (global-spine-tokens s))) 66-kern) This outputs lists of tokens for each spine, with non-dynamic stuff filtered out. This leads to empty lists, except for this, which was in staff1: (list (token ">" "SpineData" 1905)) |
Since adding dynamics, the rendering of scriabin-op66.krn is off.
Before dynamics:
After dynamics:
The text was updated successfully, but these errors were encountered: