Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

MIDI is Staging a Comeback… in Your Browser!

376 views

Published on

Presented at FITC Toronto 2017
More info at http://fitc.ca/event/to17/

Presented by Jean-Philippe Côté, TangibleJS

Overview

If you own an electronic music instrument made in the last 3 decades, it most likely supports the MIDI protocol. What if we told you that it is now possible to interact with your beloved keytar, drum machine or MIDI software directly from your browser? You would go crazy, right? Well, prepare to do so…

With built-in support inside Chrome and Opera, upcoming support in Firefox and plugins for other platforms, this possibility is now a reality. This talk will introduce the audience to the Web MIDI API and to a library that will help you get the most out of it called WebMidi.js.

Web devs, man your synths!

Objective

Kickstart the development of web-based, MIDI-driven projects.

Target Audience

Web developers who want to make some noise and musicians paying bills doing front-end dev gigs

Assumed Audience Knowledge

Basic knowledge of the world’s top 4 languages: HTML, CSS, JavaScript and MIDI

Five Things Audience Members Will Learn

What the Web MIDI API is and what it can be used for
What the current support level for MIDI in browsers is
Why the Web MIDI API is too low-level for the average web developer and what can be done about it
How to send MIDI commands to MIDI devices and how to react to incoming MIDI events
How it sounds when a web developer transforms into an electronic musician

Published in: Internet
  • I'd advise you to use this service: ⇒ www.HelpWriting.net ⇐ The price of your order will depend on the deadline and type of paper (e.g. bachelor, undergraduate etc). The more time you have before the deadline - the less price of the order you will have. Thus, this service offers high-quality essays at the optimal price.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THE BOOK INTO AVAILABLE FORMAT (New Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THE can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THE is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBOOK .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookBOOK, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, EBOOK, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THE Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THE the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THE Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THE BOOK INTO AVAILABLE FORMAT (New Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THE can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THE is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBOOK .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookBOOK, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, EBOOK, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THE Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THE the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THE Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • 7 Signs Your Car Battery Is About To Die And Needs To Be Replaced (or reconditioned) ★★★ https://bit.ly/2t1uc6e
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

MIDI is Staging a Comeback… in Your Browser!

  1. 1. Original art by Raul Taciu. Used with permission.
  2. 2. WEB MIDI API « the Web-MIDI API is the most significant advancement of MIDI since… MIDI itself! » — midi.org Source: https://www.midi.org/articles/about-web-midi
  3. 3. Source: caniuse.com/#search=midi
  4. 4. jazz-soft.net
  5. 5. Firefox v52+ NPAPI https://addons.mozilla.org/en-US/firefox/addon/jazz-midi/
  6. 6. Sources: caniuse.com/#search=midi and http://gs.statcounter.com/browser-market-share/desktop/worldwide 92%DESKTOP BROWSER COVERAGE
  7. 7. Web MIDI API Polyfill: http://cwilso.github.io/WebMIDIAPIShim/
  8. 8. Source: https://www.midi.org/specifications/item/table-2-expanded-messages-list-status-bytes
  9. 9. #%?*&$#!
  10. 10. https://github.com/cotejp/webmidi
  11. 11. Web MIDI Library: https://github.com/cotejp/webmidi
  12. 12. • decrementRegisteredParameter • incrementRegisteredParameter • playNote • send • sendActiveSensing • sendChannelAftertouch • sendChannelMode • sendClock • sendContinue • sendControlChange • sendKeyAftertouch • sendPitchBend • sendProgramChange • sendReset • sendSongPosition • sendSongSelect • sendStart • sendStop • sendSysex • sendTimecodeQuarterFrame • sendTuningRequest • setMasterTuning • setModulationRange • setNonRegisteredParameter • setPitchBendRange • setRegisteredParameter • setTuningBank • setTuningProgram • stopNote Functions for outgoing MIDI messages
  13. 13. Events for incoming MIDI messages • activesensing • channelaftertouch • channelmode • clock • continue • controlchange • keyaftertouch • noteoff • noteon • pitchbend • programchange • reset • songposition • songselect • start • stop • sysex • timecode • tuningrequest
  14. 14. What about latency? Native Instruments Battery 4+ VS.
  15. 15. Pad Hit 440Hz Tone LATENCY
  16. 16. 9ms16ms Native Instruments Battery 4+ Numbers reflect the time between hitting a pad on AxiomPro controller and hearing the sound come out of the computer. Tests performed on MacBook Pro (macOS Sierra). Buffer size was 128 samples. VS.
  17. 17. What about latency? Path A Path B
  18. 18. How much slower? 0ms
  19. 19. https://github.com/cotejp/webmidi
  20. 20. THIS SLIDE INTENTIONALLY LEFT BLACK
  21. 21. 1988 Roland Octapad II (PAD-80)
  22. 22. CODE DEMO
  23. 23. LET’S HEAR IT OUT!
  24. 24. HOMEWORK
  25. 25. QUESTIONS ?
  26. 26. Vote for Web MIDI API Support in Microsoft Edge https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/6508429-web-midi-api Follow Web MIDI Development in Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=836897 Web MIDI API Specification https://webaudio.github.io/web-midi-api/ WebMidi Library https://github.com/cotejp/webmidi Web MIDI API Polyfill http://cwilso.github.io/WebMIDIAPIShim/ Web MIDI API Shim for iOS https://github.com/mizuhiki/WebMIDIAPIShimForiOS Web MIDI Browser http://www.taktech.org/takm/WebMIDIBrowser/ Tone.js Web Audio Framework https://github.com/Tonejs/Tone.js/ Source Code From This Talk https://github.com/cotejp/fitc-2017-midi-talk Jazz-MIDI Extension for Firefox https://addons.mozilla.org/en-US/firefox/addon/jazz-midi/ Links from this talk

×