Piano Four Hands "Instrument"

• Sep 6, 2015 - 01:53

My first scores I created in MuseScore was a set of Beethoven's Op. 45 marches for piano four hands . For instruments I chose two pianos. However, for the purposes of playback, that's not really correct -- only one instrument should be used. When the secondo player presses the damper pedal, all notes played by both players are dampened.

For the Beethoven, I didn't put in any pedal markings at all, so that wasn't an issue. But what if I wanted to add pedal markings in a future score for piano four hands? If I put pedal markings in the secondo part, then the notes in the primo part will not be dampened (which is no surprise to me). Listen to the Piano_Four_Hands-2_Inst.mscz file to see what I mean.

I guess I could work around this by adding hidden pedal markings to the primo part. But dampening separate parts sounds different than dampening the two parts together. So I decided to experiment. Just for kicks, I added to the instruments.xml file a piano instrument that requires 4 staves (I replaced the brackets with parentheses so that the text would appear in this forum):

(Instrument id="piano-four-hands")
(longName)Piano Four Hands(/longName)
(shortName)Pno. 4H(/shortName)
(description)Piano Four Hands(/description)
(staves)4(/staves)
(clef)G(/clef)
(bracket)1(/bracket)
(bracketSpan)2(/bracketSpan)
(barlineSpan)2(/barlineSpan)
(clef staff="2")G(/clef)
(clef staff="3")F(/clef)
(bracket staff="3")1(/bracket)
(bracketSpan staff="3")2(/bracketSpan)
(barlineSpan staff="3")2(/barlineSpan)
(clef staff="4")F(/clef)
(aPitchRange)12-108(/aPitchRange)
(pPitchRange)12-108(/pPitchRange)
(Channel)
(program value="0"/)
(/Channel)
(Articulation)
(velocity)100(/velocity)
(gateTime)95(/gateTime)
(/Articulation)
(genre)common(/genre)
(genre)jazz(/genre)
(genre)orchestra(/genre)
(/Instrument)

Not surprisingly, when I created another score with this "instrument," the long and short names do not appear. However, the brackets and barlines are laid out the way I expected, and the damper pedal works as it should (listen to Piano_Four_Hands-1_Inst.mscz). I tried to add the long names manually by inserting a horizontal frame; however, I had to add two characters (I used semi-colons) of different fonts in order for the names to line up. It looks like I can't hide individual characters in the frame.

Probably it wasn't worth it to create a new piano "instrument" with four staves. I know that in MuseScore notation is more important than playback. I'll probably use the workaround I mentioned earlier (use two piano instruments and put in hidden pedal markings in the primo part). But it was cool that I made some guesses on the syntax of the instrument.xml file and the score laid out correctly.


Comments

In reply to by Jojo-Schmitz

Jojo - regarding your attachment...
test

Great idea... a single pedal mark placed anywhere works for all four staves!
This 'piano four hands' would be great to include in 'All Instruments'- especially useful for piano teachers where student and teacher share the same instrument, and lessons are written for four hands, teacher operating the pedal.

Regards.

Attachment Size
Four Hands.png 87.25 KB

In reply to by Jojo-Schmitz

Jojo-Schmitz, nice! When I create a new file with this template, then the pedaling works as it should. One minor thing – usually in piano four-hand parts Staff #2 starts in treble clef and Staff #3 starts in bass clef. I tried to change the clefs and resave as another template (which I've attached), but the changes did not stick. In the View->Instruments window, I cannot change any of the clefs. Anything else I should do here?

Attachment Size
Piano_Four-Hands.mscz 10.13 KB

In reply to by suhak_eumak

Content - including notes, key signatures, lyrics, but also clefs - are not inherited from templaters. Just the basic arrangement of staves. The default clefs for each staff come from the instruments.xml file, so modifying that is the only way to make a custom/non-standard clef arrangements appear as the default, as far as I know.

In reply to by Jojo-Schmitz

Jojo-Schmitz, I think I fixed the issue with Staff #2 & #3 beginning with the "wrong" clef -- I noticed that in the View->Instruments window, one can change the order of the staves, so I just switched the order of Staff #2 & #3. The edited template is attached. Anyone notice anything amiss?

EDIT: Attachment deleted. I found some errors that I made. I also didn't realize that you can edit an uncompressed mscx file with a text editor.

EDIT #2: Attachment restored. It was fascinating to look at the uncompressed mscx file and figure out the various XML tags. So much that I created another template - a four part open score that uses a single piano instrument. (I'm thinking about notating Bach's The Art of Fugue next.)

Attachment Size
Piano_Four-Hands-Edit2.mscz 8.34 KB
Piano_Open_Score.mscz 7.71 KB

Do you still have an unanswered question? Please log in first to post your question.