<div dir="ltr"><div>MIDI is supported pretty well in web browsers. In fact, after installing a browser extension such as</div><div><br></div><a href="https://github.com/jazz-soft/JZZ">https://github.com/jazz-soft/JZZ</a><br><div><br></div><div>x3dom and x_ite most likely play midi files from X3D scenes, unmodified. It would be possible to add midi support directly to x3dom/x_ite but the increase in complexity (cross-browser robustness)  and browser size though limited may not be justified given the even more limited use of midi as a sound file format.</div><div><br></div><div>I would expect MIDI 2.0 to also become supported by web browsers and extensions.</div><div><br></div><div>My 2c, -Andreas </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 25, 2020 at 6:39 PM Don Brutzman <<a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Summary: shall we upgrade X3D4 support for MIDI to now-available MIDI version 2.0?<br>
<br>
Dick and I have been reviewing X3D4 references and updating when appropriate.<br>
<br>
"MIDI is a technical standard that describes a communications protocol, digital interface, and electrical connectors that connect a wide variety of electronic musical instruments, computers, and related audio devices for playing, editing and recording music."<br>
<br>
* Musical Instrument Digital Interface (MIDI)<br>
   <a href="https://en.wikipedia.org/wiki/MIDI" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/MIDI</a><br>
<br>
Background soundtrack for this email:<br>
<br>
* <a href="https://en.wikipedia.org/wiki/File:Ented,_Nokturn_a-moll_-_Jesienny.ogg" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/File:Ented,_Nokturn_a-moll_-_Jesienny.ogg</a><br>
   <a href="https://upload.wikimedia.org/wikipedia/commons/5/5b/Ented%2C_Nokturn_a-moll_-_Jesienny.ogg" rel="noreferrer" target="_blank">https://upload.wikimedia.org/wikipedia/commons/5/5b/Ented%2C_Nokturn_a-moll_-_Jesienny.ogg</a><br>
<br>
The MIDI Association (originally MIDI Manufacturers Association) is a non-profit 501(c)6 with the goal to expand, promote, and protect MIDI technology for the benefit of artists and musicians around the world.  There are two member classes, Individual and Corporate Memberships.<br>
<br>
* <a href="https://www.midi.org" rel="noreferrer" target="_blank">https://www.midi.org</a><br>
* <a href="https://www.midi.org/about" rel="noreferrer" target="_blank">https://www.midi.org/about</a><br>
<br>
They have been busy after all this time, and have approved MIDI 2.0 in 2020.<br>
<br>
* Introduction to MIDI 2.0 by MIDI Association<br>
   <a href="https://www.youtube.com/watch?v=klun6WMxryU&feature=emb_title" rel="noreferrer" target="_blank">https://www.youtube.com/watch?v=klun6WMxryU&feature=emb_title</a><br>
<br>
* What Is MIDI 2.0? - How MIDI Version 2 Will Change Music Production Forever!<br>
   by Professional Music Technologies PMTVUK (Sam)<br>
   <a href="https://www.youtube.com/watch?v=3TLxH_G-PcM" rel="noreferrer" target="_blank">https://www.youtube.com/watch?v=3TLxH_G-PcM</a><br>
<br>
Upon first scrutiny MIDI 2.0 technology appears unencumbered for free use.  No problems found.  I also subscribed as a member (free) without mishap.<br>
<br>
* MMA IP Policy<br>
   <a href="https://www.midi.org/mma-ip-policy" rel="noreferrer" target="_blank">https://www.midi.org/mma-ip-policy</a><br>
<br>
* MIDI Terms of Use<br>
   <a href="https://www.midi.org/terms-of-use" rel="noreferrer" target="_blank">https://www.midi.org/terms-of-use</a><br>
<br>
* Official MIDI Specifications<br>
   <a href="https://www.midi.org/specifications" rel="noreferrer" target="_blank">https://www.midi.org/specifications</a><br>
<br>
Of note, "MIDI 2.0 is an extension of MIDI 1.0. It does not replace MIDI 1.0 but builds on the core principles, architecture, and semantics of MIDI 1.0."  Further descriptions explain how over 30 years of stability has made seamless backwards compatibility paramount.<br>
<br>
X3D3 and X3D4 normatively reference the MIDI 1.0 specification, and MIDI 1.0 support is recommended.<br>
<br>
* X3D Architecture, Clause 2, Normative references<br>
   <a href="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-WD3/Part01/references.html#[MIDI]" rel="noreferrer" target="_blank">https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-WD3/Part01/references.html#[MIDI]</a><br>
<br>
==================================================================<br>
* X3D Architecture, Sound component, 16.2.6 Audio encoding formats<br>
   <a href="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-WD3/Part01/components/sound.html" rel="noreferrer" target="_blank">https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-WD3/Part01/components/sound.html</a><br>
<br>
Browsers shall support at least the wavefile format in uncompressed PCM format (see [WAV]).<br>
<br>
It is recommended that browsers support the MIDI file type 1 sound format (see 2.[MIDI]). MIDI files are presumed to use the General MIDI patch set.<br>
<br>
It is also recommended that browsers support the following formats:<br>
<br>
- Format=MP3, container=MP3, compressed (see 2.[I11172-1]).<br>
- Format=AAC, container=MP4<br>
==================================================================<br>
<br>
Please advise regarding support, further analysis, or if there are any known reasons to not upgrade X3D4 support for MIDI to now-available MIDI version 2.0.<br>
<br>
Our sound team (Efi Thanos Dick Don) will look closely at this candidate capability next week.  Absent objections, I'd expect us to add it to the final member-voting Committee Draft before the imminent ballot freeze.<br>
<br>
Thanks for considering the possibilities.  Have fun with MIDI!<br>
<br>
and Happy Thanksgiving as well, we all have much to be thankful for.<br>
<br>
* <a href="https://www.theholidayspot.com/thanksgiving/music" rel="noreferrer" target="_blank">https://www.theholidayspot.com/thanksgiving/music</a><br>
<br>
and (earworm alert) knowing how everyone loves a good polka:<br>
<br>
* <a href="https://www.theholidayspot.com/thanksgiving/music/thanksgiving-polka.mid" rel="noreferrer" target="_blank">https://www.theholidayspot.com/thanksgiving/music/thanksgiving-polka.mid</a><br>
<br>
all the best, Don<br>
-- <br>
Don Brutzman  Naval Postgraduate School, Code USW/Br       <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br>
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149<br>
X3D graphics, virtual worlds, navy robotics <a href="http://faculty.nps.edu/brutzman" rel="noreferrer" target="_blank">http://faculty.nps.edu/brutzman</a><br>
<br>
_______________________________________________<br>
consortium mailing list<br>
<a href="mailto:consortium@web3d.org" target="_blank">consortium@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/consortium_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/consortium_web3d.org</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Andreas Plesch<br>Waltham, MA 02453</div></div></div>