<?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>josh kopeček</title>
	<atom:link href="http://www.joshkopecek.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joshkopecek.co.uk</link>
	<description>electric music - a notekeeping of my musical habits</description>
	<lastBuildDate>Thu, 08 Jul 2010 17:43:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Current work</title>
		<link>http://www.joshkopecek.co.uk/2010/07/current-work/</link>
		<comments>http://www.joshkopecek.co.uk/2010/07/current-work/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 17:43:45 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.joshkopecek.co.uk/?p=324</guid>
		<description><![CDATA[I&#8217;m currently working on a new large scale piece, hence the silence. There will be, at some point, a post on the method used to generate some of the pitches for this piece. For this I used an (shock, horror) algorithm. The instrumentation is: string quartet brass quintet piano, laptop, soprano, electric guitar, and drum [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently working on a new large scale piece, hence the silence.</p>
<p>There will be, at some point, a post on the method used to generate some of the pitches for this piece. For this I used an (shock, horror) algorithm.</p>
<p>The instrumentation is:<br />
string quartet<br />
brass quintet<br />
piano, laptop, soprano, electric guitar, and drum kit</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshkopecek.co.uk/2010/07/current-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Soundcloud</title>
		<link>http://www.joshkopecek.co.uk/2010/05/soundcloud/</link>
		<comments>http://www.joshkopecek.co.uk/2010/05/soundcloud/#comments</comments>
		<pubDate>Wed, 26 May 2010 14:21:49 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.joshkopecek.co.uk/?p=316</guid>
		<description><![CDATA[My soundcloud page is now up and running The Soul Weeps &#8211; Movement 1 by joshkopecek]]></description>
			<content:encoded><![CDATA[<p>My <a href="http://soundcloud.com/joshkopecek" target="_blank">soundcloud</a> page is now up and running</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="81" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowscriptaccess" value="always" /><param name="src" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2Fjoshkopecek%2Fthe-soul-weeps-movement-1" /><embed type="application/x-shockwave-flash" width="100%" height="81" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2Fjoshkopecek%2Fthe-soul-weeps-movement-1" allowscriptaccess="always"></embed></object> <span><a href="http://soundcloud.com/joshkopecek/the-soul-weeps-movement-1">The Soul Weeps &#8211; Movement 1</a> by <a href="http://soundcloud.com/joshkopecek">joshkopecek</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshkopecek.co.uk/2010/05/soundcloud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Psappha perform The Warrior Fallen</title>
		<link>http://www.joshkopecek.co.uk/2010/05/psappha-perform-the-warrior-fallen/</link>
		<comments>http://www.joshkopecek.co.uk/2010/05/psappha-perform-the-warrior-fallen/#comments</comments>
		<pubDate>Sun, 09 May 2010 12:34:58 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.joshkopecek.co.uk/?p=307</guid>
		<description><![CDATA[Another video, this time of Psappha performing The Warrior Fallen.]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/cfSWPliie1c&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;hd=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/cfSWPliie1c&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Another video, this time of <a href="http://psappha.com/" target="_blank">Psappha</a> performing The Warrior Fallen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshkopecek.co.uk/2010/05/psappha-perform-the-warrior-fallen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ninnananna new video</title>
		<link>http://www.joshkopecek.co.uk/2010/05/ninnananna-new-video/</link>
		<comments>http://www.joshkopecek.co.uk/2010/05/ninnananna-new-video/#comments</comments>
		<pubDate>Wed, 05 May 2010 12:29:13 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Ninnananna]]></category>

		<guid isPermaLink="false">http://www.joshkopecek.co.uk/?p=304</guid>
		<description><![CDATA[Promotional video for Ninnananna. NINNANANNA from made in apu on Vimeo.]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="540" height="304" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=11293081&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="540" height="304" src="http://vimeo.com/moogaloop.swf?clip_id=11293081&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Promotional video for Ninnananna.</p>
<p><a href="http://vimeo.com/11293081">NINNANANNA</a> from <a href="http://vimeo.com/user3429905">made in apu</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshkopecek.co.uk/2010/05/ninnananna-new-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Harmony</title>
		<link>http://www.joshkopecek.co.uk/2010/02/new-harmony/</link>
		<comments>http://www.joshkopecek.co.uk/2010/02/new-harmony/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 18:50:23 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[Harmony]]></category>
		<category><![CDATA[Methodology]]></category>

		<guid isPermaLink="false">http://www.joshkopecek.co.uk/?p=267</guid>
		<description><![CDATA[Recently I made a discovery. For a while I&#8217;ve been working on new ways of looking at harmony, especially with respect to analysing one&#8217;s own harmonic usage. Obviously listening is usually the first step, but I was dissatisfied with the way that we can describe different levels of dissonance or consonance in harmony. For me [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I made a discovery. For a while I&#8217;ve been working on new ways of looking at harmony, especially with respect to analysing one&#8217;s own harmonic usage. Obviously listening is usually the first step, but I was dissatisfied with the way that we can describe different levels of dissonance or consonance in harmony. For me dissonance is a sliding colour scale, currently purely subjective and unquantifiable. Since this is subjective and can never be anything more than that, developing an objective method for defining dissonance could only ever be useful on a personal scale. Current descriptions of dissonance range from &#8216;dissonant&#8217; or &#8216;consonant&#8217; to specific author&#8217;s styles &#8216;Messiaenic harmony&#8217; (although this could mean many things) and to the many adjectives normally associated with lay-appraisal of atonal or serial music (&#8216;brash&#8217; etc., usually pejorative).</p>
<p>I think it is necessary to look beyond this, and to think about intervals, major and minor harmony, scales, dodecaphonicism, in a new light. One where the relationships remain constant for harmony across all styles. It&#8217;s useless to describe Boulez&#8217; music in terms of major and minor, as with Ockeghem but for completely different reasons.</p>
<p>So, he comes to the harmonic series. This is the one constant in music, present in all pitched instruments (in fact the basis of how we recognise pitch), and very possibly the key to how our ear is able to distinguish two separate pitches in a chord, even when they are almost in unison. For my Masters I did some research into dissonance, and made some inroads into how pitches interact, and for example why an octave is considered consonant by most people and why a minor second is dissonant. Basically, although inconclusive, octaves share most harmonics with each other, apart from one per octave. Minor seconds, on the other hand, share very few, at least until many octaves higher in the harmonic series, when the harmonics become less than a semitone. I set about the work of providing a theory of this, which is still in progress.</p>
<p>More recently I came across (whilst reading Michel Chion&#8217;s translation/transmogrification of Schaeffer&#8217;s <em>Traité</em>) Edmond Costère&#8217;s <em>Lois et Styles des Harmonies Musicales</em>. Costère&#8217;s book describes his reexamination of harmony from the perspective of basic rules of acoustics, primarily the harmonic series, and provides charts of analysis of scales from this perspective, an analysis of major harmony, it is disarmingly simple, and was just as easily dismissed at the time of publication. But it is quite obviously before its time, before Spectralism appeared and when people were still grappling with the Highest Art preoccupations of whether harmony needed reinventing or not. Costère is not suggesting we restyle everything, but in fact to reexamine the way we look at harmony, that there is a bigger picture and a simpler but more comprehensive method of analysis of functional and non-functional harmony, that spans the gaping abyss between tonal harmony and serial music, between spectralism and new complexity.</p>
<p>What is less convincing for me is his explanation of the roots of diatonic minor harmony, which consists in inverting the harmonic series in order to find the minor third. Instead for me at this early stage I see minor harmony as a <em>séquelle</em> from the modes; diatonic minor is quite easily accounted for as the aeolian or dorian medieval modes, shoehorned into functional harmony (sharpening of the 6th/7th degrees). Although, this doesn&#8217;t fit it in quite so neatly into Costère&#8217;s hypotheses.</p>
<p>Currently, this is an unfinished story. I have not finished Costère&#8217;s tome, nor the other equally outrageously titled <em>Mort ou Transfigurations de l&#8217;Harmonie</em>, which I have on loan from the British Library. I intend to assimilate, modify and bring his methodologies for analysis and appraisal of harmony into the 21st Century. It will become a tool for analysis applicable to most systems of harmony (diatonic, dodecaphonic, quarter-tone), and possibly may influence the way I compose, harmonically speaking. This has, of course, nothing to do with rhythm, timbre, structure or form, thus leaving one free to compose the same music but aware of another perspective on the harmony that they are using. Suffice to say that for me this is a breakthrough, rather late in the day, but it has answered some questions that I have long posed (those of a quantitative scale of dissonance and alternative hierarchy of tones) and equally triggered others (was Costère just a blithering fool with a prejudice against established rules of harmony?).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshkopecek.co.uk/2010/02/new-harmony/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ThingNY</title>
		<link>http://www.joshkopecek.co.uk/2009/12/thingny/</link>
		<comments>http://www.joshkopecek.co.uk/2009/12/thingny/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 14:32:59 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.joshkopecek.co.uk/?p=263</guid>
		<description><![CDATA[I&#8217;m having a piece played as part of ThingNY&#8216;s SPAM Concert on the 19th December 2009. In New York! The concert starts at 7pm New York time, which is midnight (00:00-02:00) Saturday 19th December if my calculations are correct. The concert with be streamed live here, so tune in if you can. Click here to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m having a piece played as part of <a href="http://www.thingny.com/" target="_blank">ThingNY</a>&#8216;s SPAM Concert on the 19th December 2009. In New York!</p>
<p>The concert starts at 7pm New York time, which is midnight (00:00-02:00) Saturday 19th December if my calculations are correct.</p>
<p>The concert with be <a href="http://www.ustream.tv/channel/thingny">streamed live here</a>, so tune in if you can. <a href="http://www.joshkopecek.co.uk/wp-content/uploads/2009/12/Thing-NY.ics">Click here</a> to add this to your calendar.</p>
<p><a href="http://www.thingny.com/"><img class="alignleft size-full wp-image-265" title="thingny" src="http://www.joshkopecek.co.uk/wp-content/uploads/2009/12/thingny.png" alt="thingny" width="585" height="318" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshkopecek.co.uk/2009/12/thingny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Overhaul</title>
		<link>http://www.joshkopecek.co.uk/2009/07/overhaul/</link>
		<comments>http://www.joshkopecek.co.uk/2009/07/overhaul/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 13:11:57 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.joshkopecek.co.uk/?p=142</guid>
		<description><![CDATA[This site has just had a major overhaul, and been upgraded to work completely on WordPress. There are new pages for my catologue of works &#8211; Music; Ninnananna &#8211; with pictures from performances and information; an About page with my contact details; this blog with updates on my research; and the Events page upcoming performances.]]></description>
			<content:encoded><![CDATA[<p>This site has just had a major overhaul, and been upgraded to work completely on WordPress.</p>
<p>There are new pages for my catologue of works &#8211; <a href="http://www.joshkopecek.co.uk/music/" target="_self">Music</a>; <a href="http://www.joshkopecek.co.uk/ninnananna/" target="_self">Ninnananna</a> &#8211; with pictures from performances and information; an <a href="http://www.joshkopecek.co.uk/about/" target="_self">About</a> page with my contact details; this blog with updates on my research; and the <a href="http://www.joshkopecek.co.uk/events/" target="_self">Events</a> page upcoming performances.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshkopecek.co.uk/2009/07/overhaul/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduinos, MIDI and real apps</title>
		<link>http://www.joshkopecek.co.uk/2009/04/arduinos-midi-and-real-apps/</link>
		<comments>http://www.joshkopecek.co.uk/2009/04/arduinos-midi-and-real-apps/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 23:46:16 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[Interface]]></category>
		<category><![CDATA[Live]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.joshkopecek.co.uk/blog/?p=58</guid>
		<description><![CDATA[Since it&#8217;s really been a while since I posted here, I&#8217;m going to publish my research on getting an Arduino based interface to talk directly to something else via MIDI. This project could easily be expanded to more complex solutions (i.e. not just two momentary switches), could easily use OSC, channel MIDI data across a [...]]]></description>
			<content:encoded><![CDATA[<p>Since it&#8217;s really been a while since I posted here, I&#8217;m going to publish my research on getting an Arduino based interface to talk directly to something else via MIDI. This project could easily be expanded to more complex solutions (i.e. not just two momentary switches), could easily use OSC, channel MIDI data across a network, have a more complex user interface. The point with this stage in the project was to get a framework to build new projects from.</p>
<p>When I first started working with Ruby and Cocoa, the RubyCocoa project was pretty elementary, but many leaps and bounds have been made. Thanks go out to <a title="bleything" href="http://blog.bleything.net/" target="_blank">bleything</a> and and the <a href="http://rubycocoa.sourceforge.net/HomePage" target="_blank">RubyCocoa team</a> without whose wonderful work this would not be possible.</p>
<p><strong>Making an interface from scratch with the Arduino at its core</strong></p>
<p>Equipment needed:</p>
<ul>
<li>arduino (diecimila or equivalent)</li>
<li>wire + wire cutters</li>
<li>breadboard</li>
<li>selection of resistors (10k preferable)</li>
<li>switches (any sort, I used momentary)</li>
<li>computer &#8211; mac, linux or pc (mac preferable)</li>
<li>box of some sort &#8211; optional</li>
<li>soldering iron &#8211; only necessary for finishing the project</li>
</ul>
<p><a href="http://www.joshkopecek.co.uk/wp-content/uploads/2009/04/dscf0199.jpg"></a><a href="http://www.joshkopecek.co.uk/wp-content/uploads/2009/04/dscf01991.jpg"><img class="alignleft size-medium wp-image-61" title="Inside the FootStompBox" src="http://www.joshkopecek.co.uk/wp-content/uploads/2009/04/dscf01991-225x300.jpg" alt="Inside the FootStompBox" width="225" height="300" /></a></p>
<p># Wire a switch &#8211; one side to ground and the other to digital input 6. Use the breadboard.<br />
# Put a resistor between the side of the switch connected to ground and +5v.<br />
This is called a pullup resistor and makes the current default to &#8216;on&#8217; or +5v when the switch is closed. When the switch is open, the voltage remains at 0v.</p>
<p>If you want additional switches, follow the two steps above making sure you use a new resistor each time.</p>
<p>Difficult bit: find a nice box and glue the whole lot into it and plug in a usb cable.</p>
<p><a href="http://www.joshkopecek.co.uk/wp-content/uploads/2009/04/dscf0196.jpg"><img class="alignleft size-medium wp-image-59" title="FootStompArduinoBox" src="http://www.joshkopecek.co.uk/wp-content/uploads/2009/04/dscf0196-300x225.jpg" alt="FootStompArduinoBox" width="300" height="225" /></a></p>
<p><strong>Getting your computer prepared to talk to the Arduino</strong></p>
<p>If you are comfortable with using the terminal, and want a one-step install for the various packages required for this tutorial, try:</p>
<p><strong>MacPorts</strong></p>
<p>To install: go to the <a href="http://www.macports.org/">MacPorts website</a> and install using the installer there.<br />
Check everything is working by firing up a terminal and typing</p>
<pre style="padding-left: 30px;">port version</pre>
<p>which should return</p>
<pre style="padding-left: 30px;">Version: 1.710</pre>
<p><strong>Preparing Ruby</strong></p>
<p>All the below are necessary before continuing</p>
<p><strong>Installing (upgrading) Ruby</strong><br />
Ruby is already included in MacOSX, but for compatibility reasons, it&#8217;s best to upgrade. If you&#8217;re happy with your installation, just continue as is until you come up against any errors. Please note the Ruby included with 10.4 is very old, and possibly broken.<br />
Fire up a terminal (if it isn&#8217;t already open from above) and type</p>
<pre style="padding-left: 30px;">sudo port upgrade ruby</pre>
<p><strong>Rubygems &#8212; required to use the below libraries</strong><br />
Fire up a terminal (if it isn&#8217;t already open from above) and type</p>
<pre style="padding-left: 30px;">sudo port install rb-rubygems</pre>
<p style="padding-left: 30px;">
<p><strong>MIDIator &#8212; Ruby MIDI library</strong><br />
MIDIator allows us to use Ruby to easily create MIDI messages in a simple and comprehensible fashion<br />
Fire up a terminal (if it isn&#8217;t already open from above) and type</p>
<pre style="padding-left: 30px;">sudo gem install midiator</pre>
<p style="padding-left: 30px;">
<p><strong>Serialport &#8212; Ruby Serial Port library</strong><br />
This is installed by default as part of Ruby, but best to upgrade:</p>
<pre style="padding-left: 30px;">sudo gem upgrade ruby-serialport</pre>
<p>Easy! Just sit back and watch incomprehensible lines of text scroll by.</p>
<p><strong>Arduino code</strong></p>
<p>The Arduino itself requires code to run. This tells the Arduino what to do with incoming and outgoing data. The language is called Wiring.</p>
<p>Make sure you have the Arduino programming environment installed (from <a href="http://arduino.cc">http://arduino.cc</a>)</p>
<p>Use the following code:<br />
To explain, the first block initialises the pins we will use.<br />
The <em>setup()</em> method initialises the pins and serial connection and tells us that they are sending data <strong>in</strong> to the Arduino.</p>
<p>The <em>loop()</em> method reads the pins every cycle, stores the data in variables and decides what to do with it. In this case, it sends a different value to the computer if the pin is up or down. The <em>swi</em> variable checks if it&#8217;s already been sent, and prevents doubling the &#8216;note on&#8217; value. i.e. it can&#8217;t send a note off before it&#8217;s sent a note on and vice versa.</p>
<pre> /*</pre>
<pre> sends serial data over usb to be converted by ruby to MIDI..</pre>
<pre> */</pre>
<pre>int inPin1 = 6;   // choose the input pin (for a pushbutton)
 int inPin2 = 7;
 int val1 = 0;     // variable for reading the pin status
 int val2 = 0;
 boolean swi1 = false;
 boolean swi2 = false;</pre>
<pre>void setup() {
 Serial.begin(9600);
 pinMode(inPin1, INPUT);    // declare pushbutton as input
 }</pre>
<pre>void loop(){
 val1 = digitalRead(inPin1);  // read input val1ue
 val2 = digitalRead(inPin2);</pre>
<pre>if (val1 == HIGH &amp;&amp; swi1 == false) {         // check if the input is HIGH (button released)
 swi1 = true;
 Serial.println(89, DEC);
 delay(100);
 }</pre>
<pre>if (val1 == LOW &amp;&amp; swi1 == true){            // check if the input is low and it's just been high
 swi1 = false;
 Serial.println(90, DEC);
 delay(100);
 }</pre>
<pre>if (val2 == HIGH &amp;&amp; swi2 == false) {         // check if the input is HIGH (button released)
 swi2 = true;
 Serial.println(91, DEC);
 delay(100);
 }</pre>
<pre>if (val2 == LOW &amp;&amp; swi2 == true){            // check if the input is low and it's just been high
 swi2 = false;
 Serial.println(92, DEC);
 delay(100);
 }</pre>
<pre>}</pre>
<p><strong>Building a simple communication script in Ruby</strong></p>
<p>Download the <a href="http://www.joshkopecek.co.uk/code/RubyMIDI.zip">RubyMIDI.zip</a> file and look in the <em>lib</em> folder at <em>usbchecker.rb</em>. This checks to see if the Arduino is present. In short, OSX creates a list of all the USB devices on your computer at <em>/dev/</em>. This script checks for one in the correct syntax for an Arduino, and passes it back to our main program.</p>
<p>Look in the main folder at <em>BasicMIDI.rb</em>. This contains all the information to communicate with the Arduino and change it to MIDI data.  The <em>require</em> functions at the top load in the libraries we installed earlier &#8211; rubygems, midiator, serialport and the file we&#8217;ve just looked at, <em>usbchecker.rb.</em> The first paragraph runs the <em>usbchecker.rb</em> and passes the identity of the Arduino back and initialises it (turns it on and starts communicating with it).</p>
<p>The next paragraph creates a MIDI device with Midiator and tells it to send all MIDI data to CoreMIDI on OSX, also known as the IAC Driver (Load up Audio MIDI setup and have a look).</p>
<p>The whole of the next section is a bit boring, and merely consists in grabbing data from the serial port and converting it into a meaningful format rather than the incomprehensible rubbish that comes across normally. <em>sp.getc.chr</em> grabs a character (<em>getc</em>) from the serial port (<em>sp</em>), and converts it into a real character (<em>chr</em>). The next loop puts it into a string.</p>
<p>Then, if it has something, it decides which one it&#8217;s received from the Arduino (see above that we&#8217;re sending different numbers according to what&#8217;s happening) and sends either a midi note on (<em>midi.note_on(89, 1, 100)</em>) or note off (<em>midi.note_off(89, 1, 0)</em>).</p>
<p>The other parts are failsafes for if it receives a line-end or newline character &#8211; the Arduino sends these after each transmission as part of the <em>Serial.println()</em> method.</p>
<p><strong>Magic, that&#8217;s all the code explained</strong></p>
<p>We can run this script by opening a terminal, typing <em>ruby</em> and dragging and dropping the BasicMIDI.rb file into the window, then hitting return. It will fail if there isn&#8217;t an Arduino present.</p>
<p><strong>Integrating your Ruby script into a fully fledged native MacOSX application</strong></p>
<p>First, go and download Xcode from <a href="http://developer.apple.com">http://developer.apple.com</a> and install it. This will take a <em>while.</em></p>
<p>You&#8217;ll notice there&#8217;s another folder called <em>RubyCocoaUSBApp</em> which contains lots of files and folders and a file ending <em>.xcodeproj</em> which has our Xcode project in it. Open this, and Xcode will open the project. You&#8217;ll notice the <em>lib</em> folder is still there, and that <em>AppController.rb</em> has the same code as <em>BasicMIDI.rb</em> above. It&#8217;s not necessary to know the structure of the rest of the folders, just that there&#8217;s lots of necessary stuff in there that it&#8217;s unwise to touch. Just modify the <em>AppController.rb</em> with your code and link it into the<em> MainMenu.nib</em> using Interface Builder &#8211; I won&#8217;t explain here because it&#8217;ll take ages, unless people need me to? Easy peasy.</p>
<p>Next step: Build and Run (Command-R).<br />
This should launch our fully fledged application, which runs when we click on the button. It will display &#8216;Ready&#8217; when connected and sending MIDI.</p>
<p>Simply connect any MIDI client to the built-in IAC Driver on OSX and away we go.</p>
<p>Oh, and before I forget, <a href="http://www.joshkopecek.co.uk/code/ArdToMidi.zip">here&#8217;s</a> the fully fledged application in case you&#8217;re having problems compiling using Xcode.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshkopecek.co.uk/2009/04/arduinos-midi-and-real-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grisey &#8211; An appraisal of Tempus ex machina</title>
		<link>http://www.joshkopecek.co.uk/2008/11/grisey-an-appraisal-of-tempus-ex-machina/</link>
		<comments>http://www.joshkopecek.co.uk/2008/11/grisey-an-appraisal-of-tempus-ex-machina/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 15:21:58 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.joshkopecek.co.uk/blog/?p=57</guid>
		<description><![CDATA[Probably I should introduce this paper, because it will be familiar only to the most hardened contemporary music researcher, at least in the English speaking world. It is Gérard Grisey&#8217;s Tempus ex Machine: A composer&#8217;s reflections on musical time, from Contemporary Music Review, 2:1, pp.239–275. Firstly I think it would be a mistake to think [...]]]></description>
			<content:encoded><![CDATA[<p>Probably I should introduce this paper, because it will be familiar only to the most hardened contemporary music researcher, at least in the English speaking world. It is Gérard Grisey&#8217;s <span style="font-style: italic;">Tempus ex Machine: A composer&#8217;s reflections on musical time</span>, from Contemporary Music Review, 2:1, pp.239–275.</p>
<p>Firstly I think it would be a mistake to think that this paper is about time in music. The word time, when brought up in relation to music practice, usually recalls such words as &#8216;tempo&#8217;, &#8216;rhythm&#8217;, maybe even &#8216;groove&#8217;. However, although Grisey starts by talking about rhythm, he&#8217;s referring to the experience of music. Jonathan D. Kramer also talks about the same thing in more detail in his book <span style="font-style: italic;">The Time of Music: new meanings, new temporalities, new listening strategies</span> (1988). Both of these are an attempt to justify or somehow examine the difference between time as experienced in normal life (clock time) and time as experienced in music (musical time). I must say I&#8217;m not a fan of his confusing categorisation of the different types of time (the skeleton of time, the flesh of time, and the skin of time), as they are hardly as elucidating as the rest of the text.</p>
<p>To delve straight into the text, I&#8217;d like to reinforce an element in my thinking that Grisey raises, which I call <span style="font-weight: bold;">repetition</span>, and he calls <span style="font-weight: bold;">periodicity</span>. We are examining the same concept from different angles, mine from the &#8216;material&#8217; point of view and he from the &#8216;rhythm&#8217; point of view, although with a certain leap of faith we could regard them as interchangeable (rhythm being the repetition of material). I quote Grisey quoting Abraham Moles &#8220;the notion of rhythm is linked to that of expectation&#8221;, and this in turn leads us to realise that a framework has to be established in order to perceive rhythm. Repetition is that framework &#8211; if we repeat a bar twice, we expect it a third time. If we have three bars of material and we repeat the first two, we will expect the third. If we play quavers in 4/4 for 10 bars and switch to crotchets, we gain the listener&#8217;s attention when we change. Grisey returns to the concept of periodicity at the end of the paper:</p>
<div style="margin-left: 40px;">&#8220;(a) The repetition of an event helps and sometimes forces it to be memorized (cf. what has been said on periodicity).<br />
(b) The degree of salience of a sound of a sequence can help it to be memorized. A violent, unexpected sound, for example, can leave a lasting trace. This is the very purpose of contrasts.<br />
(c) To the contrary, in the composition of certain types of processes, the difference between one event and the next is virtually nil (the degree of pre-audibility tends towards infinity).</p>
<p>At its most extreme, if this continuity is maintained thoughout the duration of a work, it is virtually impossible to memorize anything…</p>
<p>(d) The point of juncture between ordinary time and musical time is particularly salient. The beginning and end of a piece are strategic points in our memory.&#8221;
</p></div>
<p>How many times have we sat through a piece that had beautiful material in, but an hour after the concert was completely lost from memory? Sometimes, as a composer, it is forgotten that the listener may only hear the piece once. We&#8217;d be very lucky if they sought out a recording of the piece (if one was even available), and even then there is a limited amount of listens a particular person is going to dedicate to it. What I am getting at is that there is a limited (set) amount of time available to develop and demonstrate your material. We are also assuming that our dutiful listener is even paying attention the whole time through the performance, that it&#8217;s not boring them or that they&#8217;ve even had to sit through five other difficult, new contemporary music pieces. </p>
<p>Coming back to <span style="font-weight: bold;">periodicity</span>, Grisey outlines his composition <span style="font-style: italic;">Périodes</span>, in which he examines fuzzy periodicity. This is the idea of a constantly fluctuating pulse, determined by (statistically-speaking) a sort of normal distribution around a fixed pulse. I challenge this notion as a compositional parameter. A performer can never absolutely determine the time between actions, only estimate. So even the strictest tempo from a performer constantly fluctuates around an ideal tempo. So what Grisey is suggesting is <span style="font-style: italic;">already part of performance</span>. True, what he is really saying is that he wishes to investigate this phenomenom, but the truth is that the contrast between the intentional fuzzy periodicity and real performer leeway is much more subtle than he imagines.</p>
<p>In the acoustic world nothing is exact. Everything is an approximation—even frequencies, partials, rhythms, tunings, scales etc. In the electronic world, introducing this human element—the almost random/approximate/fuzzy—becomes a lot of hard work and is not intuitive. Often we have to try to approximate live performance by reproducing certain elements of approximate rhythm, timbre etc., and even more frequently is this element completely ignored. The perfection of electronic sound is immediately identifiable if not directly describable. We can listen to a piece of music and identify the parts that have been sequenced (read: never been near an instrument) and those which are recorded from real life. Likewise the ear will immediately notice an <span style="font-style: italic;">exact</span> loop and be less fatigued by an indirect repetition. That means more mileage out of the same material: not boredom but a chance to convey our point more clearly.</p>
<p>To recapitulate or not to recapitulate. Recapitulation has been a mainstay of composition for centuries, for the reason that the listener immediately identifies with and gets a (small) sense of achievement from having identified material that was presented earlier. This immediately links the composer, performer and listener in a chain of understanding, and probably more importantly, communication—even on the most basic level. For me it seems that without this basic premise the music has to be stylistically immediately identifiable. That is, the audience is going to the performance knowing the way in which you work and the boundaries of your compositional language (your &#8216;sound&#8217;). They are prepared to be surprised, but they have a grounding upon which to base aural judgements.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshkopecek.co.uk/2008/11/grisey-an-appraisal-of-tempus-ex-machina/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reflections on Saariaho&#8217;s writing</title>
		<link>http://www.joshkopecek.co.uk/2008/10/reflections-on-saariahos-writing/</link>
		<comments>http://www.joshkopecek.co.uk/2008/10/reflections-on-saariahos-writing/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 21:48:31 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.joshkopecek.co.uk/blog/?p=56</guid>
		<description><![CDATA[Having just finished Kaija Saariaho&#8217;s 1987 paper Timbre and harmony: interpolations of timbral structures, in Contemporary Music Review, 2:1, pp 93–133, I thought it best to commit some of my reactions to it. There are some particular moments of insight, which I&#8217;ll work through in order. Firstly she cites Kandinsky: &#8220;Form is the external manifestation [...]]]></description>
			<content:encoded><![CDATA[<p>Having just finished Kaija Saariaho&#8217;s 1987 paper<span style="font-style: italic;"> Timbre and harmony: interpolations of timbral structures</span>, in Contemporary Music Review, 2:1, pp 93–133, I thought it best to commit some of my reactions to it.</p>
<p>There are some particular moments of insight, which I&#8217;ll work through in order. Firstly she cites Kandinsky: &#8220;Form is the external manifestation of inner meaning&#8221; (Vassily Kandinsky: <span style="font-style: italic;">The Spiritual in Art</span>, 1969). Aside from the fact that musicians, musicologists and above all composers tend to take reference from out-of-date thinking in other art-forms, I think this is particularly apt, even now, as a guidance for how to approach form in music.</p>
<p>Too often is structure confused with form. Look at it this way; the way a piece is structured in terms of harmony, orchestration and material is completely separate from the way these elements are formed. To coin an analogy, form is the father of structure; at least in the classical sense. We have a set of boxes (possibly within larger boxes)—the form—which we fill with material—our structures. These boxes might even be predisposed towards a particular type of material. These constraints often paradoxically provided a composer with inspiration, as a kind of competition to perfect their art, in the manner of an acheiveable target.</p>
<p>What Kandinsky is suggesting is that there is, in fact, no box at all. Which is, in itself, obvious—there cannot be form without content. That the content shapes the form is the interesting part, because this suggests that in music the structures themselves do not hold the meaning, but instead the method in which they are arranged carries the semantic weight. Saariaho suggests that she has never referred to pre-established formal structures, and in fact it would be crazy to expect that a composer necessarily adopted forms developed directly from analysis.</p>
<p>Kaariaho goes on to say &#8220;Amongst familiar organizational models concerning pitch the tonal system is, in my own experience, the most effective means of suing harmony to construct and control dynamic musical forms.&#8221; and &#8220;I think, however, that using tonal functions in such a way is definitely a thing of the past. This is why the tonal systems would seem to be only a potential model for the creation of tensions through the use of pitches&#8221; and finally &#8220;&#8230;I am absolutely convinced that [tonal harmony] is an out-dated approach to the problems posed by the organization of pitch structures&#8221;. She goes to say that tonal harmony is the only way of effectively creating dynamic structures, but that perhaps it&#8217;s not necessary to do that anymore. Why do I raise this? Because I think this is an issue which has still not been satisfactorily solved.</p>
<p>Tonal structures are a proven, effective way of creating tension and meaningful structure in music. Serialism has left many unconvinced, in the same manner as Marxism: fundamentally sound but disastrous in practice. Musically speaking it let us down on several points: the matter of &#8216;octave equivalency&#8217;—notes do not sound the same in each octave; interval equivalency—a major third is not a minor sixth; set-equivalent chords are not identical sonically. Spectralism solved some of these problems by reintroducing the natural hierarchy of tones without reverting to tonal structures. Many of the issues raised with spectralism have been circumvented/solved by the advent of computer processing and analysis technologies (a contentious issue, I know), through the endless possibilities for manipulation of sound.</p>
<p>Saariaho sways towards investigating a hierarchy of timbre to replace tonal structures, but in my field I am swayed towards a complex appreciation of the interplay of tones. This is driven by my interest in the contradiction between the harmonic series and the system of equal temperament: two systems in use at the same time, contending for the same position. The physical irrefutability of the harmonic series leads us to appreciate the tonic–dominant–sub-dominant relationships. The dominant resolves strongly to the tonic, being part of the harmonic series of the tonic, and the modulation to the sub-dominant provides a leverage (alternate dimension?), because the tonic is a part of the harmonic series of the sub-dominant (and not vice-versa). The build-up of tension in the dominant is due to the third of the dominant chord wanting to directly resolve (up) to the tonic again, whilst this is not the case with the sub-dominant. Whilst these are very simplistic observations, it highlights one of the basic issues regarding the organisation of a hierarchy of tones and chords into a harmony, and how little we can actually categorise without resorting to a subjective use of our ear.</p>
<p>Saariaho also goes on to say &#8220;It is by modifying the speed of harmony&#8217;s development that harmonic tensions are created, by making harmony into a strictly controlled parameter. To achieve this, I worked on the degree of differentiation of successive chords an don the linear duration of each chord&#8221;. This is the eternal compositional tool of stasis vs. movement. Another is the level of interest generated by material. One can have very mediocre material juxtaposed by inventive (catchy, if you will) material, in order to heighten its catchiness. This is the method unconsciously suggested by thematic development, that one suggests imperfect combinations of what one has heard before, ultimately recapitulating on the initial material, satisfying the listeners&#8217; desires. An even level of release of good material would result in a saturated work. The listeners&#8217; ears need to be teased, like in a horror movie when the tension is sufficiently developed.</p>
<p>I was investigating another parallel area of interest, that of Bill Viola&#8217;s work in visual art. To describe his work here in such a short manner does not do its depth of thought justice, but he (currently) works with extremely slow video, in the manner of a very subtly animated painting. The casual viewer would assume a light-box photograph or extremely high-quality video still, but in fact it is an extremely slow video. The concept of going beyond the medium of video to question its very premise of presenting motion is one to be greatly praised. I am considering how this could be possible in music, to present a moment of stasis in a particular musical texture.</p>
<p>The normal way we elongate events is to literally play them more slowly, and the electronic equivalent is time stretching using a phase vocoder, preserving the pitch. Under normal circumstances the usefulness of this (without disturbing the formant arrangement of the original) is limited to twice and half the length. The factors that have to be taken into account are the numbers of bands it is split into (powers of 2) window overlap (again powers of 2) and window shape. The most low level process I have found is the Csound and Matlab implementations, which might provide a little more room to maneuver. Also band-splitting the sound file into (at least) high and low might preserve individual formants better with extreme processing.</p>
<p>Saariaho examined this principle in <span style="font-style: italic;">Vers le Blanc</span> (1982), in which a single extremely slow glissando from one chord to another lasts 15&#8242;, subverting the perception of harmonic change. Leif Inge examined the same principle with <span style="font-style: italic;">9 Beet Stretch</span>, Beethoven&#8217;s 9th Symphony stretched to 24 hours long. There&#8217;s also John Cage&#8217;s <span style="font-style: italic;">ORGAN2/ASLSP</span>, currently being performed in St. Burchardi in Halberstadt, in the eighth year of its 639 year performance. So the idea of performing music for a very long period isn&#8217;t new, but Cage&#8217;s doesn&#8217;t examine slow, <span style="font-style: italic;">continuous</span> change, rather specific moments in time that have sudden changes. Also it&#8217;s not feasible to truly experience the work, because the time spent in performance for one human wouldn&#8217;t be enough to experience the enormity of the work. We can only imagine the momentous moment of change.</p>
<p>In Saariaho&#8217;s work, the computer is treated as an assistant to composition, not as a replacement for any part of the composition process. This is an important difference, because the conception of the work occurs far from the equipment, and is simply treated as a tool to realise the composition. Compare this with using the computer as the composition pad to realise your ideas. The ideas are beyond acoustic or electronic timbres, they are merely the ideas which Saariaho conjures in her mind, and the limitations of the tools are the only boundaries. Compare this to working within the boundaries, within the walls of a piece of software or pad of paper.</p>
<p>Ending with another quote, which I believe is sometime at odds with our current compositional thinking, and more in common with our belief in scientific knowledge (not to confuse this with current meta-scientific thought which purports that we are merely travelling in circles of knowledge): &#8220;&#8230;just as the universe of Newton is contained within the universe of Einstein, contemporary music, can similarly contain, in addition to other elements, all the developed knowledge of our civilization, as well as the knowledge that we have been able to acquire about other civilizations&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshkopecek.co.uk/2008/10/reflections-on-saariahos-writing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
