Built-in soundfont support for MIDI?

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

Pharaoh_Atem
Posts: 129
Joined: Sun Feb 26, 2006 5:33 am

Re: Built-in soundfont support for MIDI?

Post by Pharaoh_Atem »

Nintendo Maniac 64 wrote:I just hope this doesn't make people start trying to implement TiMidity++ in ReactOS instead of FluidSynth... (in case you haven't noticed already, I'm strongly against using TiMidity++, not to mention an absolute sucker for FluidSynth's future-proof-ness)

I guess that I just want this to be done the best it can be the first time, possibly because I'm afraid it'll be ignored once it is implemented (did you see the early posts in this topic saying how this was pointless?), thus making us stuck with TiMidity's overall worse quality.
Well, the problem here is that we don't really have anyone with any knowledge of writing MIDI drivers for Windows. If someone with knowledge on how to do that stepped up and wrote a fluidsynth driver for the ROS/Windows MIDI engine, then we would be set.

It is quite likely that once it is done, it will be forgotten for quite some time.

Nintendo Maniac 64
Posts: 234
Joined: Sun Sep 17, 2006 3:08 am
Location: Northeast Ohio, USA

Re: Built-in soundfont support for MIDI?

Post by Nintendo Maniac 64 »

Alright, I just did a quick edit of the VintageDreamsWaves-v2 soundfont and it'll now play sound for steel drums! :D (it uses the same sound as the sound for piano in bank 000) I'll be adding it to the wiki.

Download:
http://www.mediafire.com/?wqztyoh1mzd

Here's an example MIDI with steel drums that you can test with:
http://www.vgmusic.com/music/console/ni ... each-1.mid

Pharaoh_Atem
Posts: 129
Joined: Sun Feb 26, 2006 5:33 am

Re: Built-in soundfont support for MIDI?

Post by Pharaoh_Atem »

Nintendo Maniac 64 wrote:Alright, I just did a quick edit of the VintageDreamsWaves-v2 soundfont and it'll now play sound for steel drums! :D (it uses the same sound as the sound for piano in bank 000) I'll be adding it to the wiki.

Download:
http://www.mediafire.com/?wqztyoh1mzd

Here's an example MIDI with steel drums that you can test with:
http://www.vgmusic.com/music/console/ni ... each-1.mid
Why the regular piano sound for Steel Drums? Couldn't you have replicated a percussive sound from the bank and plugged it in?

Nintendo Maniac 64
Posts: 234
Joined: Sun Sep 17, 2006 3:08 am
Location: Northeast Ohio, USA

Re: Built-in soundfont support for MIDI?

Post by Nintendo Maniac 64 »

Did you actually listen to the example MIDI given, or do you not have a way to listen to MIDIs using soundfonts?

Since this is a nearly 8-bit soundfont, the sound for a piano doesn't really sound like a piano. The soundfont itself calls it "FM Bells 1" for good reason, it has a "bell" like sound to it, which IMO for nearly 8-bit like sound is pretty close to a steel drum equivalent. Remember, steel drums sound NOTHING like a normal drum.

If you're really worried about it, I can look through every single sound and see if there's a closer one.

Pharaoh_Atem
Posts: 129
Joined: Sun Feb 26, 2006 5:33 am

Re: Built-in soundfont support for MIDI?

Post by Pharaoh_Atem »

Nintendo Maniac 64 wrote:Did you actually listen to the example MIDI given, or do you not have a way to listen to MIDIs using soundfonts?

Since this is a nearly 8-bit soundfont, the sound for a piano doesn't really sound like a piano. The soundfont itself calls it "FM Bells 1" for good reason, it has a "bell" like sound to it, which IMO for nearly 8-bit like sound is pretty close to a steel drum equivalent. Remember, steel drums sound NOTHING like a normal drum.

If you're really worried about it, I can look through every single sound and see if there's a closer one.
At the moment, I don't really have a method of listening to soundfonts reliably right now, so I just made a guess based on what I knew of how soundfonts are supposed to sound... Your explanation is good though, and I'm not that nitpicky...

Nintendo Maniac 64
Posts: 234
Joined: Sun Sep 17, 2006 3:08 am
Location: Northeast Ohio, USA

Re: Built-in soundfont support for MIDI?

Post by Nintendo Maniac 64 »

OK, good, because I REALLY didn't want to have to go through all 128 sounds to see if there's a better sound effect XD

Pharaoh_Atem
Posts: 129
Joined: Sun Feb 26, 2006 5:33 am

Re: Built-in soundfont support for MIDI?

Post by Pharaoh_Atem »

FluidSynth 1.1.0 released!

While FluidSynth 1.1.0 does bring in many improvements, it is nearly impossible to include in ReactOS, because it now has a hard dependency on glib. GLIB depends on a quite a few other libraries, so meh. However, FluidSynth 1.0.9 has no such requirement.

In any case, I managed to get FluidSynth 1.0.9 player to compile on Windows. So now I offer a full binary/source package of fluidsynth 1.0.9, containing the source tarball, and a tarball with the CLI player & libraries.

For those curious of FluidSynth 1.1.0, I have a full binary package of fluidsynth 1.1.0. Be warned, it's approximately 9MB in size when extracted.

Nintendo Maniac 64
Posts: 234
Joined: Sun Sep 17, 2006 3:08 am
Location: Northeast Ohio, USA

Re: Built-in soundfont support for MIDI?

Post by Nintendo Maniac 64 »

Requires glib? O_o That seems a little strange coming out of the blue like that...

Ironically enough, to those that were saying to not worry about MIDI for now, if I did that, we probably would have never recognized FluidSynth as a contender for the MIDI backend due to its use of glib. So it's a good thing I brought this up now!

Pharaoh_Atem
Posts: 129
Joined: Sun Feb 26, 2006 5:33 am

Re: Built-in soundfont support for MIDI?

Post by Pharaoh_Atem »

I found an open source MIDI loopback driver for Windows. However, the code is quite old (requires Delphi 1.0 to compile, which I don't have).

I'm hoping somebody here has Delphi 1.0 and knows Delphi and Lazarus, otherwise, I'm going to be flying blindly and attempting to convert the code to work on Lazarus.

If there is anybody out there skilled in Delphi and Lazarus, please let me know!

Nintendo Maniac 64
Posts: 234
Joined: Sun Sep 17, 2006 3:08 am
Location: Northeast Ohio, USA

Re: Built-in soundfont support for MIDI?

Post by Nintendo Maniac 64 »

Unfortunately, the only person I know of that knows Delphi is patrickvl of NGEmu who's coding Dxbx - a port of Cxbx to Delphi.

b4dc0d3r
Posts: 148
Joined: Fri Sep 28, 2007 1:17 am

Re: Built-in soundfont support for MIDI?

Post by b4dc0d3r »

I am read-only with delphi - where's the code?

I have voluntarily stopped myself from core OS development, but I think I could do a port to C++ without any issues. Much more likely to be included in default ROS that way, although Downloader would probably allow a Lazarus (or Delphi for that matter) project.

Nintendo Maniac 64
Posts: 234
Joined: Sun Sep 17, 2006 3:08 am
Location: Northeast Ohio, USA

Re: Built-in soundfont support for MIDI?

Post by Nintendo Maniac 64 »

I should also ask, what does this MIDI loopback driver even do?

bobby
Posts: 19
Joined: Thu Apr 14, 2005 8:44 pm

Re: Built-in soundfont support for MIDI?

Post by bobby »

MIDI loopback devices are like virtual cables to connect two MIDI applications (MIDI Out from one application to the MIDI In of the other one).
Nothing useful in the case of ReactOS...

Nintendo Maniac 64
Posts: 234
Joined: Sun Sep 17, 2006 3:08 am
Location: Northeast Ohio, USA

Re: Built-in soundfont support for MIDI?

Post by Nintendo Maniac 64 »

Actually, from that description it sounds like it might be useful in conjunction with something like FluidSynth.

Pharaoh_Atem
Posts: 129
Joined: Sun Feb 26, 2006 5:33 am

Re: Built-in soundfont support for MIDI?

Post by Pharaoh_Atem »

b4dc0d3r wrote:I am read-only with delphi - where's the code?

I have voluntarily stopped myself from core OS development, but I think I could do a port to C++ without any issues. Much more likely to be included in default ROS that way, although Downloader would probably allow a Lazarus (or Delphi for that matter) project.
Here is the code. It originally was public domain, but I relicensed it to LGPLv2.1+. It would be much better if it were translated to C/C++..

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 5 guests