Web Audio API and MIDI

  • I've been poking around on the W3C Audio Working group and it looks like they are not only supporting the advanced Web Audio API (where you can filter and mangle your audio) but have just gotten around to including MIDI.

    Is there any chance in heck that Construct 2 will ever support MIDI? I really love MIDI and there are a zillion programs to support it. Or is it one of those things that will be left behind in the mad stampede to the promised land of HTML5? <img src="smileys/smiley17.gif" border="0" align="middle" />

    I do see some support growing for the Web Audio API and I would love to work with it. But MIDI is a surprise. I was disappointed that MIDI was not supported by IE for HTML5 audio when Windows Media Player still supported MIDI. But if the W3C is going to support it, that may make a difference.

  • As far as I am aware, no web technology supports MIDI, not even the Web Audio API. Can you link me to where you read about that?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Here's a recent discussion: W3C Audio WG Teleconference

    They are discussing it, but no agreement has been reached and I don't expect them to decide soon. This is the first time there has been discussion at the W3C. Sounds like the answer is wait and see.

    The issue, of course, is what audio library would be used to make the standard MIDI sounds. Maybe the web is fast enough for .m4a and .ogg.

    Short answer: move along, nothing to see here. <img src="smileys/smiley18.gif" border="0" align="middle">

  • Well, if support is added, we'll be sure to add support too. But as you say this is just a discussion - it guarantees nothing.

  • Yup, agreed. I'm going to watch this because I've been working with MIDI for a long time. It was one of the first ways to put music on the web, but I don't think people are using much now. But it does have the possibility of being a light, fast musical technology again.

  • MIDI is great, widely supported and small. Also, MIDI is easily customized. I always make my music in MIDI first and then I process it into higher quality. I always keep my MIDI files and the finished ones.

  • Seems like MIDI is working over here via MIDI.js

    Check out Color Piano.

  • Seems like MIDI is working over here via MIDI.js

    Check out Color Piano.

    This is awesome and make me feel all warm and fuzzy. I'm definitely going to be using this. It also wouldn't be hard to write a plugin for Construct 2.

    I'm really starting to believe that anything can be done with HTML5, JavaScript, and CSS. And if you want more, just find a library like midi.js.

    Thanks, Ben!

  • > Seems like MIDI is working over here via MIDI.js

    >

    > Check out Color Piano.

    This is awesome and make me feel all warm and fuzzy. I'm definitely going to be using this. It also wouldn't be hard to write a plugin for Construct 2.

    I'm really starting to believe that anything can be done with HTML5, JavaScript, and CSS. And if you want more, just find a library like midi.js.

    Thanks, Ben!

    I would like to see MIDI.js insite C2 too. Great stuff.

  • Oh man - I would be so psyched if C2 supported midi!!! We could have great huge music compositions with itty-bitty file sizes..

  • This is a pretty old thread - when it was last posted there wasn't anything official to report on. However it does seem like a Web MIDI API is in the works. This appears to still be a work-in-progress spec, meaning it could be a long way off before it's really implemented in browsers, but it looks like it could be supported eventually!

  • Yay for MIDI ^^

  • Hi Ashley..

    Can u make a plugin for midi support, because it's a small size to make background intro/music . I found it here too...

    mudcu.be/midi-js

  • Any updates?

  • No, there are still no browsers that support MIDI, but Chrome may support it some time this year.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)