Noob cannot scan drum snippet #672
Replies: 7 comments
-
@infojunkie This value is measured before the staff lines detection, simply by looking at the histogram of vertical runs. In your example, there is just no vertical distance to measure! Therefore, the OMR engine got lost. I just tried to manually force the scaling data (using the menu I would need to further investigate to make the engine survive this uncommon case. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. I will try to replicate your steps. Why is this case uncommon ? Is it because there's only a single line? It is a common case if you consider music snippets in text books. |
Beta Was this translation helpful? Give feedback.
-
I said "uncommon" because Audiveris is focused on the processing of sheets of music. OK, I will try to make it work (in some way) on such snippets. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your quick replies - much appreciated! |
Beta Was this translation helpful? Give feedback.
-
I have been able to process your snippet, after some manual entries and a few modifications in the code to fit your specfic case. Here is an example: As you can see, we have a system composed of an upper staff of 5 lines and a lower staff of 1 line. In your case, the barline height is about half the size of these (2 interlines) I also saw cases where the lower staff started with a half barline (as if the part surrounded by a green circle in the picture above did not exist). Unfortunately I can't immediately put my hands on a concrete example. We need a way to tell the OMR engine what the expected barline height is for the 1-line staves in the score at hand.
How could the user enter this kind of information? Please help me. |
Beta Was this translation helpful? Give feedback.
-
If you need the user to describe the features of the score, then I imagine that the more detailed the description, the easier the engine will be able to perform the scan. Maybe it would be worth designing a DSL that describes the layout of the score. For example, can the description be expressed in MusicXML? The user would supply the "template" of the score(s) they are sending to the engine. |
Beta Was this translation helpful? Give feedback.
-
I'm afraid asking for some DSL would be too complex for everyone, beginning by the end user. I think the best entry point is the dialog Before the question of barline heights for 1-line staves, we must tell the engine not to try to measure any interline value. Perhaps, we could do this simply via an additional processing switch, like "5-line standard staves", which would be true by default. If the user checks the "1-line percussion staves" to true, the dialog could display additional field(s) about barline heights, specified in number of interlines. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to convert the attached drum notation from Wikipedia. I get the message:
Fandango_dance_pattern With an interline value of 9 pixels, either this sheet contains no staves, or the picture resolution is too low (try 300 DPI).
Is there an option setting to help with this? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions