Need to move pedal line anchor

• Jun 19, 2020 - 00:45

In the attached test score, I have two chord arpeggios that are played with the sustain pedal down, but the pedal is changed on the first note of the second chord at beat 2.5, so the two chords do not sound simultaneously, causing dissonance. However, when Musescore plays this score to a MIDI output port, which is the MIDI input port of Pianoteq, the inverted V in the pedal line does not lift the pedal in Pianoteq, and the two chords sound together, creating dissonance. The pedal line in the score is notated exactly how I want it, so I do not want to change that. I do want to move the anchor at the end of the first pedal line slightly to the left, so the pedal up and pedal down events do not occur on the same MIDI tick. I could find no way to move the anchor without changing the length of the line on the score. Is there any way that can be done?

Attachment Size
test14.mscz 3.77 KB

Comments

I thought a workaround would be to disconnect MIDI output and use the internal synthesizer of the computer. That works for a score created in Musescore, such as test14.mscz attached to the first post of this thread. However, I found that does not work for a score I created by importing a MIDI file into Musescore. The attached test15.mscz is the first two measures of that score. For some reason, the notes will not play in Musescore using the internal synthesizer. I could not find any setting in Musescore that enables note playback.

Attachment Size
test15.mscz 6.06 KB

In reply to by Spire42

Unfortunately, the problem persists in Musescore 3.5 beta. Specifically, that problem is that the inverted V consisting of the 45-degree angle right slant and the 45-degree angle left slant in a pedal line does not lift the pedal in Pianoteq connected to the MIDI port Musescore is using for output.

If there were a way to shift the anchor at the end of a pedal line slightly to the left, without altering the displayed length of the pedal line, that might fix the problem.

In reply to by Spire42

Curious as to what is going on, I connected MIDI-OX, a MIDI event data capture and logging utility, to the MIDI port that Musescore is using for output. I then played the file test14.mscz in Musescore and captured the MIDI events output to MIDI-OX. There were a ton of note off events before the actual notes played in the MIDI file, so I edited the log file to show the relevant MIDI events and saved it to the file MIDI_log.txt attached to this post. The sustain pedal events of interest, a pedal off and a pedal on event, both occur at timestamp 65329. This was captured from Musescore 3.5 beta, with the value pedalEventsMinTicks set to 1024. It had no apparent effect on the timestamps of the two consecutive sustain pedal events.

Attachment Size
MIDI_log.txt 1.27 KB

In reply to by Spire42

I think an option to move pedal line anchors left or right in increments of 1/64 notes would fix the problem. In the real world, a pianist cannot release and depress the pedal at the same time; there is always an interval of time between those two events. Even if a pianist could do that, the effect would not be good, because the damper needs to be in contact with the strings long enough to stop them vibrating. It needs to be possible to move the anchors without changing the appearance of the pedal lines on the score.

In reply to by steven_brown1

That's essentially what the new io/midi/pedalEventsMinTicks setting is already supposed to do, except that it works on a global level. It specifies the minimum amount of time in between MIDI events generated for consecutive pedal-up and pedal-down events that would otherwise occur at the same instant. It's expressed in “ticks”, where one tick is 1/480 of a quarter note.

However, there's a bug in the new pedal MIDI-generation code, so it doesn't work as it should. I'm working on a fix.

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