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
When I try to use e.g. cat test.krn | myank -l 2-10 on a file with a pickup before the first measure the command will fail and actually output the whole kern data and does not yank anything.
test.krn
**kern
4e
=1
4a
4g
4f
4e
=2
2d
4e
4b
=3
4cc
4cc
4b
4b
=4
1a;
==
*-
Expected output with myank -l 2-10
**kern
4e
=1
4a
4g
4f
4e
=2
2d
4e
*-
I tried to debug this, but I don't yet understand fully the logic of MeasureInfo and where it does get hydrated. It looks like in Tool_myank::processFile the expandMeasureOutList function does not assign anything to m_measureOutList. Would it make sense to add an additional MeasureInfo element that contains all notes before the first bar number (e.g. as NUMBER = 0 or NUMBER = -1) at the beginning of the vector?
The text was updated successfully, but these errors were encountered:
When I try to use e.g.
cat test.krn | myank -l 2-10
on a file with a pickup before the first measure the command will fail and actually output the whole kern data and does not yank anything.test.krn
Expected output with
myank -l 2-10
I tried to debug this, but I don't yet understand fully the logic of
MeasureInfo
and where it does get hydrated. It looks like inTool_myank::processFile
theexpandMeasureOutList
function does not assign anything tom_measureOutList
. Would it make sense to add an additionalMeasureInfo
element that contains all notes before the first bar number (e.g. asNUMBER = 0
orNUMBER = -1
) at the beginning of the vector?The text was updated successfully, but these errors were encountered: