W3C home > Mailing lists > Public > public-audio@w3.org > January to March 2015

Re: Playing MIDI on Web Pages

From: Chris Wilson <cwilso@google.com>
Date: Tue, 17 Feb 2015 08:45:22 -0600
Message-ID: <CAJK2wqV3B=Jp+jiBEetc0=ejykNuWiR6KDHLZTYBf3DY8=Qnkg@mail.gmail.com>
To: Adam Goode <agoode@google.com>
Cc: The Cyber Hymnal™ <cyberhymnal@hotmail.com>, Audio Working Group <public-audio@w3.org>
MIDI.js probably isn't a great option for that scenario - it loads
soundfonts to do MIDI playback.  For example, the color piano demo loads a
2.5MB soundfont.  If you got that locally cached, it would be okay, but if
you're having to load the samples every time, not so much.  Would be better
if you could directly play back to a local General MIDI device.

On Mon, Feb 16, 2015 at 4:22 PM, Adam Goode <agoode@google.com> wrote:

> Give a look at MIDI.js:
> https://github.com/mudcube/MIDI.js
> Adam
> On Feb 16, 2015 4:39 PM, "The Cyber Hymnal™" <cyberhymnal@hotmail.com>
> wrote:
>> *Was delighted to see the February 2015 Web Audio Editor's draft on Git
>> Hub. We were despairing that the project had been abandoned, since the last
>> working draft on the W3.org site was dated October 2013. Please keep up the
>> good work! MIDI is an incredibly useful and unappreciated medium.  On our
>> site, we have almost 10,000 MIDI files accessed by  users world wide. One
>> of the biggest advantages of MIDI for us is its tiny bandwidth requirement.
>> Many of our users are in third world countries, and areas where broadband
>> will not be available any time soon, so large format files like MP4, etc.
>> are not an option.  MIDI is our only practical solution, but sadly, the
>> HTML <audio> tag, as you know, does not support it.Anything you can do to
>> hasten the adoption of a standard audio API (or  even better, MIDI support
>> via the <audio> tag) would help unserved millions. If there's anything we
>> can do to help test or evaluate beta or other versions, please let us
>> know.Dick Adams*
>> *___________________________The Cyber Hymnal™       <>< *
>> *http://www.hymntime.com/tch <http://www.hymntime.com/tch>*
Received on Tuesday, 17 February 2015 14:45:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 17 February 2015 14:45:52 UTC