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.
I used to have a blog at http://firefoxosgaming.blogspot.com/ but FirefoxOS is dead and I'm not. I'm thinking about a blog covering Construct 3 and Chromebooks! Talk me out of it...
B
17
S
4
G
4
Posts: 186
Reputation: 3,901

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
382
S
223
G
85
Posts: 23,990
Reputation: 189,527

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.
I used to have a blog at http://firefoxosgaming.blogspot.com/ but FirefoxOS is dead and I'm not. I'm thinking about a blog covering Construct 3 and Chromebooks! Talk me out of it...
B
17
S
4
G
4
Posts: 186
Reputation: 3,901

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
382
S
223
G
85
Posts: 23,990
Reputation: 189,527

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.
I used to have a blog at http://firefoxosgaming.blogspot.com/ but FirefoxOS is dead and I'm not. I'm thinking about a blog covering Construct 3 and Chromebooks! Talk me out of it...
B
17
S
4
G
4
Posts: 186
Reputation: 3,901

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,331

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!
I used to have a blog at http://firefoxosgaming.blogspot.com/ but FirefoxOS is dead and I'm not. I'm thinking about a blog covering Construct 3 and Chromebooks! Talk me out of it...
B
17
S
4
G
4
Posts: 186
Reputation: 3,901

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
78
S
27
G
94
Posts: 192
Reputation: 52,777

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,277

Next

Return to Construct 2 General

Who is online

Users browsing this forum: Herbert123, LaurenceBedford, Solomon and 7 guests