Page 1 of 1

VLC plays MIDI file (with sf2) 2 semitones higher than normal

Posted: 04 Aug 2020 12:48
by mlig
Hi everyone,
I'm using .sf2 soundfonts to play MIDI Haydn sonatas.
VLC plays MIDI files (with .sf2) 1.5 or 2 semitones higher than normal!
I tried with others sf2 instruments (piano, cello, choirs and so one), always 2 semitones higher.
- Why?
- Can someone gives a fix?
Thanks a lot
mlig

Re: VLC plays MIDI file (with sf2) 2 semitones higher than normal

Posted: 04 Aug 2020 14:29
by Lotesdelere
Which soundfont are you using ?
Also provide a MIDI file exposing this issue.

Re: VLC plays MIDI file (with sf2) 2 semitones higher than normal

Posted: 06 Aug 2020 14:04
by mlig
Hi,
I'm using different soundfonts as said in the first message (all .sf2).
-piano_Full Grand Piano[25-piano-sf.rar].sf2 for piano
-KBH_Real_and_Swell_Choir(TB).sf2 for choir music
...

A Haydn score: sonata_24_1_(c)iscenko.mid (from http://www.kunstderfuge.com/-/midi.asp? ... scenko.mid)
Result:
With Musescore and Myriad Melody assistant (and they own soundfonts): perfect in tune
With VLC: 1.5 or 2 semitones higher

For choir scores it's exactly the same (1.5 or 2 semitones higher)

Weird isn't?

(Sorry no attachments possible for a mp3 demo file)

Re: VLC plays MIDI file (with sf2) 2 semitones higher than normal

Posted: 06 Aug 2020 15:16
by Lotesdelere
I can't reproduce the issue, are you sure you don't have an added accidental, a bad transposition or an altered tuning in MuseScore ?
I've tried with the default MuseScore_General.sf3 and Merlin-8mbgm_plus13.sf2.
BTW, what is your OS ?

Re: VLC plays MIDI file (with sf2) 2 semitones higher than normal

Posted: 06 Aug 2020 21:04
by mlig
Musescore stays genuine.
OS: Windows 7

Re: VLC plays MIDI file (with sf2) 2 semitones higher than normal

Posted: 07 Aug 2020 15:01
by Lotesdelere
I've tried on two different computers and I still can't reproduce the issue.
Something must have been changed somewhere in your setup.

Re: VLC plays MIDI file (with sf2) 2 semitones higher than normal

Posted: 07 Aug 2020 17:40
by mlig
Hi,
Thanks a lot for your help.
I chose to uninstall VLC (with Revo) / restart / reinstall / reinstall prefs, sf2, etc
and now happily it's returned to normal. This issue shall stay a strange weird mystery :)

Thanks again
Best regs
mlig

Re: VLC plays MIDI file (with sf2) 2 semitones higher than normal

Posted: 07 Aug 2020 18:14
by Lotesdelere
I bet you didn't realize you had changed the playback speed :wink:

Re: VLC plays MIDI file (with sf2) 2 semitones higher than normal

Posted: 07 Aug 2020 20:01
by mlig
No, no worries. I know where in the preferences and sometimes I use this :)
In addition, the problem arose only with midi files and .sf2 soundfonts, never with other files