musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.35k stars 2.67k forks source link

Exported FLAC Audio Cracked #24683

Open huangyxi opened 2 months ago

huangyxi commented 2 months ago

Issue type

Import/export issue

Description with steps to reproduce

Export a FLAC file from the following score with Muse Brass enabled, where lowering the sample rate tends to produce more cracking sounds.

Supporting files, videos and screenshots

Trombone.png
Minimal reproducible example for trombone score

The attached ZIP file contains the score shown above, along with the exported FLAC audio file where a cracking sound can be heard during trombone playback: test-tb.zip

What is the latest version of MuseScore Studio where this issue is present?

MuseScore Studio version (64-bit): 4.4.1-242490810, revision: github-musescore-musescore-0b3dd00

Regression

Yes, this used to work in a previous version of MuseScore 3.x

Operating system

OS: macOS 15.0, Arch.: arm64

Additional context

For additional examples of the issue, export a FLAC audio file from the following score: https://musescore.com/user/559846/scores/5844151 . The cracking sound is most noticeable after the 1:40 mark.

Checklist

huangyxi commented 2 months ago

The issue persists in MuseScore Studio version (64-bit): 4.4.2-242570931, revision: github-musescore-musescore-3130f97

DmitryArefiev commented 2 months ago

The same with MS Basic. Especially if to change FF to FFF in the attached score

cbjeukendrup commented 2 months ago

I hope it doesn't have to do with https://github.com/musescore/MuseScore/pull/23643/commits/7ffb036731af7b0d6b08cb9960317f0df5de1872... (to verify, we'd need to check if this occurs on macOS only)

DmitryArefiev commented 2 months ago

@cbjeukendrup I've checked on Windows10

DmitryArefiev commented 1 month ago

The same in 4.0.0 (doesn't occur in MS3.6.2)