<?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>Phrontist.org</title>
	<atom:link href="http://www.phrontist.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phrontist.org</link>
	<description></description>
	<lastBuildDate>Thu, 17 Jun 2010 06:47:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Decimator Wobble Bass</title>
		<link>http://www.phrontist.org/2010/06/decimator-wobble-bass/</link>
		<comments>http://www.phrontist.org/2010/06/decimator-wobble-bass/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 21:26:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bass]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[dubstep]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[supercollider]]></category>

		<guid isPermaLink="false">http://www.phrontist.org/?p=97</guid>
		<description><![CDATA[



In the first of what I hope will be many Supercollider posts, I&#8217;m dissecting a fairly straightforward wobble bass snippet.
123456789101112131415161718&#123;
var trig, numSmp, rate, freq, wobble,out,note,mod;
freq = &#40;140/60&#41;/3; // It's not dubstep if it's not at an integer multiple of 140bpm.
trig = Impulse.kr&#40;freq&#41;; // Main tempo pulse
note = Demand.kr&#40;trig, 0, Dseq&#40;&#91;40, 43, 47, 47, 40, 49-12, [...]]]></description>
			<content:encoded><![CDATA[



<p>In the first of what I hope will be many <a href="http://supercollider.sf.net">Supercollider</a> posts, I&#8217;m dissecting a fairly straightforward wobble bass snippet.</p>
<div class="codecolorer-container sclang dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br /></div></td><td><div class="sclang codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000;">&#123;</span><br />
<span style="color: #0000BF;">var</span> trig<span style="color: #000000;">,</span> numSmp<span style="color: #000000;">,</span> rate<span style="color: #000000;">,</span> freq<span style="color: #000000;">,</span> wobble<span style="color: #000000;">,</span>out<span style="color: #000000;">,</span>note<span style="color: #000000;">,</span>mod<span style="color: #000000;">;</span><br />
freq = <span style="color: #000000;">&#40;</span><span style="color: #000000;">140</span><span style="color: #000000;">/</span><span style="color: #000000;">60</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">/</span><span style="color: #000000;">3</span><span style="color: #000000;">;</span> <span style="color: #BF0000;">// It's not dubstep if it's not at an integer multiple of 140bpm.</span><br />
trig = <span style="color: #0000BF;">Impulse</span>.<span style="">kr</span><span style="color: #000000;">&#40;</span>freq<span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span> <span style="color: #BF0000;">// Main tempo pulse</span><br />
note = <span style="color: #0000BF;">Demand</span>.<span style="">kr</span><span style="color: #000000;">&#40;</span>trig<span style="color: #000000;">,</span> <span style="color: #000000;">0</span><span style="color: #000000;">,</span> <span style="color: #0000BF;">Dseq</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">40</span><span style="color: #000000;">,</span> <span style="color: #000000;">43</span><span style="color: #000000;">,</span> <span style="color: #000000;">47</span><span style="color: #000000;">,</span> <span style="color: #000000;">47</span><span style="color: #000000;">,</span> <span style="color: #000000;">40</span><span style="color: #000000;">,</span> <span style="color: #000000;">49</span>-<span style="color: #000000;">12</span><span style="color: #000000;">,</span> <span style="color: #000000;">43</span><span style="color: #000000;">,</span> <span style="color: #000000;">40</span>-<span style="color: #000000;">12</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">,</span> <span style="color: #0000BF;">inf</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span><br />
note = <span style="color: #0000BF;">Slew</span>.<span style="">kr</span><span style="color: #000000;">&#40;</span>note<span style="color: #000000;">,</span> <span style="color: #000000;">300</span><span style="color: #000000;">,</span> <span style="color: #000000;">20</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span> <span style="color: #BF0000;">// Pitch changes are slewed, faster up than down</span><br />
numSmp = <span style="color: #0000BF;">SampleRate</span>.<span style="">ir</span> <span style="color: #000000;">/</span> freq<span style="color: #000000;">;</span><br />
rate = 2pi <span style="color: #000000;">/</span> numSmp<span style="color: #000000;">;</span><br />
rate = rate <span style="color: #000000;">*</span> <span style="color: #0000BF;">Demand</span>.<span style="">kr</span><span style="color: #000000;">&#40;</span>trig<span style="color: #000000;">,</span> <span style="color: #000000;">0</span><span style="color: #000000;">,</span> <span style="color: #0000BF;">Dseq</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">/</span><span style="color: #000000;">2</span><span style="color: #000000;">,</span> <span style="color: #000000;">6</span><span style="color: #000000;">,</span> <span style="color: #000000;">6</span><span style="color: #000000;">,</span> <span style="color: #000000;">6</span><span style="color: #000000;">*</span><span style="color: #000000;">2</span><span style="color: #000000;">,</span> <span style="color: #000000;">2</span><span style="color: #000000;">,</span> <span style="color: #000000;">8</span><span style="color: #000000;">,</span> <span style="color: #000000;">6</span><span style="color: #000000;">,</span> <span style="color: #000000;">6</span><span style="color: #000000;">*</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">,</span> <span style="color: #0000BF;">inf</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">/</span> <span style="color: #000000;">2</span><span style="color: #000000;">;</span> <span style="color: #BF0000;">// Choose random &quot;wobble&quot; tempo</span><br />
wobble = <span style="color: #0000BF;">Phasor</span>.<span style="">ar</span><span style="color: #000000;">&#40;</span>trig<span style="color: #000000;">,</span> rate<span style="color: #000000;">,</span> pi<span style="color: #000000;">,</span> 2pi <span style="color: #000000;">&#41;</span>.<span style="">cos</span><span style="color: #000000;">;</span> <span style="color: #BF0000;">// Phasor is used to index cosine. Just sweeps through a half of a full wave.</span><br />
out = <span style="color: #0000BF;">VarSaw</span>.<span style="">ar</span><span style="color: #000000;">&#40;</span>note.<span style="">midicps</span><span style="color: #000000;">,</span> width<span style="color: #000000;">:</span> wobble.<span style="">range</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">0.45</span><span style="color: #000000;">,</span><span style="color: #000000;">0.55</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: #BF0000;">// Tone to be filtered. Notice modulation of width param.</span><br />
&nbsp; &nbsp; + <span style="color: #0000BF;">SinOsc</span>.<span style="">ar</span><span style="color: #000000;">&#40;</span>note.<span style="">midicps</span><span style="color: #000000;">/</span><span style="color: #000000;">2</span><span style="color: #000000;">,</span> mul<span style="color: #000000;">:</span> wobble.<span style="">range</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">,</span><span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>.<span style="">dup</span><span style="color: #000000;">;</span> &nbsp;<span style="color: #BF0000;">// Subbass.</span><br />
out = <span style="color: #0000BF;">Decimator</span>.<span style="">ar</span><span style="color: #000000;">&#40;</span>out<span style="color: #000000;">,</span> <span style="color: #000000;">20000</span><span style="color: #000000;">,</span> wobble.<span style="">range</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">1.2</span><span style="color: #000000;">,</span><span style="color: #000000;">8</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span> <span style="color: #BF0000;">// Sampling resolution is decreased in time with the wobble.</span><br />
out = <span style="color: #0000BF;">MoogLadder</span>.<span style="">ar</span><span style="color: #000000;">&#40;</span>out<span style="color: #000000;">,</span> wobble.<span style="">range</span><span style="color: #000000;">&#40;</span>note.<span style="">midicps</span><span style="color: #000000;">,</span><span style="color: #000000;">25000</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">,</span> wobble.<span style="">range</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">0.03</span><span style="color: #000000;">,</span><span style="color: #000000;">0.1</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>.<span style="">dup</span><span style="color: #000000;">;</span> <span style="color: #BF0000;">// Emulated Moog Low Pass.</span><br />
out = out <span style="color: #000000;">*</span> <span style="color: #000000;">0.25</span><span style="color: #000000;">;</span> <span style="color: #BF0000;">// Turn it down a bit to prevent clipping.</span><br />
out = <span style="color: #000000;">&#91;</span><span style="color: #0000BF;">DelayC</span>.<span style="">ar</span><span style="color: #000000;">&#40;</span>out<span style="color: #000000;">,</span> <span style="color: #000000;">1</span><span style="color: #000000;">,</span> wobble.<span style="">range</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">,</span><span style="color: #000000;">0.0012</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">,</span> <span style="color: #0000BF;">DelayC</span>.<span style="">ar</span><span style="color: #000000;">&#40;</span>out<span style="color: #000000;">,</span> <span style="color: #000000;">1</span><span style="color: #000000;">,</span> wobble.<span style="">range</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">0.0012</span><span style="color: #000000;">,</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">;</span> <span style="color: #BF0000;">// Spatialization</span><br />
out = out <span style="color: #000000;">*</span> <span style="color: #0000BF;">Linen</span>.<span style="">kr</span><span style="color: #000000;">&#40;</span>trig<span style="color: #000000;">,</span> <span style="color: #000000;">0.01</span><span style="color: #000000;">,</span> <span style="color: #000000;">0.7</span><span style="color: #000000;">,</span> <span style="color: #000000;">1.3</span><span style="color: #000000;">/</span>freq<span style="color: #000000;">,</span> doneAction<span style="color: #000000;">:</span> <span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span> <span style="color: #BF0000;">// Simple Envelope</span><br />
<span style="color: #000000;">&#125;</span>.<span style="">play</span><span style="color: #000000;">;</span></div></td></tr></tbody></table></div>
<p><object height="81" width="100%"><param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2Fphrontist%2Fdecimator-wobble"></param><param name="allowscriptaccess" value="always"></param> <embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2Fphrontist%2Fdecimator-wobble" type="application/x-shockwave-flash" width="100%"></embed></object></p>
<p><span id="more-97"></span></p>
<p>This sample was generated from the code above, which uses Demand UGens to sequence notes/wobble rates on lines 5 and 9. Line 6 adds a bit of <a href="http://supercollider.svn.sourceforge.net/viewvc/supercollider/trunk/common/build/Help/UGens/Synth%20control/Slew.html">slew</a> to the pitch signal, so it <a href="http://en.wikipedia.org/wiki/Glissando">glissandos</a> (slides) from note to note, faster up than down for heightened drama.</p>
<p>The signal path for the sound runs: initial synthesis, distortion, filtering, a simple spatialization effect and amplitude enveloping.</p>
<p>The tone is initially made up of a <a href="http://supercollider.svn.sourceforge.net/viewvc/supercollider/trunk/common/build/Help/UGens/Oscillators/VarSaw.html">VarSaw</a> oscillator whose width parameter (0 = downward sawtooth, 0.5 = triangle, 1 = upward sawtooth) is &#8220;wobbled&#8221; by the LFO (line 11). A pure sine wave an octave lower is added to this (line 12). The Decimator UGen distorts this signal by rounding values to an arbitrary degree of precision (i.e. 8-bit, 2-bit, 3.2-bit) as modulated by the LFO. This produces the higher-frequency content of the signal for the filter to do it&#8217;s magic on.</p>
<p>The result is a bit like that seething &#8220;<a href="http://www.facebook.com/pages/Dubstep-dirtier-than-fingering-ur-Sister-finding-ur-Dads-Engagement-ring/108371612525199">filthy</a>&#8221; sound that&#8217;s <a href="http://tinysong.com/eul3">so</a> <a href="http://tinysong.com/f0VY">popular</a> these days. I&#8217;ll probably do a dedicated post on it later, but the trick seems to be several square wave oscillators frequency modulating one another in turn, all through a band-pass filter.</p>
<p>Now that everything is sufficiently noisy it&#8217;s run through <a href="http://sc3-plugins.svn.sourceforge.net/viewvc/sc3-plugins/build/BhobUGens/BhobUGens.html">a nice emulation</a> of <a href="http://www.analoguesystems.co.uk/modules/rs100.htm">the Moog ladder lowpass filter</a> on line 14.</p>
<p>Line 16 splits what has until now been a monophonic signal in to two channels, each of which has a separate delay on it, the values for which are LFO-modulated out of phase with one another (so when one maximally delayed, the other has no delay). This gives the sound some (subtle?) &#8220;<a href="http://en.wikipedia.org/wiki/Precedence_effect">width</a>&#8221; when played with stereo separation, but if you were to play this on <a href="http://turkeyphant.org/images/gallery.phant/rig_porn/">a real rig</a> (in mono), there would be destructive and likely undesirable interference muddying up the low end. To dodge this, you could split the signal around 65Hz and only apply delays to the high end before reconstituting it.</p>
<p>The <a href="http://www.listarc.bham.ac.uk/lists/sc-users/search/">triggered LFO</a> is specified on lines 7-10. Worth noting are the phase angle bounds the <a href="http://supercollider.svn.sourceforge.net/viewvc/supercollider/trunk/common/build/Help/UGens/Triggers/Phasor.html">Phasor</a> UGen is sweeping through: pi to 2pi &#8211; only half of a full sine wave before resetting. Playing with these bounds can produce some interesting variations on the standard wobble.</p>
<p>I&#8217;ve really exaggerated the distortion to highlight the character of the sound on headphones or monitors. If you were to produce a track for dance floor use, you&#8217;d want to either generate sub-bass separately, possibly raising the line synthesized with decimation an octave or two, or ease up on the distortion; as it stands, this would be kind of weak. Try commenting out line 14 (the filter) before tweaking any parameters.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phrontist.org/2010/06/decimator-wobble-bass/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keeping a Diary</title>
		<link>http://www.phrontist.org/2009/08/keeping-a-diary/</link>
		<comments>http://www.phrontist.org/2009/08/keeping-a-diary/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 05:28:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[biography]]></category>
		<category><![CDATA[borges]]></category>
		<category><![CDATA[journaling]]></category>
		<category><![CDATA[lifelogging]]></category>
		<category><![CDATA[obession]]></category>

		<guid isPermaLink="false">http://www.phrontist.org/?p=17</guid>
		<description><![CDATA[Through this post on MetaFilter Music I discovered the tale of Reverend Robert Shields, which seems too perfectly allegorical to have actually happened. Here is an interview with the man and his NYT Obituary.
He kept a written log of his life broken up into five minute intervals. He claimed his diary was complete, that every [...]]]></description>
			<content:encoded><![CDATA[<p>Through <a href="http://music.metafilter.com/3793/Monday-18-April-1994-600pm355am">this post</a> on MetaFilter Music I discovered the tale of Reverend Robert Shields, which seems too perfectly allegorical to have actually happened. Here is <a href="http://www.soundportraits.org/on-air/worlds_longest_diary/transcript.php">an interview with the man</a> and his <a href="http://www.nytimes.com/2007/10/29/us/29shields.html">NYT Obituary</a>.</p>
<p>He kept a written log of his life broken up into five minute intervals. He claimed his diary was complete, that every minute over the course of 20 years was carefully accounted for by thousands of words a day, a task that the interviewer characterized as having taken over his life. Buckminster Fuller&#8217;s <a href="http://en.wikipedia.org/wiki/Dymaxion_Chronofile">Dymaxion Chronofile</a>, the only similar effort I&#8217;m aware of, broke up the day into comparatively slipshod 15 minute chunks. I suppose you have to limit the temporal specificity of your log to avoid falling in to an recursive loop of logging one&#8217;s logging&#8230;</p>
<p>Reminds me of a very short story by Jorge Luis Borges: <a href="http://en.wikipedia.org/wiki/On_Exactitude_in_Science"><i>On Exactitude in Science</i></a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phrontist.org/2009/08/keeping-a-diary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pop Music</title>
		<link>http://www.phrontist.org/2008/11/pop-music/</link>
		<comments>http://www.phrontist.org/2008/11/pop-music/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 21:23:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://www.phrontist.org/?p=12</guid>
		<description><![CDATA[The KLF were two British chaps who exposed the mass sphexishness of the music world, fired machine gun blanks at award show audiences, made and set alight a million quid, and wrote a wonderful book to help you follow in their footsteps.


Do not try and sit down and write a complete song. Songs that have [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/The_KLF">The KLF</a> were two British chaps who <a href="http://en.wikipedia.org/wiki/Doctorin%27_The_Tardis">exposed</a> the <a href="http://en.wikipedia.org/wiki/Digger_wasp">mass sphexishness</a> of the music world, <a href="http://www.youtube.com/watch?v=7CDButf0go8">fired machine gun blanks</a> at award show audiences, made and <a href="http://en.wikipedia.org/wiki/K_Foundation_Burn_a_Million_Quid">set alight</a> a million quid, and wrote a <a href="http://en.wikipedia.org/wiki/The_Manual">wonderful</a> <a href="http://www.tomrobinson.com/resource/klf.htm">book</a> to help you follow in their footsteps.</p>
<p><span id="more-12"></span></p>
<blockquote><p>
Do not try and sit down and write a complete song. Songs that have been written in such a way and reached Number One can only be done by the true song writing genius and be delivered by artists with such forceful convincing passion that the world HAS TO listen. You know the sort of thing, &#8220;Sailing&#8221; by Rod Stewart, &#8220;Without You&#8221; by Nilsson What the Golden Rules can provide you with is a framework that you can slot the component parts into.</p>
<p>Firstly, it has to have a dance groove that will run all the way through the record and that the current 7&#8243; buying generation will find irresistible. Secondly, it must be no longer than three minutes and thirty seconds (just under 3&#8242;20 is preferable). If they are any longer Radio One daytime DJs will start fading early or talking over the end, when the chorus is finally being hammered home &#8211; the most important part of any record. Thirdly, it must consist of an intro, a verse, a chorus, second verse, a second chorus, a breakdown section, back into a double length chorus and outro</p>
<p>It is going to be a construction job, fitting bits together. You will have to find the Frankenstein in you to make it work. Your magpie instincts must come to the fore. If you think this just sounds like a recipe for some horrific monster, be reassured by us, all music can only be the sum or part total of what has gone before. Every Number One song ever written is only made up from bits from other songs. There is no lost chord. No changes untried. No extra notes to the scale or hidden beats to the bar. There is no point in searching for originality. In the past, most writers of songs spent months in their lonely rooms strumming their guitars or bands in rehearsals have ground their way through endless riffs before arriving at the song that takes them to the very top. Of course, most of them would be mortally upset to be told that all they were doing was leaving it to chance before they stumbled across the tried and tested. They have to believe it is through this sojourn they arrive at the grail; the great and original song that the world will be unable to resist.</p>
<p>So why don&#8217;t all songs sound the same? Why are some artists great, write dozens of classics that move you to tears, say it like it&#8217;s never been said before, make you laugh, dance, blow your mind, fall in love, take to the streets and riot? Well, it&#8217;s because although the chords, notes, harmonies, beats and words have all been used before their own soul shines through; their personality demands attention. This doesn&#8217;t just come via the great vocalist or virtuoso instrumentalist. The Techno sound of Detroit, the most totally linear programmed music ever, lacking any human musicianship in its execution reeks of sweat, sex and desire. The creators of that music just press a few buttons and out comes &#8211; a million years of pain and lust.</p>
<p>We await the day with relish that somebody dares to make a dance record that consists of nothing more than an electronically programmed bass drum beat that continues playing the fours monotonously for eight minutes. Then, when somebody else brings one out using exactly the same bass drum sound and at the same beats per minute (B.P.M.), we will all be able to tell which is the best, which inspires the dance floor to fill the fastest, which has the most sex and the most soul.
</p></blockquote>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/ceSxEjwXHcM&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ceSxEjwXHcM&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/dvgZkm1xWPE&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/dvgZkm1xWPE&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/UbjcxX2KWRY&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/UbjcxX2KWRY&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Maybe we shouldn&#8217;t be so hard on them. As <a href="http://www.spiderrobinson.com/melancholyelephants.html">Spider Robinson</a> <a href="http://www.spiderrobinson.com/melancholyelephants.html">points out</a>&#8230;</p>
<blockquote><p>
There are eighty-eight notes.   One hundred and seventy-six, if your ear is good enough to pick out quarter tones.   Add in rests and so forth, different time signatures.   Pick a figure for maximum number of notes a melody can contain.   I do not know the figure for the maximum possible number of melodies&#8211;too many variables&#8211;but I am sure it is quite high.<br />
&#8230;<br />
For one thing, a great many of those possible arrays of eighty-eight notes will not be perceived as music, as melody, by the human ear.   Perhaps more than half.   They will not be hummable, whistleable, listenable&#8211;some will be actively unpleasant to hear.   Another large fraction will be so similar to each other as to be effectively identical: if you change three notes of the Moonlight Sonata, you have not created something new.
</p></blockquote>
<p>To be fair, there are <a href="http://www.youtube.com/watch?v=JdxkVQy7QLM">worse progressions</a> to rip off.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phrontist.org/2008/11/pop-music/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Electronic Goban</title>
		<link>http://www.phrontist.org/2008/05/electronic-goban/</link>
		<comments>http://www.phrontist.org/2008/05/electronic-goban/#comments</comments>
		<pubDate>Sat, 17 May 2008 07:02:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ideas]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[go]]></category>
		<category><![CDATA[hacdc]]></category>

		<guid isPermaLink="false">http://www.phrontist.org/?p=9</guid>
		<description><![CDATA[Went to HacDC and became a charter member tonight. Looks like a pretty groovy group and a very nice space with the requisite piles of technological ephemera.
I&#8217;m pitching the idea of developing an electronic goban, which I&#8217;ve described on the HacDC wiki.


Many clients exist to play Go on computers/handheld devices. These are wonderful in that [...]]]></description>
			<content:encoded><![CDATA[<p>Went to <a href="http://hacdc.org/">HacDC</a> and became a charter member tonight. Looks like a pretty groovy group and a very nice space with the requisite piles of technological ephemera.</p>
<p>I&#8217;m pitching the idea of developing an electronic goban, which I&#8217;ve described <a href="http://wiki.hacdc.org/index.php?title=Electronic_Goban">on the HacDC wiki</a>.</p>
<p><span id="more-9"></span></p>
<blockquote><p>
Many clients exist to play Go on computers/handheld devices. These are wonderful in that they can record your game in the SGF format, which is (near) universally used by players to review their games (an important part of getting better, often done with a teacher or opponent). They&#8217;re also handy when you&#8217;re moving around, and can&#8217;t set up a bunch of slick stones on a slab of wood (trains, planes, automobiles, bicycles). For casual games, it&#8217;s nice to be able to stop and resume at any time.</p>
<p>The big downside is face to face interaction. It&#8217;s simply nowhere near as enjoyable to play by passing a handheld back and forth or staring at a computer, the latter not being particularly portable most of the time anyway.</p>
<p>So the plan would be to build something that&#8217;s as close to the form factor of a real goban, but shrunk a bit for portability, and completely electronic. I&#8217;d say about a 30cm square (~1 foot for the unit challenged) and no thicker than a paperback book would be a good size. Something you can throw in a bag without hesitation. It should have as intuitive an interface as possible, the ability to automatically score the game, and best of all store games and export them to a computer somehow.
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.phrontist.org/2008/05/electronic-goban/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blink Test</title>
		<link>http://www.phrontist.org/2008/05/blink-test/</link>
		<comments>http://www.phrontist.org/2008/05/blink-test/#comments</comments>
		<pubDate>Tue, 06 May 2008 06:21:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Vast VU Meter]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[vu meter]]></category>

		<guid isPermaLink="false">http://www.phrontist.org/?p=5</guid>
		<description><![CDATA[So there isn&#8217;t much I can do on the VU meter project until I get a hold of an oscilloscope. The next logical step would be to design the envelope follower that the comparator will receive input from, but doing this &#8220;blind&#8221; would be difficult. In the mean time I thought I&#8217;d check that the [...]]]></description>
			<content:encoded><![CDATA[<p>So there isn&#8217;t much I can do on <a href="http://www.phrontist.org/?p=3">the VU meter project</a> until I <a href="http://metatalk.metafilter.com/16196/Thanks">get a hold of an oscilloscope</a>. The next logical step would be to design the envelope follower that the comparator will receive input from, but doing this &#8220;blind&#8221; would be difficult. In the mean time I thought I&#8217;d check that <a href="http://www.opto22.com/site/pr_details.aspx?item=Z120D10&#038;qs=100610221053,,,0,3&#038;">the relay</a> I&#8217;m using can actually switch as fast as I need it to (without burning up) and get a feeling for what rapidly flashed incandescent bulbs look like.</p>
<p><span id="more-5"></span></p>
<p>I wired up a simple astable multivibrator <a href="http://www.uoguelph.ca/~antoon/gadgets/555/555.html">555 timer</a> circuit (which outputs <a href="http://en.wikipedia.org/wiki/Pulse_wave">a series of 5 volt pulses</a>) whose frequency I could control with a potentiometer. I got a 6ft lamp extension cord, cleaved the two wires in two and cut one to put the relay in line.</p>
<p><img src='http://farm3.static.flickr.com/2158/2469496855_baf0f71cef.jpg' alt='555 Timer Board, Relay Splice' class='alignnone' /></p>
<p>The primary reason to do the test was to see how much latency the 100 watt incandescent bulbs display at various rates. The bulbs take a little while to get to full brightness after current starts to flow and even longer to become totally dark after it stops. A little bit of this is okay, and the trailing edge will actually produce a neat ghosting effect as the meter falls off. Too much latency though, especially in reaching brightness, will mean a dim top edge to the meter and a disappointing disconnect between sound and visual.</p>
<p>By playing around with rapid pulsing and watching it closely I don&#8217;t <em>think</em> it will be a problem. It&#8217;s difficult to tell without seeing several of these in a row though, so I&#8217;m going to try to measure the brightness curve from the following video and see if I can write a quick simulation (using <a href="http://processing.org/">processing</a>?) of what the completed meter would look like with these bulbs. The camera&#8217;s auto-exposure function sensor latency will skew the data a bit, but it should be enough for a rough idea. Alternatively, when I get an oscilloscope (what can&#8217;t they do!), I could use a photoresistor to measure the brightness curve more precisely.</p>
<p>I&#8217;ve started a photoset for this project <a href="http://www.flickr.com/photos/phrontist/sets/72157604911115491/">here</a>.</p>
<p><object type="application/x-shockwave-flash" width="500" height="375" data="http://www.flickr.com/apps/video/stewart.swf?v=49235" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&amp;photo_secret=d8d6a33c67&amp;photo_id=2470327446&amp;show_info_box=true"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=49235"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=49235" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&amp;photo_secret=d8d6a33c67&amp;photo_id=2470327446&amp;flickr_show_info_box=true" height="375" width="500"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phrontist.org/2008/05/blink-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Vast VU Meter</title>
		<link>http://www.phrontist.org/2008/05/a-vast-vu-meter/</link>
		<comments>http://www.phrontist.org/2008/05/a-vast-vu-meter/#comments</comments>
		<pubDate>Fri, 02 May 2008 05:48:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Vast VU Meter]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[lexington]]></category>
		<category><![CDATA[radio]]></category>
		<category><![CDATA[vu meter]]></category>
		<category><![CDATA[wrfl]]></category>

		<guid isPermaLink="false">http://www.phrontist.org/?p=3</guid>
		<description><![CDATA[
This is Patterson Office Tower (POT) on The University of Kentucky campus. It&#8217;s home to a small cafe/mezzanine, an obscure mathematics library, and the offices of all the professors and bureaucrats who don&#8217;t fit in the endearingly inefficient buildings elsewhere on campus. If, as civil engineers like to say, architecture is the art of wasting [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://farm3.static.flickr.com/2374/2448546270_057faff6f1.jpg?v=0' alt='Patterson Office Tower on a Sunny Day'/></p>
<p>This is Patterson Office Tower (POT) on <a href="http://uky.edu">The University of Kentucky</a> campus. It&#8217;s home to a small cafe/mezzanine, an obscure mathematics library, and the offices of all the professors and bureaucrats who don&#8217;t fit in the endearingly inefficient buildings elsewhere on campus. If, as civil engineers like to say, architecture is the art of wasting space, it&#8217;s oft-scorned <a href="http://en.wikipedia.org/wiki/Brutalist">brutalist</a> style seems to be a good example of what would happen if we eschewed the discipline altogether.</p>
<p><span id="more-3"></span></p>
<p><img src='http://farm3.static.flickr.com/2071/2447716905_a0ddc59fda.jpg' alt='White hall/POT connection viewed from POT' class='alignnone' /></p>
<p>On top of this mercilessly orthogonal concrete form is the broadcast tower of <a href="http://wrfl.fm">Radio Free Lexington</a>. Despite it&#8217;s &#8220;dim bulb&#8221; 250 watt transmission power, the station <a href="http://www.fcc.gov/fcc-bin/FMTV-service-area?x=FM110859.html">currently reaches</a> most of Lexington&#8217;s 275,000 or so residents via terrestrial broadcast thanks to the height of the tower and <a href="http://maps.google.com/maps?f=q&#038;hl=en&#038;geocode=&#038;q=Lexington,+KY&#038;ie=UTF8&#038;ll=38.038556,-84.503987&#038;spn=0.022984,0.040169&#038;t=p&#038;z=15">the hill it sits on</a>. The FCC has approved WRFL for an upgrade to 7900 watts, which will let us reach <a href="http://www.fcc.gov/fcc-bin/FMTV-service-area?x=FM1042385.html">a much larger swath of the central bluegrass</a>.</p>
<p>So I have this idea for an installation I think would work well to draw attention to the station either in celebration of the upgrade or as a means to gather support for it. Following in the steps of <a href="http://hacks.mit.edu/Hacks/by_year/1993/green_bldg_vu_meter/">the green building hack</a> at MIT and the <a href="http://blinkenlights.de/">Blinkenlights Project</a> I&#8217;d like to turn POT in to a giant real time volume display of the station&#8217;s broadcast.</p>
<p>To be more specific, I want to take a row of windows (or more, as money allows) in the building and place lamps in them to form a vertical bar <a href="http://en.wikipedia.org/wiki/VU_meter">VU meter</a>. The overall effect will look like the video below, but 16 stories tall and visible from miles away. You could tune in to the station during the evening and watch this <em>huge</em> column of light on the face of POT leap up and down in synchrony with the music. I&#8217;m grinning just thinking about it.</p>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/FBW6Puz5j7o&#038;hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/FBW6Puz5j7o&#038;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
<p>How could that be done? Well the Blinkenlights and Green Building projects were both able to run significant amounts of cabling from large power supplies to relays across several stories/rooms. POT is in constant use so cost and difficulty considerations aside we can rule out any scheme involving huge cable lays.</p>
<p>Happily, the signal we want to represent is already available as radio broadcast on every floor. So instead of switching a huge number of lights from a central system, we can put a radio on each floor and have each set of lights switched autonomously in response to the signal it receives.</p>
<p><img src="http://farm3.static.flickr.com/2359/2447676495_48a9f56c10.jpg" alt="POT from the singletary center" /></p>
<p>So the basic plan is to have a simple lamp with, lets say, three 100 watt bulbs in each window. You have a <a href="http://en.wikipedia.org/wiki/Relay">relay</a> (actually, <a href="http://www.opto22.com/site/pr_details.aspx?item=Z120D10&#038;qs=100610221053,,,0,3&#038;">this</a> relay) that can switch the bulbs on and off quickly in response to a low voltage signal. This signal is provided by a simple circuit that detects how loud the signal coming from the radio is, and while it&#8217;s above a certain threshold, activates the relay to turn on the lamps. By setting that threshold slightly higher on each successive floor, you&#8217;ll get that VU meter effect.</p>
<p>That circuit to sit between the radio and the relay will be an <a href="http://en.wikipedia.org/wiki/Envelope_follower">envelope follower</a> and a <a href="http://en.wikipedia.org/wiki/Comparator">comparator</a> (probably <a href="http://www.national.com/mpf/LM/LM339.html">an LM339</a>). The envelope follower may be as simple as a diode to <a href="http://en.wikipedia.org/wiki/Rectifier">rectify</a> the signal and a <a href="http://en.wikipedia.org/wiki/Low_pass_filter">RC low pass filter</a>. The whole apparatus (lamps included) should cost less than $40 (that&#8217;s a high estimate) per floor. Assuming we do 16 floors, and a few red ones on the top floor for a cool peaking effect, that&#8217;s around $800. Probably less. But let&#8217;s say $1000.</p>
<p>I&#8217;m currently working on a prototype of a single unit. I&#8217;ve already got one of the relays to play around with. The problems remaining are&#8230;</p>
<ul>
<li>Finding some radios that can run off a wall power supply, yet are cheap and can be had by the dozen</li>
<li>Designing and testing the envelope follower with an oscilloscope. The big question here is what kind of time constant should be used to prevent flickering but not take too long to fall off.</i>
<li>Finding good potentiometers for adjusting the threshold of the comparator.</li>
<li>Packaging all of this, wiring everything safely, and in a duplicable way.</i>
</ul>
<p>Then it&#8217;s just a matter of finding funding and convincing the powers that be (who do you even ask? the building super? each individual office holder?) to let us set it up. It could easily be reused or expanded (add some band pass filters for a frequency analyzer), and different locations provide for some interesting opportunities. For live events, you could use a low power FM transmitter to drive them instead.</p>
<p><img src='http://farm3.static.flickr.com/2318/2448662856_800042d5e3.jpg' alt='POT at dusk' class='alignnone' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phrontist.org/2008/05/a-vast-vu-meter/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
