MuseScore icon indicating copy to clipboard operation
MuseScore copied to clipboard

[MU4 Issue] Entered notes are heard staccatissimo rather than at reasonable default duration

Open rgreen5 opened this issue 2 years ago • 6 comments

Describe the bug

In Note input mode, when you enter notes (from the computer keyboard) they should be audible at a reasonable default duration (as in MS3). However in MS4 they are being heard staccatissimo.

Platform information OS: Linux Mint 20.1, Arch.: x86_64, MuseScore version (64-bit): 4.0.0-2613746296, revision: github-musescore-musescore-b70aa9b

rgreen5 avatar Jul 05 '22 11:07 rgreen5

Maybe interesting: for VST instruments it seems to work OK, it only happens for Fluid.

cbjeukendrup avatar Jul 05 '22 11:07 cbjeukendrup

@vpereverzev I think this is because AbstractEventSequencer::eventsToBePlayed does not take nextMsecs into account when handling offStreamEvents.

cbjeukendrup avatar Jul 07 '22 11:07 cbjeukendrup

yes, this is quite an annoying issue.

Tantacrul avatar Jul 08 '22 12:07 Tantacrul

Tested in latest master (after merging)

@Tantacrul Now entered notes are not sound staccatissimo (FIXED), but there are still two differences between MU3 and MU4

  1. During note input, the duration is a little bit longer in MU4
  2. When clicking note with a mouse, in MU3 there are two variant of duration depending on when you release the mouse button, in MU4 the duration is always the same and equal to the duration during note input

https://user-images.githubusercontent.com/90187801/182865455-25f1fbed-70d8-4775-9317-7805fe800ca6.mp4

All two issues should be fixed (MU3 and MU4 behavior should correspond)?

DmitryArefiev avatar Aug 04 '22 14:08 DmitryArefiev

If this is the only remaining disparity then I think you can make it a new issue and give it a P1 + assign it to Beta2.

Tantacrul avatar Aug 04 '22 14:08 Tantacrul

The issue is back

DmitryArefiev avatar Aug 11 '22 15:08 DmitryArefiev

@vpereverzev There is a related issue to note duration during input - Bug 1 from #12695

DmitryArefiev avatar Aug 18 '22 09:08 DmitryArefiev

regression in commit d83d2c7e5dc84eedfc5ee0abc90c417f802f7ed6

lyrra avatar Aug 31 '22 16:08 lyrra

Perhaps tweak this:

src/engraving/libmscore/mscore.cpp
void MScore::init()
{
    static bool initDone = false;
    if (initDone) {
        return;
    }

    defaultPlayDuration = 300;        // ms   

lyrra avatar Aug 31 '22 20:08 lyrra

Tested in master on Win10, Mac12, LinuxMint 20.2 - FIXED

DmitryArefiev avatar Sep 02 '22 11:09 DmitryArefiev