I'm using timidity
to convert MIDI files to ogg vorbis files. However, the output is musically different.
By musically different, I mean they are in the different key. They are also played in different speed.
I'm using a custom soundfont file, the following is the entirety of my config file.
$ cat /usr/local/share/timidity/timidity.cfg
dir /usr/local/share/timidity/soundfonts
soundfont Touhou.sf2
# source fluid3gm.cfg
# trysource fluid3gs.cfg
# source fluid_altassign.cfg
The MIDI file in question may be obtained from here (Direct download). The soundfont here.
For reference, to my ears, the first few notes are
G bE C bE G [C] G bE [D] [C]
([x]
= higher x
)
when invoked like this: $ timidity ./th07_04.mid
.
When outputted to OGG file via -Ov
, the first few notes are
#F D {B} D #F B #F D [#C] B
({x}
= lower x
)
Any ideas why?
Here is my current test results, H means Higher (G...) and L means Lower (#F...)
Software | macOS Monterey | Fedora 36 | Windows 11 |
---|---|---|---|
Straight from timidity | H | L | L |
Output to file | L | L | L |
Thus, the music is only higher when its set to directly output on macOS.
-Ow
,-OF
)