MIDI playback - why isn't the codec included?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
bobsled
New Cone
New Cone
Posts: 1
Joined: 19 Aug 2010 01:48

MIDI playback - why isn't the codec included?

Postby bobsled » 19 Aug 2010 02:04

G'day folks..

Just a quick question here... why is the MIDI playback only possible after separately downloading the FluidSynth codec? The FS project is GPL anyway, so I don't see an obvious reason why it's excluded... [obviously if VLC wasn't the same license I could understand].

It just seems a little weird that some obscure formats are supported OOTB with inbuilt codecs, yet a format that's been around for eons gets some weird treatment. Creating file associations for a format that you don't play is also weird; it's like Windows Media Player having a mkv association, when without a separate codec, won't play.


Not a rant, just wondering why the strangeness. Cheers.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: MIDI playback - why isn't the codec included?

Postby Jean-Baptiste Kempf » 19 Aug 2010 12:33

Because .sf2 are big files and only a minority of people care about midi.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: MIDI playback - why isn't the codec included?

Postby VLC_help » 19 Aug 2010 17:23

We could add some kind of guide for this.

Banaticus
New Cone
New Cone
Posts: 4
Joined: 29 Dec 2010 23:19

Re: MIDI playback - why isn't the codec included?

Postby Banaticus » 30 Dec 2010 00:03

I think a lot of people care about MIDI. It's just that, for years, VLC had absolutely nothing for MIDI -- that was that and nothing was going to change, so I (personally) just figured that VLC would never have anything for MIDI so there wasn't a point in asking about it. It was only accidentally today, while searching for a MIDI to OGG converter that I happened to stumble across a thread in these forums from early 2009 that happened to mention that around the end of the year there might be a codec of some kind that would allow VLC to play MIDI files. Now it appears that there finally is one, but I have to download and run it separately? Come on, it can't be that big -- it was designed to run on those titchy tiny soundboards in things like the original NES -- if it could work in those miniscule ancient computing environments, then why can't it work in VLC, how big can the codec really be?

8-bit sound is a fairly big subset of music makers nowdays and all the old original 8-bit sound is in MIDI format.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: MIDI playback - why isn't the codec included?

Postby Jean-Baptiste Kempf » 30 Dec 2010 00:31

.sf2 file can be over 10MB
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

dumbo4711
Cone that earned his stripes
Cone that earned his stripes
Posts: 123
Joined: 01 Feb 2010 18:43

Re: MIDI playback - why isn't the codec included?

Postby dumbo4711 » 30 Dec 2010 03:05

to play midi files with vlc u need a sf2 (soundfont) file
a midi file itself contains no music
only notes and how they should played (volume,tempo,etc)

a soundfont is nearly the same as a wavetable from old soundcards (it contains samples of real instruments usually with better quality compared to a wavetable)
some sf2 files are several gb
modern soundcards like creative cards use sf2 files too to playback midis

but midi playback in vlc is very rudimentary
using vlc for midi is not recommended for several reasons

if u want to use a sf2 file to play midis i suggest to use synthfont
http://www.synthfont.com/

or better use a programm like native instruments bandstand
http://www.native-instruments.com/#/en/ ... bandstand/
(sounds much better than a soundfont ) or use a good keyboard :-)

orange2
Blank Cone
Blank Cone
Posts: 57
Joined: 05 Aug 2009 02:31

Re: MIDI playback - why isn't the codec included?

Postby orange2 » 30 Dec 2010 07:31

....
or better use a programm like native instruments bandstand
http://www.native-instruments.com/#/en/ ... bandstand/
(sounds much better than a soundfont ) or use a good keyboard :-)
Per Native Instruments about Bandstand "Please note: This product is discontonued."
That's there own wonderful spelling. :lol:

dumbo4711
Cone that earned his stripes
Cone that earned his stripes
Posts: 123
Joined: 01 Feb 2010 18:43

Re: MIDI playback - why isn't the codec included?

Postby dumbo4711 » 30 Dec 2010 14:42

yep it is discontinued
but its still very good
and u can get it cheap (i got mine from ebay for 35 €)

there are some alternative tools
like Cakewalk TTS-1 or
Edirol Hyper Canvas

but the best way to play midis is a good keyboard like
yamaha tyros 4 :-)

fabartus
New Cone
New Cone
Posts: 2
Joined: 05 Mar 2013 16:59

Re: MIDI playback - why isn't the codec included?

Postby fabartus » 05 Mar 2013 18:22

I fear no one started with the more fundamental question: "Where do you find a .SF2 file" to have VLC attach. Turns out the answer is almost simple for an XP machine -- the WINDOZE driver archives (CAB) at C:\WINDOWS\Driver Cache\i386\driver.cab\ has the .sf2 file '2gmgsmt.sf2' [XP machine]. :lol: It just needs expanded and put where VLC can find it:
[XP machine]
1- Just Paste C:\WINDOWS\Driver Cache\i386\driver.cab\ into the 'Start -->Run' applet pane THEN when the folder opens, find 2gmgsmt.sf2 (view details, sort alphabetically on names, read, right click it, expand to...!)

2- Just Open that (expand) by right clicking it, tell it to save to 'where' [Suggest my solution, '\WIndows\Media' folder] which is conveniently nearby in the folder tree.

3- Then return to the VLC's Tools --> preferences -->(ALL) and navigate by browsing from that horribly designed 'All' applet's dropdown (No consideration for LARGE FONTS needed by we visually impaired users there, VLC geeks! UGGGH!) Despite my editorializing about insensitive programmers and their supervisors... Expand that drop down pane's width so can be read in extra large fonts!) TO CONNECT THE .SF2. :shock:

4-When I did that, my 'error filled' list of MIDIs came alive in the VLC I'd had open and immediately started playing. :D
[Windows 7 machines]
Afraid I Can't help you with finding a SAFE i.e. WINDOWS 7 *.sf2 file for Windows 7 boxes -- my various quick and dirty WINDOWS 7 searches all failed to locate any, which makes little sense. :o Backwards compatible design criteria suggests I missed them somewhere/somehow. (Importing the forgoing XP file cross machines will likely work fine. OTOH,You're on your own on the internet. If you don't pays your nickles, youse definitely taking your chances!

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: MIDI playback - why isn't the codec included?

Postby mederi » 05 Mar 2013 19:15

@fabartus:
Confirmed! Thanks for the tip. I am the lucky user of XP :)
C:\WINDOWS\Driver Cache\i386\driver.cab/2gmgsmt.sf2
VLC can play all various formats but *.mid by default.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 54 guests