Poll

How Important is MIDI support in ARC? (Please read below before voting))

1
2
3
4
5
6
7
8
9
10

Author Topic: MIDI support in ARC  (Read 9660 times)

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5131
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
MIDI support in ARC
« on: November 21, 2011, 02:51:05 AM »
Ok folks here's the deal.

MIDI sucks. at least from our point of view it does.

now hold on, let us explain.

MIDI was a great idea, really it was, still is even. the idea to reduce file size by storing the interments on the computer and then synthesizing the sound from a series of notes is great.  But support for the format stagnated a decade ago. I've been researching how to play the format in python for ages and have come up flat after almost a year, that's not a good sign.

the truth is, trying to implement midi support is a pain in the ass, even more so if we want to support the pitch change function with it and still be cross platform.

so here's the thing.

we are seriously considering dropping MIDI support even with the first release of ARC. MIDI files can be rendered down to WAV files pretty easily and from then converted to ogg or flac ect. in fact if you have the right software and some VSTs you can render them with a higher quality instrument sounds that the standard synthesizers found on most computers. Yes the file size would increase and it would take you a bit of time to convert all the MIDI files you might want to use, (heck 90% of the audio in the ARC RTP is MIDI and it would all need to be converted)


so with all that in mind...
just how important is MIDI support to you guys?

on a scale of 1-10, 10 being  "OMG I HAVE TO HAVE MIDI SUPPORT OR I'LL DIE!", 5 being "Meh I'd like it but I don't need it", and 1 being "BURN IT WITH FIRE!"

vote above

« Last Edit: November 24, 2011, 12:20:45 AM by Ryex »
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline Reives

  • Awakened Visionist
  • **
  • Posts: 55
  • LV: 16
  • Gender: Male
    • View Profile
Re: MIDI support in ARC
« Reply #1 on: November 21, 2011, 05:31:59 AM »
Something else with MIDI is that you don't really have full control of the sound when you use it. It essentially uses the local on-board sound collection to play a sheet music, so what it sounds like on one machine wouldn't necessarily sound exactly the same on another (though there are some common norms).

There also seems to be a problem with RPG Maker's midi playback system as of recently -- well, more like a compatibility with the newest windows updates or something. But on many pcs, it seems like there's a giant freeze when a midi file is meant to be played. It's odd; happens to my PC but not my laptop. Still got some complaints about it though, so I personally ended up changing to full .OGG just to be safe.
:~

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: MIDI support in ARC
« Reply #2 on: November 21, 2011, 05:58:36 AM »
Yeah something happened between XP and Vista that screwed MIDI playback horribly. Ever since Vista, people have had issues with it.

Offline zenvirzan

  • Trained Member
  • *
  • Posts: 19
  • LV: 0
  • The Ruby Addict
    • View Profile
Re: MIDI support in ARC
« Reply #3 on: November 21, 2011, 08:10:09 AM »
The only reason I use midi is for the b06f command, "when at end, loop to here" so when the song ends, it starts at that point rather than at the beginning.
INCREDIBLY useful. ( Added in RMXP, not default players )

If we could use like a LOOPTO tag or something in the audio file with the sample number/time after it, which will loop it to there instead would be great.
Otherwise, please include MIDI support (with the looping support RMXP has :))

Offline Fantasist

  • Lexima Warrior
  • *******
  • Posts: 2222
  • LV: 146
  • Gender: Male
    • View Profile
    • Blog
Re: MIDI support in ARC
« Reply #4 on: November 21, 2011, 12:35:16 PM »
Voted 5.
Quote
If we could use like a LOOPTO tag or something in the audio file with the sample number/time after it, which will loop it to there instead would be great.
This was planned for ARC, wasn't it?

Quote
in fact if you have the right software and some VSTs you can render them with a higher quality instrument sounds that the standard synthesizers found on most computers.
DETAILS! :o
Do you like ambient/electronic music? Then you should promote a talented artist! Help out here. (I'm serious. Just listen to his work at least!)

The best of freeware reviews: Gizmo's Freeware Reviews



Offline MarkHest

  • Video Game Music Composer
  • Astral Trancist
  • *****
  • Posts: 700
  • LV: 16
  • Gender: Male
  • Smile, Laugh, Live
    • View Profile
    • My Youtube Site
Re: MIDI support in ARC
« Reply #5 on: November 21, 2011, 01:42:53 PM »
There are so many people that uses MIDI and will probably be very disapointed if their projects can no longer contain it. Mainly becous they have to use OGG or something instead that will increase the sound file's size 100times or more.

If it is possible would say that ARC should support MIDI, becous so many people use it.
But as you said, Ryex, importing the function to play MIDI's is a pain in the ass. I understand this as i know how MIDI's work(well, sort of) and if it's too much work then we chould just skip it. It's realy up to you programmers.

It's a boring and old sound file so i wouln't use it unless i wanted to bring out a classic feeling to my games, but that's just me. I guess we need a vote from a lot more people to understand how we all feel about this.

I voted 6.

+ because many people still use it.
- because i never use it.
« Last Edit: November 21, 2011, 01:45:39 PM by MarkHest »
   

Offline MikePjr

  • Awakened Visionist
  • **
  • Posts: 94
  • LV: 2
  • Gender: Male
  • Pixel artist extrodinare, and gifted story teller.
    • View Profile
Re: MIDI support in ARC
« Reply #6 on: November 22, 2011, 09:03:43 AM »
I like how RPG Maker XP and VX used midis, but it gave me an idea..
What if ARC used it's own instrument library?
That way it WOULD sound the same to one person from another?

And yes, i noticed that after i did a system update recently, midi's stop working worth a crap in windows 7.... and in fact, RPG Maker XP lags a little if it's using Midis, and RPG Maker VX lags before starting up no mater what, which sucks.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19917
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: MIDI support in ARC
« Reply #7 on: November 22, 2011, 09:20:10 AM »
This isn't an option. Then we're moving away from proper MIDI even more.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline MikePjr

  • Awakened Visionist
  • **
  • Posts: 94
  • LV: 2
  • Gender: Male
  • Pixel artist extrodinare, and gifted story teller.
    • View Profile
Re: MIDI support in ARC
« Reply #8 on: November 22, 2011, 05:38:34 PM »
I don't think what i said made sense cause of how i said it.
What i'm saying.. is midis would use a sound bank in ARC, it would eliminate things like a game's music sounding different on other people's PCs.
It's gonna suck if i can't use midis, especially if i can't script in the use of other audio formats, i don't care for OGG or what ever, formats like wave and OGG and MP3 and what ever else that's actual recordings, can get to be pretty huge.... and i'm not willing to mess with things uploading huge files cause all we're left with are such large files.
I honestly gotta have midi support... or... no i won't die.. i just won't see myself using ARC sadly...

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19917
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: MIDI support in ARC
« Reply #9 on: November 22, 2011, 05:44:02 PM »
We didn't say that we won't implement it, but there will be obvious limitations, that's what we are trying to say. Now we're trying to figure out if the limitations are severe enough that we'll just skip the whole thing completely.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3248
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: MIDI support in ARC
« Reply #10 on: November 22, 2011, 06:49:46 PM »
Now that's a die-hard MIDI fan.  As Ryex said, finding MIDI support for modern systems, especially that is cross-platform, is quite difficult. In all likelihood, we can allow the playback of MIDI, at least for some platform(s), but pitch changing is looking rather grim.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Subsonic_Noise

  • Guest
Re: MIDI support in ARC
« Reply #11 on: November 22, 2011, 09:57:53 PM »
Wouldn't pitch changing just involve adding / subtracting a specific amount to or from the note on and off commands' pitch bits? That shouldn't create any problems on any platform whatsoever.

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3248
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: MIDI support in ARC
« Reply #12 on: November 22, 2011, 10:07:51 PM »
You are more than welcome to code such a function that works in Python and C++.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19917
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: MIDI support in ARC
« Reply #13 on: November 22, 2011, 10:10:23 PM »
If we can simply generate raw audio data from the MIDI file, then pitch is no problem as we can just resample and speed it up. The questions is whether we can, because I have noticed that most MIDI systems don't abruptly stop the MIDI from play but have a short fade-out. I suspect that the audio mixer is inside the OS and we don't really have access to any audio data.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5131
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: MIDI support in ARC
« Reply #14 on: November 22, 2011, 11:32:17 PM »
there are software rendering libraries for midi that could generate wav data...  timidity http://sourceforge.net/projects/timidity/ and fluidsynth http://sourceforge.net/apps/trac/fluidsynth/ were what I found when looking for it. but I'm not sure how well they will integrate into XAL if at all.
« Last Edit: November 22, 2011, 11:34:20 PM by Ryex »
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19917
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: MIDI support in ARC
« Reply #15 on: November 23, 2011, 12:21:56 AM »
I think DirectSound already does that. I'm not 100% sure, but I think it does.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline MikePjr

  • Awakened Visionist
  • **
  • Posts: 94
  • LV: 2
  • Gender: Male
  • Pixel artist extrodinare, and gifted story teller.
    • View Profile
Re: MIDI support in ARC
« Reply #16 on: November 23, 2011, 04:05:53 PM »
I was sure that, that was how RMXP does it, it's not playing the midis normally, it's running them through a wave thingy..

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19917
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: MIDI support in ARC
« Reply #17 on: November 23, 2011, 04:32:59 PM »
But you will notice that RMXP stops other sounds immediately while there is always a reverb fade-out with MIDIs.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline MikePjr

  • Awakened Visionist
  • **
  • Posts: 94
  • LV: 2
  • Gender: Male
  • Pixel artist extrodinare, and gifted story teller.
    • View Profile
Re: MIDI support in ARC
« Reply #18 on: November 26, 2011, 12:38:35 PM »
No it does not, not for me.
It still plays fine, the sounds keep playing.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19917
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Differences between RGSS and Zer0 RGSS
« Reply #19 on: May 13, 2012, 05:31:27 PM »
It's final, there will be no MIDI support.

Why? There are many reasons. The first reason is that there is no really good multi-platform solution to play MIDIs which would basically mean that MIDIs might work on Windows, but don't work on Mac and Linux. This is not something that's acceptable. Third party libraries that provide the functionality of handling MIDI files often don't have what's necessary to seamlessly load and play the files. All of them complicate things even further instead of making it simpler to play MIDI files or convert them on-the-fly into WAVE data. I really hate to give up on MIDI, because I believe it's a great format for something like a hobby game maker engine because of the size, but sadly we can't support it. We will make sure to provide at least links and ways how you can convert your MIDI files into other formats. I am really sorry about this.

XAL will support the SPX format properly in the future which means that ARC will support it as well. This format is used for lossy compression of speech files. The compression ratio is amazing. You can get high quality speech recordings with little space requirement. This will help people who want their games to have voice acting a lot since the speech files will be very small.
« Last Edit: May 16, 2012, 08:25:21 AM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.