[vlc-devel] vlc: svn commit r22528 (courmisch)

Rémi Denis-Courmont rdenis at simphalempin.com
Wed Oct 10 21:48:03 CEST 2007

Le Wednesday 10 October 2007 22:05:00 Subversion daemon, vous avez écrit :
> r22528 | courmisch | 2007-10-10 21:05:00 +0200 (Wed, 10 Oct 2007) | 2 lines
> Changed paths:
>    M /trunk/NEWS
>    M /trunk/configure.ac
>    M /trunk/modules/codec/Modules.am
>    A /trunk/modules/codec/fluidsynth.c
> MIDI message decoder using Fluidsynth software synthetizer

This is very roughly cornered:

First, it only works if you provision a SoundFont manually. If you know a 
small one with adequate license, I want to hear from you. I currently uses 
the free-as-in-beer Chorium RevA fonts which is pretty good, but that's 
hmm... 28 megabytes. A non-starter.

Second tempo is still not implemented in the SMF demux, so the performance 
timing is wrong. Unless the MIDI file sticks to the default tempo of 120 
(i.e. two quarter notes ("noires") per second.

Third, the synthetizer runs in real-time, which makes the whole thing very 
time sensitive. Well, more like totally broken. A proper MIDI sequencer 
should be used instead.

Forth, there is no clock MIDI event, so the decoder breaks if there are no 
MIDI events for an interval of time longer than the VLC audio output buffer.

Fifth, thread safety is uncertain.

Sixth, file meta informations are not extracted.

Seventh, RIFF MIDI (.rmi) is not yet supported. There is already RIFF support 
in the WAV and - I presume - AVI demuxers - I wonder if we should factorize 
that out?

Eighth, it would be cool to have a FM synthetizer as fallback for those 
without sound fonts.

Rémi Denis-Courmont

More information about the vlc-devel mailing list