SalamanderGrandPianoV2.sfz plays over a semitone higher
1. Open attached score (produced in 1.3).
2. 'Synthesiser'.
3. 'Zerberus'.
4. 'Add'.
5. Choose 'SalamanderGrandPianoV2.sfz'.
6. Select it in 'Mixer'.
7. 'Play'.
Result: The score sounds a semitone higher.
Using MuseScore 2.0 Nightly Build (7c7ca30) - Mac 10.7.5.
Attachment | Size |
---|---|
SalamanderGrandPianoV2.sfz plays a semitone higher.mscz | 1.85 KB |
Comments
Which salamander are you using? Can you provide a link?
There is an update to version 3 here http://rytmenpinne.posterous.com/pages/salamander-grand-piano-46556 with a new SFZ file named "SalamanderGrandPianoV3Retuned.sfz", do you have the same problem if you use this update?
I tried SalamanderGrandPianoV3_OggVorbis and it was the same.
It actually (at least this one) plays approximately one and a half semitones higher.
Using MuseScore 2.0 Nightly Build (c1040d2) - Mac 10.7.5.
Chenlung also tested SalamanderGrandPianoV3_OggVorbis with Sforzando and it's sounding good. Looks like a problem in Zerberus? or, but less likely the effect?
@Chenlung can you try without any effect?
I tried without effects, but I don't think there's any difference.
Using MuseScore 2.0 Nightly Build (64e9e51) - Mac 10.7.5.
Maybe a problem with sample rate reported vs. actual (44100 <-> 48000) ?
Some changes in 0e1987c1ba could solve the problem. @chenlung Could you test?
Sounds fine, thanks!
Using MuseScore 2.0 Nightly Build (6ce828f) - Mac 10.7.5.
Automatically closed -- issue fixed for 2 weeks with no activity.
I can reproduce this bug on Xubuntu 14.10 (commit 5f30234 ) with
SalamanderGrandPianoV2
(Ogg Vorbis),SalamanderGrandPianoV3
(Ogg Vorbis) andSalamanderGrandPianoV3Retuned
(Ogg Vorbis). Effects don't change anything about this bug.However, I can't reproduce the bug on Windows 7 (in VirtualBox) with this package:
http://musescore.org/en/download/musescore-2.0-beta.msi
Can you reproduce on Windows with a recent nightly?
On Xubuntu which audio backend are you using? (Edit -> Preferences -> I/O)
I can't reproduce it with
MuseScoreNightly-2014-09-20-1907-5f30234.7z
on Windows 7 (VirtualBox). Settings are (I didn't change them):My config on Xubuntu 14.10 is as follows:
I've just found that changing the sample rate from 48000 to 44100 and restarting MuseScore solve the problem. To be sure it's not a problem only with my Xubuntu installation, I've tested it on a fresh install of Ubuntu Studio 14.10 in VirtualBox. I can reproduce the bug with all default settings, and when I change the sample rate, the bug no longer occurs.
I've also found that choosing PortAudio solves the problem too:
Obviously if you play a 44.1kHz sample back at 48kHz it is going to sound higher.
Presumably what is happening here is that MuseScore is not reading the sample rate from the file (or sample rate info is missing from the file) and using the ALSA default.
The easy fix would be to use the 48kHz version found here
http://freepats.zenvoid.org/Piano/
Big download though!
Audio files from the soundbank already are at 48000 Hz:
And I previously tested
SalamanderGrandPianoV3_48khz24bit.tar.bz2
and it makes no difference about the bug. File properties:Hmmm - I will download and see if I can get to the bottom of this.
I'm suspecting that the actual samples are 44.1kHz but being reported as 48kHz.
Marking as needs info until I've done that.
OK I have now checked the files.
All the sample rates are correct. In fact it looks as though the playback of 48kHz samples is ignoring that and processing them as 44.1kHz
This suggests that Zerberus is following the ALSA default sample rate but not recognising samples that are 48kHz and treating them as though they are 44.1
But why doesn't it do this in Windows?????
Have you tried other SFZ files?
I can reproduce the bug with all SFZ soundbanks I've tested:
Every sfz that I have to test are made of 48000Hz samples (including salamander v3), but they only sound right when I play them in 44100Hz mode. I tested in alsa and jack backends and the result is the same. They sound right when in 44100 and a little more than a semitone up in 48000. It means that it's acting as if it was playing a 44100 sample even if the sample is 48000. Probably it's resampling the samples to 44100 when they are loaded independently of the system sample rate. Then, if played in 48000, it sound higher.
Yes, 44000 to 48000 is about a semitone and a half.
I should have clarified the latter part better at the time.
Fixed in c377a464b5
Automatically closed -- issue fixed for 2 weeks with no activity.