Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Pages: [1] 2 3  All

Author Topic: MIDI?  (Read 29744 times)

0 Members and 1 Guest are viewing this topic.

ClémentXVII

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
  • Ralph the Wonder Llama
    • View Profile
MIDI?
« on: April 26, 2003, 04:25:07 PM »

Err.. sorry if this has already been posted, but I couldn't find any references to it...

Is there any MIDI playback possibility with WME? Or do we have to write our own dll to play these sounds?

The advantage of MIDI is that files can be really small while maintaining some good quality...
Logged

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re:MIDI?
« Reply #1 on: April 26, 2003, 05:26:50 PM »

From the documentation, in the "supported files formats" section: "WME supports two file formats for storing the sounds and music: WAV & Ogg vorbis"

So, my guess is that there is no MIDI support yet, but I could be wrong because the documentation is incomplete.

Personally I don't really like MIDIs very much because they sound very different in every soundcard, and despite how good a midi file is if the player has a very bad soundcard then he will hear bad (quality wise) music.
Logged
fl*p

Scarpia

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 77
  • Rich kid trash web designer :-P
    • View Profile
    • junk dot dk
Re:MIDI?
« Reply #2 on: April 26, 2003, 08:44:37 PM »

Actually yes, the question has already been posted, and no, MIDI is not supported in WME. But after the previous discussion I believe Mnemonic agreed to implement MOD file support if someone would find a good open source C library for it. I think you can convert MIDIs to MOD pretty easily and MOD has better sound quality.

Scarpia
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:MIDI?
« Reply #3 on: April 27, 2003, 08:04:46 AM »

Yes, that's right. MIDI is not supported. Of course, it wouldn't be a big deal to add MIDI support, but I'm not sure it's really necessary (for the reasons odnorf described above). I haven't seen a commercial game using MIDI in years...
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

ClémentXVII

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
  • Ralph the Wonder Llama
    • View Profile
Re:MIDI?
« Reply #4 on: April 28, 2003, 09:06:05 PM »

Of course, if you're talking about 'commercial' games ;-)

What's nice with playing music in another format (MIDI/MOD) is that the music/speech volume can be adjusted separately, from the windows mixer... this would save some problems when the sounds would e.g. be too loud in comparison to the music...
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:MIDI?
« Reply #5 on: April 28, 2003, 09:16:20 PM »

True, but you can adjust sound/speech/music volume separately in WME (using script commands).
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Niklaus_Kerner

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 3
  • I'm a llama!
    • View Profile
Re:MIDI?
« Reply #6 on: April 29, 2003, 04:40:21 PM »

MIDI is a good file format for small games and 'Old School' games, and it easily permit to arrange music 'interactively' with the player actions. Just look at what can be done with iMuse from Lucasarts (ok, iMuse is a high quality level library).

I suggest maybe you could look at this possibility.

the midi (or mod) file format is to my mind perfect for a amateur game developpement
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:MIDI?
« Reply #7 on: April 29, 2003, 06:44:52 PM »

Just look at what can be done with iMuse from Lucasarts (ok, iMuse is a high quality level library).
Yes, but even iMuse doesn't use MIDI nowadays ;) I was hoping the DirectMusic would be an alternative to iMuse, well, it probably is, I just don't have years to study that cryptic documentation :)

I suggest maybe you could look at this possibility.
Okay, I'll see what I can do about that. Like I said, it shouldn't be a big problem (I hope).
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

ClémentXVII

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
  • Ralph the Wonder Llama
    • View Profile
Re:MIDI?
« Reply #8 on: April 30, 2003, 09:25:09 PM »

Cool, thanks!
Logged

Brassfire

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Female
  • Posts: 69
    • View Profile
    • The Unknown Hero
Re:MIDI?
« Reply #9 on: May 03, 2003, 06:18:47 AM »

DirectMusic is so confusingto make music in...
Logged

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:MIDI?
« Reply #10 on: June 11, 2003, 08:23:22 AM »

I'm sure you have enough sources for this stuff, but maybe this is also helpful for anybody.

Playing Midi files with C++ / DirectMusic (DX8):
http://www.codeproject.com/audio/cmidimusic.asp

It's a great site for coders anyway.  :)
Logged
Mooh!

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:MIDI?
« Reply #11 on: June 11, 2003, 08:16:13 PM »

Yeah, CodeProject.com is an excellent site!
I have my doubts about DirectMusic though... ;)
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:MIDI?
« Reply #12 on: June 12, 2003, 02:36:07 PM »

Yeah, CodeProject.com is an excellent site!
I have my doubts about DirectMusic though... ;)

Unfortunately I never got deep enough in that stuff (yet) to be able to discuss this... so I won't! ;)
Logged
Mooh!

ClémentXVII

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
  • Ralph the Wonder Llama
    • View Profile
Re:MIDI?
« Reply #13 on: July 01, 2003, 06:23:36 AM »

Thanks, now that the holidays are there, I'll be able to look into it!

Mnemonic, I suppose you're using DirectX to program WME? So using DirectMusic is not a 'bad' thing for loading music files, no?
Logged

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re:MIDI?
« Reply #14 on: July 01, 2003, 09:26:03 AM »

Yeah, CodeProject.com is an excellent site!
I have my doubts about DirectMusic though... ;)

Do you know the sdl library at http://www.libsdl.org/index.php  ?
I think that it might be easier to use it than DirectMusic (althought I am not a programmer myself).

Slightly off topic:
And it would be be usefull if in 10 years you want to create a linux/macos/etc port of the wme :) (one less thing to program because the sld library is a cross-platform library... and it even supports opengl...).
Logged
fl*p
Pages: [1] 2 3  All
 

Page created in 0.028 seconds with 21 queries.