<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Create Digital Music &#187; protocols</title>
	<atom:link href="http://createdigitalmusic.com/tag/protocols/feed/" rel="self" type="application/rss+xml" />
	<link>http://createdigitalmusic.com</link>
	<description>Making music with technology</description>
	<lastBuildDate>Mon, 13 Feb 2012 20:06:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Looking Beyond MIDI, What&#8217;s the Best Way to Represent Musical Notes Digitally?</title>
		<link>http://createdigitalmusic.com/2010/06/looking-beyond-midi-whats-the-best-way-to-represent-musical-notes-digitally/</link>
		<comments>http://createdigitalmusic.com/2010/06/looking-beyond-midi-whats-the-best-way-to-represent-musical-notes-digitally/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 04:13:14 +0000</pubDate>
		<dc:creator>Peter Kirn</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[analysis]]></category>
		<category><![CDATA[composing]]></category>
		<category><![CDATA[editorial]]></category>
		<category><![CDATA[future]]></category>
		<category><![CDATA[futurism]]></category>
		<category><![CDATA[MIDI]]></category>
		<category><![CDATA[networked]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[notation]]></category>
		<category><![CDATA[OpenSoundControl]]></category>
		<category><![CDATA[opinion]]></category>
		<category><![CDATA[OSC]]></category>
		<category><![CDATA[protocols]]></category>
		<category><![CDATA[scores]]></category>
		<category><![CDATA[scoring]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[trends]]></category>

		<guid isPermaLink="false">http://createdigitalmusic.com/?p=11674</guid>
		<description><![CDATA[Speaking in Hamburg to a terrific group of assembled locals from a variety of design backgrounds. And yes, this is the other part of my life behind me. I just seem to generally skip the years 1700-1985. Go figure. The history of music and the history of music notation are closely intertwined. Now, digital languages &#8230; <a class="btn read-more" href="http://createdigitalmusic.com/2010/06/looking-beyond-midi-whats-the-best-way-to-represent-musical-notes-digitally/">Continue &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://createdigitalmusic.com/files/2010/06/rsvp1_pk.jpg" alt="" title="rsvp1_pk" width="500" height="375" class="alignnone size-full wp-image-11697" /></p>
<div class="imgcaption">Speaking in Hamburg to a terrific group of assembled locals from a variety of design backgrounds. And yes, this is the other part of my life behind me. I just seem to generally skip the years 1700-1985. Go figure.</div>
<p>The history of music and the history of music notation are closely intertwined. Now, digital languages for communicating musical ideas between devices, users, and software, and storing and reproducing those ideas, take on the role notation alone once did. Notation has always been more than just a way of telling musicians what to do. (Any composer will quickly tell you as much.) Notation is a model by which we think about music, one so ingrained that even people who can&#8217;t read music are impacted by the way scores shape musical practice.</p>
<p>All of this creates a special challenge. Musical notational systems had traditionally evolved over centuries. Now, we face the daunting question of how to build that language overnight. </p>
<p>This question has been a topic I&#8217;ve visited in a couple of talks, first here in New York at <a href="http://inoutfest.org/">in/out fest</a> last December, then most recently for a more general audience at <a href="http://precious-forever.com/rsvp/">RSVP</a>, a new conversation series in Hamburg, Germany hosted by the multi-disciplinary <a href="http://precious-forever.com/design-studio/">design studio Precious Forever</a>. (See photo at top, by which we can prove that the event happened. Check out <a href="http://www.jschardt.com/2010/05/23/rsvp1-with-peterkirn/">more on the event</a> and how the Precious gang hope this will inspire new interchange of ideas in Hamburg &#8211; something perhaps to bring to your town.)</p>
<p>What I&#8217;ve learned in talking to people at those events is, music notation matters. It&#8217;s more relevant to broad audiences than even those audiences might instinctively think. The most common lingua franca we have for digital music storage, MIDI, is woefully inadequate.</p>
<p>But perhaps most importantly: replacing MIDI&#8217;s primitive note message is far from easy. The more you try to &#8220;fix&#8221; MIDI, the more you appreciate its relative simplicity. And engineering new solutions could take re-examining assumptions Western music notation has made for centuries.</p>
<h3>Musical notation and culture</h3>
<p><img src="http://createdigitalmusic.com/files/2010/06/rockbandunplugged.jpg" alt="" title="rockbandunplugged" width="530" height="346" class="alignnone size-full wp-image-11682" /></p>
<div class="imgcaption">A recent PSP version of the standard Harmonix/GuitarFreaks interface, Rock Band Unplugged. Photo courtesy Harmonix.</div>
<p>Explaining the importance of notation to expert musicians is easy. But to convey its importance to lay people, you need look no further than the game interface developed by Harmonix for the hit titles Guitar Hero and Rock Band (and in turn descended from a similar interface paradigm used in the Japan-only Konami GuitarFreaks). These games demonstrate that, even among non-musician gamers, certain received wisdoms from Western notation endure. (In fairness, many of the designers of music games have a fair bit of musical experience, but the fact that their work is received by audiences in the way it is nonetheless speaks volumes.)<span id="more-11674"></span></p>
<p>The Guitar Hero interface actually <em>is</em> a Western musical score, rotated 90 degrees to make it easier to see how the events on-screen are matched to game play input. (For visual effect, the &#8220;track&#8221; is also rotated away from the screen, so that events further in the future recede into the background &#8211; a bit of visual flair that helped differentiate Harmonix from flatter-looking Japanese games.) </p>
<p>Whatever the rotation, the assumptions of the game screen itself are rooted in notation. Pitch is displayed along lines and spaces, just as on a score. Rhythm is displayed along a metrical grid, which reads as a linear track. Not coincidentally, I believe, when Harmonix has deviated from this formula, their titles have tended to be less successful. More sophisticated interactions in titles like Amplitude and Frequency (and the iPod game Phase) were big hits among gamers, but less so among the general public, perhaps in part because they require a more abstract relationship to the music.</p>
<p><a href="http://www.flickr.com/photos/quinnanya/2661496865/" title="Music notes by quinn.anya, on Flickr"><img src="http://farm4.static.flickr.com/3073/2661496865_3438754ef0.jpg" width="500" height="333" alt="Music notes"></a></p>
<div class="imgcaption">Musical notes as represented on the score are embedded in our consciousness &#8211; even if you can&#8217;t read a note. Photo (<a href="http://creativecommons.org/licenses/by-sa/2.0/deed.en">CC-BY-SA</a>) <a href="http://www.flickr.com/photos/quinnanya/">Quinn Dombrowski</a>.</div>
<p>Games are just one example, of course. Musical scores reflect basic cultural expectations, and in turn shape the music that people in that culture produce. As with most Western languages, text flows from left to right and top to bottom. Ask people to describe pitch in any culture that uses this notational system, and they&#8217;ll use the notions of &#8220;up&#8221; and &#8220;down,&#8221; &#8220;higher&#8221; and &#8220;lower&#8221; &#8211; even though these metaphors are meaningless in terms of sound. (Indonesian culture, for instance, gets it more physically correct, by describing what we call higher pitches as &#8220;smaller&#8221; and deeper pitches as &#8220;larger,&#8221; as they are in gongs.) And music in Western cultures are also deeply rooted on a grid, on 4/4 time and equal subdivisions. It wasn&#8217;t always so: even in the West, prior to the advent of notation of these meters, metrical structures flowed more freely.</p>
<p>It&#8217;s little surprise, then, that some of the biggest successes in electronic musical instruments have adopted the same conventions. From the Moog sequencer to the Page R editor on the Fairlight CMI sampler to the array of buttons on Roland&#8217;s grooveboxes, rhythmic sequencers that follow the grids devised in Western music notation are often the most popular. Even if the paradigm of the interface is one degree removed from the notation, the assumptions of how rhythms are divided &#8211; and thus the kinds of patterns you produce &#8211; remain.</p>
<p>Nowhere is this more true than in MIDI. MIDI is itself a kind of notational system, around which nearly all interfaces in software and hardware have been based over the past two and a half decades since its introduction.</p>
<p><a href="http://www.flickr.com/photos/the_wb/362232239/sizes/m/"><img src="http://farm1.static.flickr.com/161/362232239_fb11f104db.jpg"></a></p>
<div class="imgcaption">Yes, even the step buttons on machines like the Roland TR-808 map to Western notational divisions. Even a 13th-century monk would find them somewhat familiar. Here, translating from Reason&#8217;s ReDrum step sequencer to notation. Photo (<a href="http://creativecommons.org/licenses/by-sa/2.0/deed.en">CC-BY-SA</a>) <a href="http://www.flickr.com/people/the_wb/">Warren B</a>, taken at Agnes Y. Humphrey School (PS 27) in Brooklyn, NY.</div>
<h3>MIDI, keyboards, and piano rolls: An incomplete &#8220;standard&#8221;</h3>
<p>The first thing to understand about MIDI is that it began life as a keyboard technology. A complete history of MIDI should wait for another day, but even as its early history is <a href="http://www.midi.org/aboutmidi/tut_history.php">told by the MIDI Manufacturing Association</a>, it&#8217;s a technology for connecting keyboard-based synthesizers, not a solution to the broader question of how to represent music in general. </p>
<p><a href="http://www.flickr.com/photos/bdu/188558769/" title="p600 logo by bdu, on Flickr"><img src="http://farm1.static.flickr.com/65/188558769_d39e1f5d6e.jpg" width="500" height="375" alt="p600 logo"></a></p>
<div class="imgcaption">The first synth to acquire MIDI was the Sequential Circuits Prophet-600, thanks to father of MIDI Dave Smith. And as a result, MIDI fits the 600 and other instruments like it pretty well. That doesn&#8217;t mean it&#8217;s the right tool for every job. Photo (<a href="http://creativecommons.org/licenses/by-sa/2.0/deed.en">CC-BY-SA</a>) <a href="http://http://www.flickr.com/photos/bdu/">Brandon Daniel</a>.</div>
<p>Many of the tradeoffs in MIDI, though, were made long before the 1980s or the invention of digital technology. When the 19th Century creators of the player piano needed not only standardization but reproduce-ability &#8211; before the advent of recording, the power to recreate entire musical performances &#8211; they turned to the piano as a way of modeling musical events. Indeed, the first player pianos quite literally reproduced the process of playing a piano, using wooden, mechanical fingers to strike notes on the keys just as a human would, before that mechanism was replaced with the internal players familiar to us today. What these inventors found in the piano was an instrument that, in the name of accessibility, aligned pitch to a simple grid.</p>
<p>The piano is a beautiful instrument, but its great innovation &#8211; the grid of its black and white keys &#8211; is also its greatest shortcoming. That grid is an imperfect model even of Western musical pitches, let alone other cultural systems. The 12-tone equal-tempered tuning used on modern pianos makes tuning multiple keys easier, but only by way of compromises. Even a modern violinist or singer may differentiate between the inflection of a G flat and an F sharp, based on context, but to the piano, these pitches are the same. And tuning is only the beginning. Piano notes begin with a note being &#8220;switched&#8221; on and end with it being &#8220;switched&#8221; off &#8211; no bending or other events within that pitch as on most other instruments. </p>
<p><a href="http://www.flickr.com/photos/hoder_slanger/2135813741/" title="keys by Hoder Slanger, on Flickr"><img src="http://farm3.static.flickr.com/2362/2135813741_78809704fd.jpg" width="500" height="371" alt="keys"></a></p>
<div class="imgcaption">Open question &#8211; is it possible (and I&#8217;m speaking as a trained pianist here) to deconstruct the keyboard? Photo (<a href="http://creativecommons.org/licenses/by-sa/2.0/deed.en">CC-BY-SA</a>) <a href="http://www.flickr.com/photos/hoder_slanger/">Hoder Slanger</a>.</div>
<p>It&#8217;s little wonder, given MIDI&#8217;s origins as a protocol for communicating amongst keyboards, that the editing view most common in music software is the piano roll, labeled as such. The piano roll is the perfect paradigm for sequencing events played on a keyboard, but that doesn&#8217;t mean it&#8217;s the best language for describing all music. And the obligation of a digital protocol is actually greater than that of musical notation, because there&#8217;s no human being at the other end to fill in missing expression and context.</p>
<p>Consider what&#8217;s missing in MIDI:</p>
<ul>
<li><strong>Pitch reference: </strong>By convention, MIDI note 60 is C4. However, musical practice internationally lacks a consistent standard for what the tuning of C4 is, and any number of variables can interfere, from independent tuning tables to the use of the pitch bend to the activation of an octave transpose key.</li>
<li><strong>Pitch meaning:</strong> MIDI note values use an arbitrary pitch range from 0 to 127, a hypothetical 128-key piano, which itself makes no sense.  4? 8? 15? 16? 23? 42? The numbers themselves don&#8217;t mean anything.</li>
<li><strong>Pitch resolution: </strong>Because of the 0-127 resolution constraints, to get notes in between the pitches, you need a series of separate messages like pitch bend, giving you two values with only an incidental relationship to one another. Since pitch range is kept in yet another message, the results are confusing and un-musical, far more complex than they need to be. (Why wouldn&#8217;t 60.5 be a half-tone higher than 60?)</li>
<li><strong>Real expression: </strong>Events between note on and note off are represented independently as control change values. But that causes problems, because it means there&#8217;s no standard way to represent something as simple as a musical glissando. On a synth, making an expression (like twisting a knob or turning a wheel) separate from a note (pressing a key) makes sense. But that doesn&#8217;t make musical sense, and it doesn&#8217;t match most non-keyboard instruments. Only aftertouch is currently available, and that again assumes a keyboard and doesn&#8217;t expose pitch relationships created by adding the data.</li>
<li><strong>Musical representations of tuning and mode: </strong>The <a href="http://www.midi.org/techspecs/midituning.php">MIDI Tuning</a> extensions require that you dump tuning information in fairly unstructured System Exclusive binary dumps. The standard itself is in some flux, and at best, its reliance on byte messages means that it&#8217;s not something a human being can read. And it still must be aligned with 128 otherwise arbitrary values. It&#8217;ll work, but it only makes sense on keyboards, and even then, it&#8217;s not terribly musical. Looking at number 42 in your sequencer, you&#8217;d have no idea of the tuning behind it, or the position in a mode &#8211; something any rational musical notational system would make clear.</li>
</ul>
<p>Ironically, it was this very set of constraints that early innovators on the Buchla and Moog synthesizers hoped to escape. They were fully aware that the very genius of the keyboard was restricting musical invention. Analog control voltage, the basic means of interconnecting equipment prior to digital tech, was more open ended than MIDI, which replaced it. But that&#8217;s not to say it was better. Standardization is an aid in communication, as is the ability to describe messages. The question is, how can you do both? How can you be open ended and descriptive at the same time?</p>
<p><a href="http://www.flickr.com/photos/bonjour_d/3846044821/" title="??? notation musicale by Ben XU, on Flickr"><img src="http://farm3.static.flickr.com/2512/3846044821_e6974bf2ca.jpg" width="500" height="333" alt="??? notation musicale"></a></p>
<div class="imgcaption">We see notation everywhere we look, but that could be a good thing. Photo (<a href="http://creativecommons.org/licenses/by-sa/2.0/deed.en">CC-BY-SA</a>) <a href="http://www.flickr.com/photos/bonjour_d/">Ben XU / Hongbin XU</a>.</div>
<h3>How do you build a new system?</h3>
<p>Deconstructing is easy; constructing is hard. We certainly have the ability to send more open-ended messages and higher-resolution data; that&#8217;s not a problem. (Even by the early 80s when MIDI was introduced, its tiny messages and slow transmission speeds were conservative.) We also have <a href="http://opensoundcontrol.org">OpenSoundControl</a> (OSC), which has some traction and popularity, including near-viral use on mobile devices and universal support in live visual applications. It&#8217;s telling that that protocol is itself not really an independent protocol in the sense that MIDI is, but built on existing standards like TCP/IP and UDP. 2010 is, after all, not 1984. </p>
<p>The hold-up, I think, is simply the lack of a solid proposal for how to handle musical notes. And there are plenty of distractions. It&#8217;s tempting to throw out the simplicity of MIDI&#8217;s note on and note off schema, but it&#8217;s partly necessary: with a live input, you won&#8217;t know the duration of a pressed key until that key is released. It&#8217;s equally tempting to cling to Western musical pitches, even though those pitches themselves lack solid standardization and don&#8217;t encompass musical practices in the rest of the world. (12-tone equal temperament is a recent invention even in the Western world, and one that doesn&#8217;t encompass all of our musical practice. World tunings should best be described not by majority, but plurality, anyway &#8211; have a look at the <a href="http://en.wikipedia.org/wiki/File:World_population_pie_chart.PNG">current demographics of Planet Earth</a>.)</p>
<p>One solution is simply to express musical events by frequency. That&#8217;s not a bad lowest common denominator, or a way to set the frequency of an oscillator. As a musical representation, though, it&#8217;s inadequate. It&#8217;s simply not how we think musically. The numbers are also unpleasant, because we perceive pitch roughly logarithmically. Pop quiz:</p>
<p>Can you do logarithms in your head? Yes or no?</p>
<p>Can you count?</p>
<p>MIDI gets it half right by using numbers, but then it&#8217;s hard to see octave equivalence, another essential concept for perceiving pitch. MIDI note 72 is probably equivalent to MIDI note 60&#8230; assuming 12 steps per octave. Or it might not be. </p>
<p>If you need a common denominator that covers a variety of musical traditions, mode (or more loosely, pitch collection) and register aren&#8217;t a bad place to start. I don&#8217;t think a system needs to be terribly complex. It could simply be more descriptive than MIDI is &#8211; while learning from the things MIDI does effectively.</p>
<p>Consider a new kind of musical object, described over any protocol you choose. It would ideally contain:</p>
<ul>
<li><strong>Mode/pitch collection:</strong> As with MIDI and the MIDI tuning tables, tuning would need to be defined independently, but it can be done in a musical, human-readable way. It then becomes possible even to define modes that have different inflections based on context, as with pitches that are slightly different in ascending and descending gestures (common in many musical systems).</li>
<li><strong>Relative degree:</strong> a notation like &#8220;1 1 2 3 5 6&#8243; can work in any musical language. You simply need to know the active mode or pitch collection.</li>
<li><strong>Register: </strong>Instead of conflating register and scale degree, you could simply define an octave register and starting frequency. This retains modal identities and octave equivalence, and makes relative transposition easy to understand. (A &#8220;transposition&#8221; message could be defined as an actual message, which is more musically meaningful.)</li>
<li><strong>Standardized inflections, connected to pitch:</strong> Pitch bends and glissandi should be relative to a specific note, because notes can have pitches that bend around their relative scale degree. (Think of a singer bending just below a note and into the actual pitch. These aren&#8217;t independent events.) A trombonist would never have invented MIDI notes. They would likely have immediately turned to the question of how to universally describe bending between notes.</li>
<li><strong>Yes, frequency:</strong> There will be times when directly referring to frequency makes sense, and that should be possible, as well.</li>
<li><strong>Relative duration: </strong>Musical notation, regardless of musical culture, uses some kind of relative indication of duration. Only machines use raw clock values. The result is that it&#8217;s possible to make musically meaningful changes in tempo and have durations respond accordingly. And whereas note on and note on events make sense on input, a musical event would not logically separate these events; there&#8217;s some notion of an event with a beginning, middle, and end. If you sing an &#8216;A,&#8217; that&#8217;s one event, with a duration, not an independent beginning of the note and end of the note.</li>
</ul>
<p>Far from replacing existing standards for music notation, this kind of standard could interchange more gracefully with printed notation. If you import a standard MIDI file into notation software, you get results that are typically full of errors, because the SMF lacks musical information about the events it contains. With more of that information stored, and stored in standard ways, translating to paper would become vastly more effective.</p>
<p>I&#8217;m sure attempts to model this in OSC have been attempted before, but it&#8217;s worth compiling those ideas and resurrecting the discussion.</p>
<p><a href="http://www.flickr.com/photos/a-barth/542395301/" title="Reactable at Creators Series by Alex Barth, on Flickr"><img src="http://farm2.static.flickr.com/1263/542395301_1cd08374f6.jpg" width="500" height="333" alt="Reactable at Creators Series"></a></p>
<div class="imgcaption">Input could mean &#8230; anything. And that&#8217;s the point (and nothing new). Reactable at Creators Series, photo (<a href="http://creativecommons.org/licenses/by/2.0/deed.en">CC-BY</a>) <a href="http://www.flickr.com/photos/a-barth/">Alex Barth</a>.</div>
<h3>What about input?</h3>
<p>Ah, you say, but then, let&#8217;s go back to the keyboard. None of these events makes sense on a keyboard. You don&#8217;t know when a note is pressed how long it&#8217;ll last. You don&#8217;t know the modal degree of a particular, arbitrarily-played note.</p>
<p>I was stuck on the same problem, until I realized what I had been taking for granted: MIDI conflates two very separate processes. It makes input and output the same. Musical notational systems have never done that. When you look at a score, it&#8217;s a set of musical ideas, given meaning and context. If you record a series of events from an input, those events don&#8217;t immediately have meaning or context. It&#8217;s confusing the mechanical with the musical. It&#8217;s the reason MIDI is not just like a player piano &#8211; it <em>is</em> a digital player piano.</p>
<p>Separate out the issue of recording mechanical input events, and you can have a system that&#8217;s more flexible. That system should fit whatever the input is. An organ, a shakuhachi, a didgeridoo, and an electric guitar aren&#8217;t the same thing. Why would they be represented with the same set of input events? That&#8217;s pretty daft.</p>
<p>Look at it this way: imagine if instead of being invented by synthesizer people, Aeolian Harp players had invented MIDI. (It&#8217;s not so far-fetched: the Aeolian Harp has a millenia-long history and was once quite popular.) An Aeolian Harp sequencer would feature elaborate, high-resolution data recording for wind pressure relative to different strings. It might measure, even, wind direction. In fact, it&#8217;d look a lot more like meteorological data than musical data per se. It certainly wouldn&#8217;t involve integers from 0 to 127.</p>
<p>This should lead to a simple conclusion with profound consequences:</p>
<p>Physical input and musical output should not be the same thing.</p>
<p>One of the advantages of a protocol like OSC (or any open, networked, self-described protocol) is that it can be open-ended and descriptive, meeting our earlier challenge. For instance, using a hierarchy of meta-data attached to the message, you could describe a set of variables relevant to wind input. If you wanted to transcribe the results in musical terms, you could then use a musical notation, as above &#8211; one that used musical identity attached to the resulting frequencies, as in relative modal pitch and rhythmic duration. But the input would be a separate problem. That&#8217;s a far piece from MIDI, which is adequate neither as a complete description of the input device, nor of any kind of resulting musical system. </p>
<p>But wait a minute &#8211; how is there a standard? How do you standardize something that could include an Aeolian Harp, a vuvuzela, and a bagpipe? Welcome to the problem of music. Music is by its very nature resistant to standardization, because the possibilities of the physical world are so broad. This also suggests how input protocols (and output protocols) can go beyond musically-exclusive data. Again, we can turn back to MIDI as a model. MIDI was intended with specific applications in mind, with messages that referred to MIDI notes and filter cutoff. But that didn&#8217;t stop it from being warped to accommodate tasks well outside the standard, ranging from triggering videos to controlling amusement park robotic characters (literally). This suggests to me that what defines a standard protocol of this kind is not what is most strictly standardized, but what is most flexible.</p>
<p>The real challenge with something like OSC, then, is to come up with standardized ways of defining non-standardized events, and using some kind of reflection or remote invocation to allow devices or software that have never communicated before to handle unexpected messages intelligently. At the very least, they should give users clear, understandable options about the data they send and receive. This independent question has been one the OSC community has raised for some time. To me, all that remains is to make some compelling implementations and let the most effective solution evolve and win out. Recent reading on the topic (though this absolutely deserves a separate post, which I&#8217;ll get to soon):<br />
<a href="http://opensoundcontrol.org/publication/best-practices-open-sound-control">Best Practices for Open Sound Control</a><br />
<a href="http://opensoundcontrol.org/publication/minuit-propositions-query-system-over-osc">Minuit : Propositions for a query system over OSC</a></p>
<p>That&#8217;s a separate problem from how to make events musically meaningful. But that to me is the central revelation, and something MIDI completely misses: these are two separate problems, not one problem. Handle input events as input. If it makes sense in a sequencer to record them as musical events (like scale degree pitches), do that. If it makes sense to record them as a series of time-stamped, physical events, do that &#8211; but with actual information relative to what was recorded, so that the wind across an Aeolian Harp is recorded in a way that makes sense for that input. And when describing musical events, describe them in musical ways.</p>
<p>This isn&#8217;t relevant only to music communities, either: it&#8217;s relevant to anyone recording events in time. It&#8217;s part of the reason the &#8220;sound&#8221; needs to be dropped from OSC. MIDI is as specific as it is partly because the specification has messages too small to contain information describing what the events mean. We now have standard network protocols that do that, so they can include information about other kinds of events. There&#8217;s no reason someone monitoring water levels in their herb garden and someone recording a sousaphone solo couldn&#8217;t use some of the same underlying protocols. There&#8217;s also every reason they&#8217;d record different kinds of data content. </p>
<p><a href="http://www.flickr.com/photos/zigwamp/2459209204/" title="I AM A MUSIC STAND. by zigwamp, on Flickr"><img src="http://farm3.static.flickr.com/2193/2459209204_76c151f784.jpg" width="500" height="338" alt="I AM A MUSIC STAND."></a></p>
<div class="imgcaption">What&#8217;s possible? Everything. Music predates notation, meaning musical ideas can always come first &#8211; particularly with the open-ended, abstract world of software. If you have an idea, try it. Photo (<a href="http://creativecommons.org/licenses/by-nd/2.0/deed.en">CC-BY-ND</a>) <a href="http://www.flickr.com/people/zigwamp/">Kate Farquharson</a>.</div>
<h3>Promising venues and a call to action</h3>
<p>There&#8217;s really no need to try to &#8220;replace&#8221; or &#8220;fix&#8221; MIDI &#8211; if MIDI has endured for a specific application, maybe it actually is well-suited to that application. I think it&#8217;s time, instead, to think about how new systems can encompass more musical meaning from our own traditions and traditions around the world, and how we can standardize broad ranges of events instead of trying to fit everything into narrow, rigid boxes.</p>
<p>There is every reason to believe new things can happen now, too. Whereas hardware standardization once was a slow process, requiring the involvement of major manufacturers, we now carry around programmable computers inside our pockets as &#8220;phones&#8221; and learn to write embedded code in Freshman college classes using $30 Arduino boards. If you want new hardware standards, you can literally make them yourself. We have the ability to share musical notation directly in a Web browser using standard descriptions, as <a href="http://createdigitalmusic.com/2010/05/18/more-browser-notation-type-letters-quickly-store-scores-online/">covered here recently</a>. Because browsers in general are demanding newly distributed, networked applications, communicating in standard ways &#8211; as Web APIs do naturally &#8211; is becoming imperative.</p>
<p>But there&#8217;s one thing that makes me especially optimistic: you. Via the Web, we have instant access to your collective knowledge and experience. That means it&#8217;s a sure thing that all of us, collectively, knows more about previous research in this area, previous ideas, and what has and hasn&#8217;t worked. We also have the opportunity to communicate with each other, to make ideas evolve, at least experimentally. That doesn&#8217;t remove the need for eventual standardization, but good standards follow practice, not the other way around &#8211; something has to work in one place before it can be a shared standard. We also have mechanisms for self-standardization that didn&#8217;t exist before. Spoken languages evolve because people collectively work to share common means of communication. You might argue that this leads to a tower of Babel, but then, I&#8217;m writing this in English and you&#8217;re reading it in the same language and (hopefully) understanding. The same is true of Mandarin, Portuguese, German, Arabic, Hindi, and so on. It&#8217;s also true of volunteer adoption on the Internet of HTML, XML, JSON, and RSS.</p>
<p>Music is not the result of notation or standards. It&#8217;s the other way around. Musical practice long predated any attempt to write it down. And mathematics and written language each have abilities to describe music and many other media. </p>
<p>To me, two questions remain:<br />
1. What would an implementation of structured messages for pitch and duration look like, perhaps implemented via OSC? What history has been there in this area, and what do you need?<br />
2. How can smarter implementations of a protocol like OSC allow software and hardware to better handle unfamiliar input &#8211; as musicians, as they have done since the dawn of time, invent novel physical interfaces?</p>
<p>I look forward to kicking off this discussion and hearing what you think.</p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://createdigitalmusic.com/2010/06/looking-beyond-midi-whats-the-best-way-to-represent-musical-notes-digitally/&via=cdmblogs&text=Looking Beyond MIDI, What's the Best Way to Represent Musical Notes Digitally?&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://createdigitalmusic.com/2010/06/looking-beyond-midi-whats-the-best-way-to-represent-musical-notes-digitally/&via=cdmblogs&text=Looking Beyond MIDI, What's the Best Way to Represent Musical Notes Digitally?&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='wpfblike' style='height: 40px;'><iframe src='http://www.facebook.com/plugins/like.php?href=http://createdigitalmusic.com/2010/06/looking-beyond-midi-whats-the-best-way-to-represent-musical-notes-digitally/&amp;layout=default&amp;show_faces=false&amp;width=400&amp;action=like&amp;colorscheme=light&amp;send=false' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:400px;'></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://createdigitalmusic.com/2010/06/looking-beyond-midi-whats-the-best-way-to-represent-musical-notes-digitally/feed/</wfw:commentRss>
		<slash:comments>65</slash:comments>
		</item>
		<item>
		<title>NI&#8217;s Traktor Kontrol X1: High-Res Traktor Controller, MIDI Mode</title>
		<link>http://createdigitalmusic.com/2009/11/nis-traktor-kontrol-x1-high-res-traktor-controller-midi-mode/</link>
		<comments>http://createdigitalmusic.com/2009/11/nis-traktor-kontrol-x1-high-res-traktor-controller-midi-mode/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 17:22:07 +0000</pubDate>
		<dc:creator>Peter Kirn</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[control-surface]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[DJ]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[MIDI]]></category>
		<category><![CDATA[Native-Instruments]]></category>
		<category><![CDATA[NI]]></category>
		<category><![CDATA[protocols]]></category>
		<category><![CDATA[richie-hawtin]]></category>
		<category><![CDATA[Traktor]]></category>
		<category><![CDATA[USB]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://createdigitalmusic.com/?p=8202</guid>
		<description><![CDATA[The Traktor Kontrol X1 is an exercise in minimalism, reducing the various uses of Traktor to a few encoders and buttons and a compact form factor. But while it supports MIDI for use with any DJ software, its &#8220;high-resolution&#8221; mode &#8211; as with Maschine before it &#8211; uses a proprietary protocol. The unit will sell &#8230; <a class="btn read-more" href="http://createdigitalmusic.com/2009/11/nis-traktor-kontrol-x1-high-res-traktor-controller-midi-mode/">Continue &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://createdigitalmusic.com/files/2009/11/kontrolx1.jpg"><img src="http://createdigitalmusic.com/files/2009/11/kontrolx1.jpg" alt="kontrolx1" title="kontrolx1" width="580" height="473" class="alignright size-full wp-image-8204" /></a></p>
<p>The Traktor Kontrol X1 is an exercise in minimalism, reducing the various uses of Traktor to a few encoders and buttons and a compact form factor. But while it supports MIDI for use with any DJ software, its &#8220;high-resolution&#8221; mode &#8211; as with Maschine before it &#8211; uses a proprietary protocol. The unit will sell for US$229 when it ships in February of next year.<span id="more-8202"></span></p>
<p>The control arrangement of the Kontrol X1 fits a selection of essential parameters into its narrow form factor. The controls are divided in right and left into the two decks, with four sets of effects controls each. There are dedicated controls for browsing through tracks, and cueing and tempo controls. The case can be used either horizontally or vertically. </p>
<p>The strategy appears to be to focus on controlling loops and effects, while those who want to work with digital vinyl can view this as a consolidated mixer / browser interface.</p>
<p>There are some nice extras, too. The box itself comes with Traktor LE, meaning someone can get started with digital DJing for about two hundred bucks. And for another $49, you can add a custom stand and case &#8211; details too often left out of controllers.</p>
<p>We saw this controller in September, in use in <a href="http://createdigitalmusic.com/2009/09/30/ni-teases-new-dj-controller-in-richie-hawtin-maschine-traktor-video-twitter-app/">Richie Hawtin&#8217;s set</a>. On <a href="http://www.native-instruments.com/#/en/products/dj/traktor-pro/?page=216&#038;content=1037">NI&#8217;s promotional site</a>, Richie has something interesting to say about Traktor, which is that it <em>isn&#8217;t</em> necessarily getting used by everyone in the same way:</p>
<blockquote><p>You can put ten people on a stage with Traktor, and each one of them will have a different way to be creative and bring out their personality through it.</p></blockquote>
<p>My sense is that this hardware will be well-received, because it is focused on some clear functions, it&#8217;s compact, it&#8217;s cheap, and it can be used in different ways by different people. Those trends have proved successful in controllers of late. On the other hand, it seems that a generation of hardware controllers that could have employed an open, standard, high-resolution control protocol are doing anything but. Ableton has locked certain software features to certain controllers, and in its controllers uses only MIDI. NI uses higher-resolution data, but has not continued to actively develop OSC. That could mean that, while open-source and visual software continues to progress, we may have to wait years before commercial music software comes to support any standard for this kind of communication using anything other than low-resolution MIDI. The big question may be, is there any incentive to commercial makers to do otherwise?</p>
<p><a href="http://www.native-instruments.com/traktorkontrolx1.info">www.native-instruments.com/traktorkontrolx1.info</a></p>
<p><a href="http://createdigitalmusic.com/files/2009/11/kontrolx1_ver.jpg"><img src="http://createdigitalmusic.com/files/2009/11/kontrolx1_ver.jpg" alt="kontrolx1_ver" title="kontrolx1_ver" width="521" height="1217" class="alignright size-full wp-image-8205" /></a></p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://createdigitalmusic.com/2009/11/nis-traktor-kontrol-x1-high-res-traktor-controller-midi-mode/&via=cdmblogs&text=NI's Traktor Kontrol X1: High-Res Traktor Controller, MIDI Mode&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://createdigitalmusic.com/2009/11/nis-traktor-kontrol-x1-high-res-traktor-controller-midi-mode/&via=cdmblogs&text=NI's Traktor Kontrol X1: High-Res Traktor Controller, MIDI Mode&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='wpfblike' style='height: 40px;'><iframe src='http://www.facebook.com/plugins/like.php?href=http://createdigitalmusic.com/2009/11/nis-traktor-kontrol-x1-high-res-traktor-controller-midi-mode/&amp;layout=default&amp;show_faces=false&amp;width=400&amp;action=like&amp;colorscheme=light&amp;send=false' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:400px;'></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://createdigitalmusic.com/2009/11/nis-traktor-kontrol-x1-high-res-traktor-controller-midi-mode/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>Eigenharp Details: MIDI, High-Res Protocol, and Open Source Plans for the Space Bassoon</title>
		<link>http://createdigitalmusic.com/2009/10/eigenharp-details-midi-high-res-protocol-and-open-source-plans-for-the-space-bassoon/</link>
		<comments>http://createdigitalmusic.com/2009/10/eigenharp-details-midi-high-res-protocol-and-open-source-plans-for-the-space-bassoon/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 18:57:29 +0000</pubDate>
		<dc:creator>Peter Kirn</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[bassoon]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[eigenharp]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[instrument-design]]></category>
		<category><![CDATA[instruments]]></category>
		<category><![CDATA[MIDI]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[OSC]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[protocols]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[technical-details]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://createdigitalmusic.com/?p=7909</guid>
		<description><![CDATA[The Pico model may lack the impressive array of keys on the flagship Alpha, but when it ships next month it&#8217;ll cost well under a grand. And even the Pico promises high-resolution touch, velocity-sensitive keys that you can &#8220;bend&#8221; as well as press, and high-resolution breath input. The &#8220;space bassoon&#8221; Eigenharp seems to have landed &#8230; <a class="btn read-more" href="http://createdigitalmusic.com/2009/10/eigenharp-details-midi-high-res-protocol-and-open-source-plans-for-the-space-bassoon/">Continue &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://createdigitalmusic.com/files/2009/10/pico.jpg"></p>
<div class="imgcaption">The Pico model may lack the impressive array of keys on the flagship Alpha, but when it ships next month it&#8217;ll cost well under a grand. And even the Pico promises high-resolution touch, velocity-sensitive keys that you can &#8220;bend&#8221; as well as press, and high-resolution breath input.</div>
<p>The <a href="http://createdigitalmusic.com/2009/10/08/bassoon-of-the-future-eigenharp-launches-preview-of-whats-to-come/">&#8220;space bassoon&#8221; Eigenharp</a> seems to have landed from another planet. Today, I&#8217;ve got good news: it&#8217;s bringing alien gifts with it. By next year, both the software and the high-performance protocol the instrument uses will be open source. Taken together with other advancements in the open source community and with protocols like OSC, that could mean we&#8217;re at the vanguard of a golden age for more open, more intelligent, more expressive digital instruments.</p>
<p>Genuinely new music controllers made available commercially don&#8217;t come along very often. So this week&#8217;s news of a strange but wonderful-looking instrument shaped like a bassoon with customizable key controls turned many heads. With high-resolution, high-frequency data and reliance on the computer for everything from sound generation to mapping the keys to different tunings, the computer connection matters. Eigenharp&#8217;s chairman, John Lambert, sets the record straight for CDM on the software, the way it talks to your computer and other gear, and how open the tools and protocol will be.</p>
<p>I&#8217;ll be talking more with John next week, but I want to bring you this news now. Part of blogging means that you don&#8217;t hold back &#8211; you share that first reaction and then learn more. I&#8217;m pleased to say I was dead wrong on the Eigenharp. What looked on the spec sheet like MIDI-only communication and proprietary software turns out to be just the opposite. Sometimes, being wrong is great. Here are all the details:<span id="more-7909"></span></p>
<p><strong>What protocol do the instruments use?</strong></p>
<p>The instruments talk to their base station by a dedicated, high speed, differential, transformer-coupled, error-correcting digital protocol designed (and tested) for use in noisy stage environments by ourselves. The wire used is a 4 core, standard star quad mic cable and can be up to 40M long. The base station then talks to the control software running on the host PC (Mac at the moment) via a dedicated protocol over USB2. In the host system, the native protocol used between agents (our software components) is a network protocol called Eigentalk. This can run over Ethernet wires (with slightly increased latencies due to some smart jitter buffering we do). We will be making this public and freely available (when we open-source our main software) in Febuary next year. There is an open API, to be published at the same time, for our equivalent of AU&#8217;s or VST&#8217;s, hosted in our software, EigenD. This is rather richer than the AU and VST API&#8217;s, for reasons connected with the expressiveness and configure-ability (is that a word?) of our system. A couple of interesting AU vendors are looking at producing native EigenD instruments at the moment, and I think there will be many more in time. We try to avoid MIDI wherever possible as it has so many serious performance limitations.</p>
<p><strong>Had you considered OSC?</strong></p>
<p>We did have a look at OSC but there are a bunch of things that our protocol does that OSC didn&#8217;t (not least of which, for example, is clock syncronisation for jitter removal, utterly vital over ethernet for live performance) so we decided to grow our own and release it. Absolutely no reason whatsoever that we can&#8217;t interoperate fuly with it though, I suspect that an OSC EigenD Agent will probably come quite soon after the open source release.</p>
<p><em>Ed.: Actually, with OSC (OpenSoundControl) moving increasingly toward broader input and assimilating other standards, I can easily imagine that a future implementation of OSC could begin to implement these features. More on both protocols in the coming months. -PK</em></p>
<p><strong>Is it possible to use this as a controller for MIDI hardware? MIDI software?</strong></p>
<p>Yes, EigenD has in and out MIDI gateway programs. The incoming [MIDI] is mainly used for pedalboards at the moment (to control scale, key, tempo, etc.), although there is no reason you couldn&#8217;t use a midi keyboard to play notes. We&#8217;re using the MIDI out to do a wide variety of things, including playing MIDI sound modules, and controlling video DJ software and lighting systems. There is a huge reduction in effective bandwidth when &#8216;downsampling&#8217; to MIDI, but for a lot of things it still works very well. And of course, the AU and VST standards (which we fully support) are a kind of MIDI interface.</p>
<p><strong>Is it possible to access its native protocol for custom software / Max-Pd patches and the like?</strong></p>
<p>Well, we&#8217;re open sourcing the whole thing early next year, and I think there&#8217;ll be a lot of work done to glue all sorts of external stuff in then. Max/MSP has attracted a lot of interest in this area. The whole of EigenD is kind of built for this really. We&#8217;re an Open Source company: my main personal desktop is Linux and I have a strong personal commitment to open standards. I offer a number of &#8216;programming bounties&#8217; for Linux improvements on my personal website at <a href="http://johnhenrylambert.com">http://johnhenrylambert.com</a>.</p>
<p><strong>Tell us more about open-sourcing the software. What tools did you use to build the software.</strong></p>
<p>It&#8217;s written in a mixture of C++ and Python. It&#8217;s quite scary code, but very clean and pretty, with little &#8216;cruft&#8217;. I think the open source community are going to have fun with it. Its a big system too, 8 years of R&#038;D in one huge release. I don&#8217;t think that there&#8217;s been anything quite like this open sourced before in the music world &#8211; it is a bit as if Logic or Ableton were GPL&#8217;d tomorrow.</p>
<p><strong>Thanks, John! Stay tuned for more details, and let me know if you have specific questions for the creators.</strong></p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://createdigitalmusic.com/2009/10/eigenharp-details-midi-high-res-protocol-and-open-source-plans-for-the-space-bassoon/&via=cdmblogs&text=Eigenharp Details: MIDI, High-Res Protocol, and Open Source Plans for the Space Bassoon&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://createdigitalmusic.com/2009/10/eigenharp-details-midi-high-res-protocol-and-open-source-plans-for-the-space-bassoon/&via=cdmblogs&text=Eigenharp Details: MIDI, High-Res Protocol, and Open Source Plans for the Space Bassoon&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='wpfblike' style='height: 40px;'><iframe src='http://www.facebook.com/plugins/like.php?href=http://createdigitalmusic.com/2009/10/eigenharp-details-midi-high-res-protocol-and-open-source-plans-for-the-space-bassoon/&amp;layout=default&amp;show_faces=false&amp;width=400&amp;action=like&amp;colorscheme=light&amp;send=false' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:400px;'></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://createdigitalmusic.com/2009/10/eigenharp-details-midi-high-res-protocol-and-open-source-plans-for-the-space-bassoon/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>

