Web Audio API and MIDI

Discussion and feedback on Construct 2

Post » Sun May 06, 2012 12:26 am

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?

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.
Check out my HTML5 Firefox OS Game Programming and Game Playing blog at http://firefoxosgaming.blogspot.com/ and my book on Amazon at http://www.amazon.com/dp/B00IZUYIGO. I wrote a newer post on using Construct for Firefox OS at http://firefoxosgaming.blogspot.com/201 ... -game.html.
B
16
S
4
G
4
Posts: 181
Reputation: 3,837

Post » Sun May 06, 2012 1:27 am

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?
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468

Post » Sun May 06, 2012 1:49 am

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.
Check out my HTML5 Firefox OS Game Programming and Game Playing blog at http://firefoxosgaming.blogspot.com/ and my book on Amazon at http://www.amazon.com/dp/B00IZUYIGO. I wrote a newer post on using Construct for Firefox OS at http://firefoxosgaming.blogspot.com/201 ... -game.html.
B
16
S
4
G
4
Posts: 181
Reputation: 3,837

Post » Sun May 06, 2012 3:47 am

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.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468

Post » Sun May 06, 2012 5:31 am

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.
Check out my HTML5 Firefox OS Game Programming and Game Playing blog at http://firefoxosgaming.blogspot.com/ and my book on Amazon at http://www.amazon.com/dp/B00IZUYIGO. I wrote a newer post on using Construct for Firefox OS at http://firefoxosgaming.blogspot.com/201 ... -game.html.
B
16
S
4
G
4
Posts: 181
Reputation: 3,837

Post » Sun May 06, 2012 7:46 am

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.
B
47
S
10
G
6
Posts: 455
Reputation: 8,326

Post » Sun May 06, 2012 8:50 am

Seems like MIDI is working over here via MIDI.js

Check out Color Piano.BenApuna2012-05-06 09:02:30
B
7
G
3
Posts: 6
Reputation: 1,529

Post » Sun May 06, 2012 9:33 am

[QUOTE=BenApuna] Seems like MIDI is working over here via MIDI.js

Check out Color Piano.[/QUOTE]

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!
Check out my HTML5 Firefox OS Game Programming and Game Playing blog at http://firefoxosgaming.blogspot.com/ and my book on Amazon at http://www.amazon.com/dp/B00IZUYIGO. I wrote a newer post on using Construct for Firefox OS at http://firefoxosgaming.blogspot.com/201 ... -game.html.
B
16
S
4
G
4
Posts: 181
Reputation: 3,837

Post » Tue Jan 29, 2013 12:30 am

[QUOTE=Bob Thulfram] [QUOTE=BenApuna] Seems like MIDI is working over here via MIDI.js

Check out Color Piano.[/QUOTE]

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![/QUOTE]

I would like to see MIDI.js insite C2 too. Great stuff.
B
73
S
24
G
31
Posts: 139
Reputation: 20,715

Post » Tue Mar 26, 2013 1:44 pm

Oh man - I would be so psyched if C2 supported midi!!! We could have great huge music compositions with itty-bitty file sizes..
B
13
S
2
Posts: 30
Reputation: 1,272

Next

Return to Construct 2 General

Who is online

Users browsing this forum: 8tomo8 and 11 guests