End of exported audio heard at start
1. Open attached score (produced in 1.3).
2. 'File'>'Export…'.
3. Choose any audio format (WAV, MP3, Ogg, or FLAC).
4. 'Save'.
5. Listen to audio file.
Result: The end can be briefly heard at the start.
Note: The exported audio is attached.
Using MuseScore 2.0 Nightly Build 12b4b1c - Mac 10.7.5.
Attachment | Size |
---|---|
End of exported audio heard at start.mscz | 1.8 KB |
End of exported audio heard at start.zip | 1.11 MB |
Comments
To be clear, not unique to this score. Seems to be true for any score that has audio still ringing at final barline. Try the attached score and it's much more pronounced.
Seems what is happening is that any audio that is more than some fraction of a second past the end tick of the score is moved to beginning. The fact that there is at least a little room for the audio to ring at end of score is the reason for #45971: Exported WAV, Ogg, FLAC, and MP3 files too long by about 2 beats, which I think thus needs to be considered by design. The fact that it arbitrarily cuts off at some point is the cause of http://musescore.org/en/node/21930.
In order to normalize the sound output we do two passes. On the second pass, we get the end of the first pass from the synth.
I see two ways to fix it, maybe even both would be needed.
1/ mute the synth after the first pass? I tried to call allSoundOff but no joy.
2/ make sure that the level of the sound is low enough before considering it's the end of the pass. That would of course makes #45971: Exported WAV, Ogg, FLAC, and MP3 files too long by about 2 beats worse but it would be a lot more true to an actual sound. And of course, it would solve http://musescore.org/en/node/21930
Fixed in da1a230c57
Automatically closed -- issue fixed for 2 weeks with no activity.