Skip to content
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

Support for 4 hands piano sheet #220

Closed
Maarethyu opened this issue Dec 26, 2018 · 6 comments
Closed

Support for 4 hands piano sheet #220

Maarethyu opened this issue Dec 26, 2018 · 6 comments

Comments

@Maarethyu
Copy link

Some four hands piano sheets have a page/page layout, where left page is for left player and right page is for right player.
The two pages are meant to be played at the same time.

We need a way to tell Audiveris that every 2 pages needs to be played at the same time.

@hbitteur
Copy link
Contributor

@Maarethyu

  1. Could you provide an input file (certainly pdf or tiff format) that we could use as a concrete example?
  2. How such page-based layout would be formalized in the MusicXML output? Here again, a concrete MusicXML output might help.
  3. We need a way for the user to tell Audiveris that the input at hand is a 4-hand piano specific layout.
  4. How should we assign a given page to its proper player? A (perhaps simplistic) approach could rely on page number: an even number for left player and an odd number for right player (or vice versa???).

@Maarethyu
Copy link
Author

  1. Here is an example: [Free-scores.com]_rachmaninoff-sergei-the-island-the-dead-111715.pdf

  2. I have not digged into MusicXML yet, so I would guess the best way to express this 2 page format would be 4 piano staves like this: screenshot_1

  3. That's up to you, it doesn't really matter to the end user.

  4. The odd/even approach will probably work everytime as long as you allow to choose wich one of odd or even is the left or right page

@maximumspatium
Copy link
Contributor

To my knowledge, there is no way to express such layout in MusicXML 3.0. Moreover, changing music layout is beyond the scope of Audiveris.
I think the easiest approach is to extend Audiveris export function to spill sheets into MusicXML in a custom-defined way by means of an additional dialog. In this precise case it would look like that: odd sheets -> left piano, even sheets -> right piano.
Then both piano parts can be merged into one score using a dedicated score editor (if wanted to).

@hbitteur
Copy link
Contributor

In standard notation, music flows from one system to the next, and from one page to the next.
Here, we are talking about changing this principle, so it is not only a question on exporting to MusicXML.

By introducing odd/even pages, we require the OMR engine to "jump" over each other page. For example orphan slurs at the end of a page will need to be connected to orphan slurs at the beginning of the "next" page, and of course "next" here has a very special meaning, not +1 but +2. A very specific feature.

Instead, I would suggest that you have a look at issue #232 your request is a bit different but you could use a similar workaround. With PDFSAM utility, you could easily gather every other page into a "primo" PDF and the others into a "secundo" PDF. Then ask Audiveris to transcribe each PDF into MusicXML and finally "merge" the two instruments with help of a music editor like MuseScore, Finale, etc...

@maximumspatium
Copy link
Contributor

With PDFSAM utility, you could easily gather every other page into a "primo" PDF and the others into a "secundo" PDF. Then ask Audiveris to transcribe each PDF into MusicXML and finally "merge" the two instruments with help of a music editor like MuseScore, Finale, etc...

This sounds like a good workaround to me, despite some inconvenience. This way, you'll get the desired output much more quicker than trying to hack Audiveris to support this very specific layout.

@Maarethyu
Copy link
Author

I'll settle with the workaround as it should work perfectly for my use case anyway.
I'll leave the issue open but feel free to close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants