Using MIDI.js the code would look as follows. Imagine you wanted to synthesize a Xylophone playing a middle C at maximum volume for half a second. The MIDI.js project unites a number of libraries to reproduce the MIDI standard using JavaScript in a way that works on most browsers (including mobile). There is a huge body of knowledge surrounding MIDI making it a logical choice for inclusion in the browser. MIDI, at its core, describes methods to select an instrument and play a note at a certain volume for a given length of time. Announced to the public by Robert Moog himself, the protocol has withstood the test of time (and a number of revisions) to become the de facto standard by which electronic musical instruments and computers communicate. Musical Instrument Digital Interface has influenced, if not generated, much of the music we hear today. While transmigrated browser technologies often initially lack the versatility and raw power offered by their desktop brethren (mostly due to the sluggishness of JavaScript and the sheer number of development hours spent creating and optimizing native code for desktops environments like Mac OS, Windows, and Linux), it was a real joy and a testament to HTML5’s promise of better support for the future of online multimedia to play with MIDI.js, a framework that has brought a veteran technology to the browser with the help of the HTML5 element, the Web Audio API, and the Web MIDI API. The promo video for the app is worth watching. The velocity of the satellite, its elevation, and other aspects of its trajectory determine the instrument, pitch, and rhythm of notes generated by that satellite and the visualization on the page. Using data calculated live from NORAD, musical notes ride and set as satellites appear and disappear over the horizon. Consider WebGL replacing OpenGL with the help of the tag and HTML5 video replacing ActionScript/Flash with the element.Īt the well-run Science Hack Day SF I was able to dive into these new browser technologies along with Jade and Rich to build Symphony of Satellites, an app that generates music based on the trajectories of satellites currently overhead. The evolution of the web browser is in many ways the repackaging and reintroduction of technologies that have existed on the desktop for decades.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |