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

Fix #23446: Playback artifact when solo-ing instruments (MuseSounds) #26585

Conversation

RomanPudashkin
Copy link
Contributor

Resolves: #23446

@RomanPudashkin RomanPudashkin marked this pull request as draft February 19, 2025 11:34
@zacjansheski

This comment was marked as outdated.

1. calculate isSilence more efficiently
2. don't write silent buffers to final output buffer to avoid unnecessary mixOutputFromChannel() calls
…ss remaining samples

And skip the channel when it gets completely silent
@RomanPudashkin RomanPudashkin force-pushed the musesampler_solo_mute_artifacts_fix branch from aaaa88d to 4c05404 Compare February 21, 2025 14:30
@metasekk
Copy link

Just out of curiosity: does the optimisation also apply to audio exports (should it speed up exports)?

@RomanPudashkin
Copy link
Contributor Author

Just out of curiosity: does the optimisation also apply to audio exports (should it speed up exports)?

Yes, it should. Especially if there are a lot of rests in your score

@zacjansheski
Copy link
Contributor

Tested on MacOS 15, Windows 11, Ubuntu 22.04.3. Approved
#23446 FIXED

@RomanPudashkin RomanPudashkin marked this pull request as ready for review February 21, 2025 16:53
@RomanPudashkin RomanPudashkin merged commit 9c76b47 into musescore:master Feb 21, 2025
11 checks passed
@RomanPudashkin RomanPudashkin deleted the musesampler_solo_mute_artifacts_fix branch February 21, 2025 16:54
@metasekk
Copy link

Yes, it should. Especially if there are a lot of rests in your score

Good to hear! I had tested the current build on this toy score and hadn't found any difference though (hence my question).

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

Successfully merging this pull request may close these issues.

[MuseSounds] Playback artifact in Master 4.4 when solo-ing instruments
4 participants