You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm filtering passages marked manually as cadences (!! cadence start/end) with the yank command.
Is it possible to fix the output by yank so the result becomes a valid kern score? At the beginning there are beats missing when a voice begins with a null token. At the end there are beats missing when a voice has a longer note duration than the other voices (note duration is longer than the duration of the last line/slice when comparing with beat -p -d -n -u 1).
I just posted a similar issue for the myank filter: #780. Would it be a better solution not to fix the yank command but implement this feature into the myank filter and support not only measure range selection but also allow to pass line ranges (e.g. myank -l 181-187)?
I just posted a similar issue for the myank filter: #780. Would it be a better solution not to fix the yank command but implement this feature into the myank filter and support not only measure range selection but also allow to pass line ranges (e.g. myank -l 181-187)?
Yes, yank is written in AWK which I can read but not write (so it is difficult for me to enhance awk scripts).
I startet a PR as a draft to add line range selection to myank in craigsapp/humlib#55. Probably not the best solution, but it's a start. Any feedback welcome.
This is related to #779.
I'm filtering passages marked manually as cadences (
!! cadence start/end
) with theyank
command.Is it possible to fix the output by
yank
so the result becomes a valid kern score? At the beginning there are beats missing when a voice begins with a null token. At the end there are beats missing when a voice has a longer note duration than the other voices (note duration is longer than the duration of the last line/slice when comparing withbeat -p -d -n -u 1
).I just posted a similar issue for the
myank
filter: #780. Would it be a better solution not to fix theyank
command but implement this feature into themyank
filter and support not only measure range selection but also allow to pass line ranges (e.g.myank -l 181-187
)?Examples
Source file: https://verovio.humdrum.org/?file=https://raw.githubusercontent.com/WolfgangDrescher/lassus-geistliche-psalmen/master/kern/01-beatus-vir.krn (comments with the cadences are not yet commited)
Missing durations at end of yanked passage
yank -l -r 181-187
VHV
Expected output
VHV
Missing durations at beginning (and end) of yanked passage
yank -l -r 49-55
VHV
Expected output
VHV
The text was updated successfully, but these errors were encountered: