zerberus: long release samples do not play in their entirety

• Apr 24, 2018 - 15:23
Reported version
2.2
Type
Functional
Severity
S4 - Minor
Status
closed
Project
Tags
Priority (old)
normal
Status (old)
closed
Component (old)
Code
Category (old)
bug report

Steps to reproduce:
1. Download the attached test file.
2. Copy the .sfz file and sample folder to MuseScore's SoundFont directory.
3. Load the test .mscz file into MuseScore.
4. Go to "View" -> "Synthesizer" and click "Load from Score" to load the samples.
5. Play test #4 in the project.

Result: The release sample ("ride_cymbal_hit_F_1.ogg") only plays for about 3 seconds then quits.

Expected result: The sample should play in its entirety.

Attachment Size
Zerberus_test_01.zip 427.27 KB

Comments

Test sample (Zerberus_test_01_samples/ride_cymbal_hit_F_1.ogg) properties:
Sample Rate = 44100
Number of Channels = 2
Number of Frames = 304564

According to the simple computation: (Number of Frames) / [ (Number of Channels) * (Sample Rate) ] = 3.45 seconds
When I open the file in Media Player it shows 7 seconds duration and Chris is expecting 7 seconds duration as well. What am I missing?

Status (old) active fixed
Status active fixed

Fixed in branch 2.3, commit baeaf50581

fix #271722: long release samples do not play in their entirety

The reason was reducing the duration of ALL samples by (Number of channels).