Re: OTTD Music Replacement Project
Posted: 31 Dec 2009 11:39
So what does that mean? That the discussion of what music format we're going to use is open again..?
The place to talk about Transport Tycoon
https://www.tt-forums.net/
Yes... in the same way the 32bpp 'zoomed graphics' project is going. Constantly changing the requirements and dropping all graphics and starting from scratch again; this has been going on for 5 years now. There has been ONE stable 32bpp format for 2.5 years now, yet apparantly it isn't good enough because it isn't zoomed in.-lucas- wrote:So what does that mean? That the discussion of what music format we're going to use is open again..?
Huh? Since I picked up the zoomed in patch, because the 'official' branch was dropped (it did not work correctly for scrolling etc.), I do not remember any changes in requirements in the patch that rendered all graphics useless, and forced starting from scratch again. So I'm not sure what you mean here. Only changes I remember were on the trunk side, renumbering sprite numbers in the grf's but you cannot hold that against the patch and the tars that need to follow that.Rubidium wrote:Yes... in the same way the 32bpp 'zoomed graphics' project is going. Constantly changing the requirements and dropping all graphics and starting from scratch again; this has been going on for 5 years now. There has been ONE stable 32bpp format for 2.5 years now, yet apparantly it isn't good enough because it isn't zoomed in.
Here is what I suggest. We make a midi replacement pack no matter what, that can be shipped with openttd. After all, openttd is supposed to bring back the feel of TTD, and bring on the nostalgia. Having a music pack with it I think is important. And besides, we don't know how long the upgraded music player will be.-lucas- wrote:So what does that mean? That the discussion of what music format we're going to use is open again..?
That's what I was thinking. I'll post an example mp3/vorbis/FLAC/anyformat where I use VSTs on a midi file tomorrow. I would think it could easily be used for systems who don't have good midi support as a substitute. If we reduce the bitrate on the files, we could save some space too, without sounding worse than what the midifiles. But as you say, i think it should be optional like OpenGFX and openSFXorudge wrote:Well, it would probably be a good idea to continue this project as a MIDI-based project, but in the future, we could always have alternative, higher quality versions using Vorbis/MP3. The problem with MIDI is that the quality can vary so much depending on the synthesizer used... whereas somebody with the appropriate software can create a finely-tuned MP3 of the music that sounds much better. And of course supporting MIDI on some systems is a pain anyway (eg, OS/2, which has no software synthesizer and very poor support for MIDI hardware on modern sound cards).
Unless Owen can get the software developed, debugged, and submitted and included in the next beta release, then no. One of my goals for the Music Replacement Project is to develop it using what is available with the current 1.0.0-beta-1 release. As was mentioned above there's no reason to drag this project out for 2-3 years while we wait for coding in the software to catch up.-lucas- wrote:So what does that mean? That the discussion of what music format we're going to use is open again..?
Yep, indeed! I'm looking forward to the day when we can bust the music wide-open with a player that supports MIDI, OGG, MP3 whatever. And if it won't play MIDI and we want to convert over to another format, somebody can do that (or, even I can do that, even).orudge wrote:Well, it would probably be a good idea to continue this project as a MIDI-based project, but in the future, we could always have alternative, higher quality versions using Vorbis/MP3. The problem with MIDI is that the quality can vary so much depending on the synthesizer used... whereas somebody with the appropriate software can create a finely-tuned MP3 of the music that sounds much better.
Good luck! Glad to see somebody taking this part of the project by the reins!orudge wrote:Anyway, after failed attempts in the past, I am very much insistent that this version is going to actually be acceptable. So we shall see how it goes.
OpenTTD will always support MIDI, even with my new work.kamnet wrote:Yep, indeed! I'm looking forward to the day when we can bust the music wide-open with a player that supports MIDI, OGG, MP3 whatever. And if it won't play MIDI and we want to convert over to another format, somebody can do that (or, even I can do that, even).
Well, that was kind of what i meant when i said that creating an mp3 is not just playing it through a vst: it will just sound like a midi file played through a vsti. Virtual orchestrating is so much more than that - so using the same (general) midi file for both midi and mp3 versions will just sound meh, imho.jvlomax wrote:TharThat's what I was thinking. I'll post an example mp3/vorbis/FLAC/anyformat where I use VSTs on a midi file tomorrow. I would think it could easily be used for systems who don't have good midi support as a substitute. If we reduce the bitrate on the files, we could save some space too, without sounding worse than what the midifiles. But as you say, i think it should be optional like OpenGFX and openSFXorudge wrote:Well, it would probably be a good idea to continue this project as a MIDI-based project, but in the future, we could always have alternative, higher quality versions using Vorbis/MP3. The problem with MIDI is that the quality can vary so much depending on the synthesizer used... whereas somebody with the appropriate software can create a finely-tuned MP3 of the music that sounds much better. And of course supporting MIDI on some systems is a pain anyway (eg, OS/2, which has no software synthesizer and very poor support for MIDI hardware on modern sound cards).
Rubidium wrote: Do not forget that the MIDI files are in the order of 100 times smaller than their equivalent MP3. Having to download 100 MB of MP3 during installing OpenTTD or just 1 MB really makes a difference. Assuming you have 31 songs of ~3 minutes each.
I propose a different route: modules (.mod, .xm, .it, etc). The format is quite similar to MIDI but also stores the instruments as wav samples so it will always sound identical no matter what hardware is used.orudge wrote:Well, it would probably be a good idea to continue this project as a MIDI-based project, but in the future, we could always have alternative, higher quality versions using Vorbis/MP3. The problem with MIDI is that the quality can vary so much depending on the synthesizer used... whereas somebody with the appropriate software can create a finely-tuned MP3 of the music that sounds much better. And of course supporting MIDI on some systems is a pain anyway (eg, OS/2, which has no software synthesizer and very poor support for MIDI hardware on modern sound cards).)
Guys...coyoteelabs wrote: I propose a different route: modules (.mod, .xm, .it, etc). The format is quite similar to MIDI but also stores the instruments as wav samples so it will always sound identical no matter what hardware is used.
I saw quite a few module players on sourceforge with GPL license (ex: xmp) that could be used as a base (the module decoding code).
The module size depends mainly on the quality and number of samples and will rarely be more that 10 times the MIDI equivalent.
Another advantage would be the lower requirements to play back the files (less cpu intensive than mp3/vorbis). MIDI files can easily be converted to modules using OpenMPT (tracker to create/edit modules).
A major problem with the format I see is that it's like AVI: it's a container. Some are using raw wav, some are using ogg, some are using mp3, some are using an abstract representation of the sound for the samples.coyoteelabs wrote:I propose a different route: modules (.mod, .xm, .it, etc). The format is quite similar to MIDI but also stores the instruments as wav samples so it will always sound identical no matter what hardware is used.
Please don't forget the fact that you have to own the right of the samples you're using. So while in theory it will sound much better, in practice you are still severely limited to the copyright free samples you can find. I have invested about 3000 euros of samples that i can use in mp3 but not in MOD because that's against their terms of usage.orudge wrote:Most recent module playing libraries that I'm familiar with tend to support "all" of the popular formats (MOD, XM, IT, S3M, pretty much). It's something that could be integrated into my new patch as a file format without too much bother, but it's not something I have planned at present. I agree that modules would be a fairly decent trade-off between file size and quality compared to MIDI vs MP3/Vorbis, although they are somewhat more complex to build, of course, and do have various limitations.
Go ahead! It appears to me that those who have their hands in the code have stated that MIDI will continue to be supported, there's no reason to delay except your own time and schedule.-lucas- wrote:Guys... I'd like to start composing.
Ok, then i misunderstoodorudge wrote:Well, I'm not advocating modules over anything else, just stating that technically it would be possible to support them if there was sufficient demand.