<?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>sync-signal.com</title>
	<atom:link href="http://sync-signal.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sync-signal.com</link>
	<description>audio, video, electronics and code</description>
	<lastBuildDate>Fri, 07 May 2010 09:12:22 +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>Building and Installing Fluxus on Ubuntu 10.04 (Lucid Lynx)</title>
		<link>http://sync-signal.com/2010/05/building-installing-fluxus-on-ubuntu-10-04-lucid-lynx/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sync-signal.com/2010/05/building-installing-fluxus-on-ubuntu-10-04-lucid-lynx/#comments</comments>
		<pubDate>Fri, 07 May 2010 09:08:19 +0000</pubDate>
		<dc:creator>xin</dc:creator>
				<category><![CDATA[Live Coding]]></category>
		<category><![CDATA[Fluxus]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://sync-signal.com/?p=177</guid>
		<description><![CDATA[Just like my previous 9.10 guide, Heres another to get JACK working together in Ubuntu 10.04 (Lucid Lynx).
Unlike my previous guide, I've opted to use checkinstall so you can uninstall packages as easy as dpkg -r plt-scheme fluxus
I've decided to put everything Fluxus related in a Fluxus folder in my home directory. This is completely [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sync-signal.com/wp-content/uploads/2009/10/Fluxus-Ubuntu.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignleft size-thumbnail wp-image-71" title="Fluxus Ubuntu" src="http://sync-signal.com/wp-content/uploads/2009/10/Fluxus-Ubuntu-150x150.png" alt="Fluxus Ubuntu" width="150" height="150" /></a>Just like my previous 9.10 guide, Heres another to get JACK working together in Ubuntu 10.04 (Lucid Lynx).</p>
<p>Unlike my previous guide, I've opted to use checkinstall so you can uninstall packages as easy as dpkg -r plt-scheme fluxus</p>
<p><span id="more-177"></span>I've decided to put everything Fluxus related in a Fluxus folder in my home directory. This is completely optional.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> ~<span style="color: #000000; font-weight: bold;">/</span>Fluxus
<span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>Fluxus</pre></div></div>

<h2>Downloads</h2>
<p>Here are all the downloads you're going to need to do. I'm not 100% sure I've got all of the Fluxus dependencies as I think I had some pre-installed from another build. If you find I have missed some, Your best bet is installing the -dev package with the highest number.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Basic dependencies</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> build-essential git-core checkinstall
&nbsp;
<span style="color: #666666; font-style: italic;"># Scheme Dependencies</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libxaw7-dev
&nbsp;
<span style="color: #666666; font-style: italic;"># Fluxus Dependencies.</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> scons libtiff4-dev libode-dev libfftw3-dev libsndfile1-dev liblo0-dev libglew1.5-dev libfreetype6-dev libasound2-dev libglut3-dev libopenal-dev libjack-dev libpng12-dev qjackctl
&nbsp;
<span style="color: #666666; font-style: italic;"># Fluxus-video dependencies.</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libgstreamer0.10-dev libgstreamer0.10-dev libunicap2-dev libavformat-dev libswscale-dev 
&nbsp;
<span style="color: #666666; font-style: italic;"># Scheme Source. Note: 4.2.5 segfaults when compiling</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>download.plt-scheme.org<span style="color: #000000; font-weight: bold;">/</span>bundles<span style="color: #000000; font-weight: bold;">/</span>4.2.2<span style="color: #000000; font-weight: bold;">/</span>plt<span style="color: #000000; font-weight: bold;">/</span>plt-4.2.2-src-unix.tgz
&nbsp;
<span style="color: #666666; font-style: italic;"># Fluxus Source</span>
git clone git:<span style="color: #000000; font-weight: bold;">//</span>git.savannah.nongnu.org<span style="color: #000000; font-weight: bold;">/</span>fluxus.git</pre></div></div>

<h2>Building PLT Scheme</h2>
<p>Building plt-scheme is pretty brainless. Expect to wait a while as make-install takes an age and a half.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xzf plt-4.2.2-src-unix.tgz
<span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>Fluxus<span style="color: #000000; font-weight: bold;">/</span>plt-4.2.2<span style="color: #000000; font-weight: bold;">/</span>src
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #660033;">--enable-shared</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> checkinstall
&nbsp;
<span style="color: #666666; font-style: italic;"># I entered the following:</span>
<span style="color: #666666; font-style: italic;"># 0 -  Maintainer: [ xin@sync-signal.com ]</span>
<span style="color: #666666; font-style: italic;"># 1 -  Summary: [ PLT scheme compiled with shared libraries ]</span>
<span style="color: #666666; font-style: italic;"># 2 -  Name:    [ plt-scheme ]</span>
<span style="color: #666666; font-style: italic;"># 3 -  Version: [ 4.2.2 ]</span>
<span style="color: #666666; font-style: italic;"># 4 -  Release: [ 1 ]</span>
<span style="color: #666666; font-style: italic;"># 5 -  License: [ GPL ]</span>
<span style="color: #666666; font-style: italic;"># 6 -  Group:   [ checkinstall ]</span>
<span style="color: #666666; font-style: italic;"># 7 -  Architecture: [ amd64 ]</span>
<span style="color: #666666; font-style: italic;"># 8 -  Source location: [ src ]</span>
<span style="color: #666666; font-style: italic;"># 9 -  Alternate source location: [  ]</span>
<span style="color: #666666; font-style: italic;"># 10 - Requires: [ libxaw7 ]</span>
<span style="color: #666666; font-style: italic;"># 11 - Provides: [ mzscheme ]</span></pre></div></div>

<h2>Building Fluxus</h2>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>Fluxus<span style="color: #000000; font-weight: bold;">/</span>fluxus
scons
<span style="color: #c20cb9; font-weight: bold;">sudo</span> checkinstall scons <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #666666; font-style: italic;"># Don't forget to set a version.</span></pre></div></div>

<h2>Configuring JACK</h2>
<p>See my guide on <a href="/2009/12/configuring-jack-and-pulseaudio-on-ubuntu-9-10/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">Configuring JACK and PulseAudio on Ubuntu 9.10</a>.</p>
<h2>Final Test</h2>
<p>To test Fluxus type the following into the REPL:</p>

<div class="wp_syntax"><div class="code"><pre class="scheme" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span>start<span style="color: #66cc66;">-</span>audio <span style="color: #ff0000;">&quot;system:capture_1&quot;</span> <span style="color: #cc66cc;">512</span> <span style="color: #cc66cc;">44100</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span>gh <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span></pre></div></div>

<p>If the result is anything other than zero you're set. If not, you may have to play with the input source in JACK, or as the case was with me, plug the microphone into the right port.</p>
]]></content:encoded>
			<wfw:commentRss>http://sync-signal.com/2010/05/building-installing-fluxus-on-ubuntu-10-04-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>StagFS Moved to Bitbucket</title>
		<link>http://sync-signal.com/2010/02/stagfs-moved-to-bitbucket/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sync-signal.com/2010/02/stagfs-moved-to-bitbucket/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 07:05:17 +0000</pubDate>
		<dc:creator>xin</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[StagFS]]></category>

		<guid isPermaLink="false">http://sync-signal.com/?p=174</guid>
		<description><![CDATA[After bitbucket upgraded their free plans I decided to move from github to bitbucket. So now StagFS can be found on bitbucket here.
]]></description>
			<content:encoded><![CDATA[<p>After bitbucket upgraded their free plans I decided to move from github to bitbucket. So now StagFS can be found on bitbucket <a href="http://bitbucket.org/xlevus/stagfs/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sync-signal.com/2010/02/stagfs-moved-to-bitbucket/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TVSlurp</title>
		<link>http://sync-signal.com/2010/01/tvslurp/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sync-signal.com/2010/01/tvslurp/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 10:37:46 +0000</pubDate>
		<dc:creator>xin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[TVRage]]></category>
		<category><![CDATA[TVSlurp]]></category>
		<category><![CDATA[Usenet]]></category>

		<guid isPermaLink="false">http://sync-signal.com/?p=170</guid>
		<description><![CDATA[Out of frustration of manually queuing up TV shows each week, and having a list of favourite shows on both TVRage and Newzbin I wrote a small script to pull your favourite shows iCal from TVRage and search Newzbin for unwatched episodes.
Unfortunately half way through development my feed changed and now I've got nothing to [...]]]></description>
			<content:encoded><![CDATA[<p>Out of frustration of manually queuing up TV shows each week, and having a list of favourite shows on both TVRage and Newzbin I wrote a small script to pull your favourite shows iCal from TVRage and search Newzbin for unwatched episodes.</p>
<p>Unfortunately half way through development my feed changed and now I've got nothing to watch, so I've been unable to test it fully. But it should work...</p>
<p>More info over on bitbucket. <a href="http://github.com/xlevus/TVSlurp/" target="_blank"></a><a href="http://bitbucket.org/xlevus/tvslurp/" target="_blank">TVSlurp on Bitbucket</a></p>
<p>[edit] Moved the code to bitbucket</p>
]]></content:encoded>
			<wfw:commentRss>http://sync-signal.com/2010/01/tvslurp/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Getting Started with a PICkit2 on Ubuntu 9.10</title>
		<link>http://sync-signal.com/2010/01/getting-started-with-pickit2-on-ubuntu-9-10/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sync-signal.com/2010/01/getting-started-with-pickit2-on-ubuntu-9-10/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 08:04:44 +0000</pubDate>
		<dc:creator>xin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[PIC]]></category>
		<category><![CDATA[PICkit2]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://sync-signal.com/?p=130</guid>
		<description><![CDATA[This Christmas I received a PICkit2. Unfortunately the support for Linux is nothing like it's support for Windows.  Here's a quick guide on getting things working in Ubuntu 9.10 (Karmic Koala).

Firstly you're going to want to setup udev to give your account access to the programmer. The original instructions can be found here. Start by [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sync-signal.com/wp-content/uploads/2010/01/PICkit2.jpg#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignleft size-thumbnail wp-image-133" title="PICkit2" src="http://sync-signal.com/wp-content/uploads/2010/01/PICkit2-150x150.jpg" alt="" width="150" height="150" /></a>This Christmas I received a PICkit2. Unfortunately the support for Linux is nothing like it's support for Windows.  Here's a quick guide on getting things working in Ubuntu 9.10 (Karmic Koala).<br />
<span id="more-130"></span></p>
<p>Firstly you're going to want to setup udev to give your account access to the programmer. The original instructions can be found <a href="http://sourceforge.net/apps/mediawiki/piklab/index.php?title=USB_Port_Problems#For_distributions_using_.22udev.22_.28Debian_Sid.2C_Ubuntu_6.2C7.2C8.2C....29" target="_blank">here</a>. Start by creating a group 'microchip' and then give your account access to that group.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> addgroup microchip
<span style="color: #c20cb9; font-weight: bold;">sudo</span> addgroup <span style="color: #000000; font-weight: bold;">&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;</span> microchip</pre></div></div>

<p>Then create the file '/etc/udev/rules.d/026_microchip.rules' and add the following contents to it. Don't forget to prefix your editor with 'sudo' e.g. 'sudo nano /etc/udev/rules.d/026_microchip.rules'.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">#PICKit
SYSFS{idVendor}==&quot;04d8&quot;, SYSFS{idProduct}==&quot;0032&quot;, MODE=&quot;0660&quot;, GROUP=&quot;microchip&quot;
#PICKit2
SYSFS{idVendor}==&quot;04d8&quot;, SYSFS{idProduct}==&quot;0033&quot;, MODE=&quot;0660&quot;, GROUP=&quot;microchip&quot;
#ICD2
SYSFS{idVendor}==&quot;04d8&quot;, SYSFS{idProduct}==&quot;8000&quot;, MODE=&quot;0660&quot;, GROUP=&quot;microchip&quot;
#ICD21
SYSFS{idVendor}==&quot;04d8&quot;, SYSFS{idProduct}==&quot;8001&quot;, MODE=&quot;0660&quot;, GROUP=&quot;microchip&quot;</pre></div></div>

<p>Now restart.</p>
<h2>pk2cmd</h2>
<p>pk2cmd is the program that you're going to use to flash the PIC chip. It's available <a href="http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;nodeId=1406&amp;dDocName=en023805&amp;redirects=pickit2" target="_blank">here</a>, Scroll down to 'Downloads' and grab the 'Mac OS X Source Code with Makefile'.</p>
<p>Now extract and compile like so.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xzf pk2cmdv1.20LinuxMacSource.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> pk2cmdv1.20LinuxMacSource
<span style="color: #c20cb9; font-weight: bold;">make</span> linux</pre></div></div>

<p>If you get an error 'make: command not found' you'll need to install Ubuntu's build-essential package.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> build-essential</pre></div></div>

<p>To install pk2cmd you need to place it and PK2DeviceFile.dat somewhere on your path. The easiest way is to copy it to '/usr/bin'</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> pk2cmd <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #660033;">-x</span> PK2DeviceFile.dat
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> PK2DeviceFile.dat <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin</pre></div></div>

<h2>Testing it out</h2>
<p>Now you've got everything setup you can start talking to your PICkit2. To make sure everything works plug in your PICkit2 and the demo board and run these two commands.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">pk2cmd -?V
pk2cmd <span style="color: #660033;">-P</span></pre></div></div>

<p>You should see some output like this:</p>
<pre>$ pk2cmd -?V

Executable Version:    1.20.00
Device File Version:   1.55.00
OS Firmware Version:   2.32.00

Operation Succeeded

$ pk2cmd -P
Auto-Detect: Found part PIC16F690.</pre>
<h2>Running some Code</h2>
<p>On the PICkit CD there are 12 lessons, they can be found in 'Install/Lessons/Low Pin Count Demo Board'.  They contain example code, an assembled HEX program, and an MPLab IDE project.</p>
<p>Here's the command to write, verify and run a HEX program. In this case, Lesson 03.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">pk2cmd <span style="color: #660033;">-P</span> <span style="color: #660033;">-M</span> -FRotate.HEX <span style="color: #660033;">-Y</span> <span style="color: #660033;">-T</span></pre></div></div>

<p>To break it down:</p>
<ul>
<li><strong>-P</strong> - The chip type you're writing to. Omitting it will make PICkit2 attempt to detect the type. If it fails with 'No known part found' try specifying the chip type like -PPIC16F690 for the PIC16F690</li>
<li><strong>-M</strong> - The region of memory to write to. As there is no region specified it'll write to the entire of the chip.</li>
<li><strong>-FRotate.HEX</strong> - The HEX file you wish to write. In this case 'Rotate.HEX'.</li>
<li><strong>-Y</strong> - Verify after writing. Like -M, you can indicate the region you wish to verify.</li>
<li><strong>-T</strong> - Power the circuit after completion. This will provide your circuit with the chips Vdd allowing your program to run.</li>
</ul>
<p>There are a lot more flags to pk2cmd, to see them all and get a description of what they do, run pk2cmd with no arguments.</p>
]]></content:encoded>
			<wfw:commentRss>http://sync-signal.com/2010/01/getting-started-with-pickit2-on-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Recording Videos with Fluxus</title>
		<link>http://sync-signal.com/2009/12/recording-videos-with-fluxus/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sync-signal.com/2009/12/recording-videos-with-fluxus/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 07:12:27 +0000</pubDate>
		<dc:creator>xin</dc:creator>
				<category><![CDATA[Live Coding]]></category>
		<category><![CDATA[Fluxus]]></category>
		<category><![CDATA[Guide]]></category>

		<guid isPermaLink="false">http://sync-signal.com/?p=123</guid>
		<description><![CDATA[Once you've created an awesome Fluxus sketch you're going to want to show the world. With a copy of ffmpeg this is a pretty quick and easy task.

Prep
Firstly you're going to want to install ffmpeg.

sudo apt-get install ffmpeg

If your workflow is anything like mine you more than likely have an MP3 you want to visualize. [...]]]></description>
			<content:encoded><![CDATA[<p>Once you've created an awesome Fluxus sketch you're going to want to show the world. With a copy of ffmpeg this is a pretty quick and easy task.</p>
<p><span id="more-123"></span></p>
<h2>Prep</h2>
<p>Firstly you're going to want to install ffmpeg.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">ffmpeg</span></pre></div></div>

<p>If your workflow is anything like mine you more than likely have an MP3 you want to visualize. Unfortunately Fluxus can't process MP3s so you'll need to convert it to a WAV like so.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ffmpeg</span> <span style="color: #660033;">-i</span> source.mp3 source.wav</pre></div></div>

<h2>Dumping the Frames</h2>
<p>Now, in ~/.fluxus.scm you're going to want to comment out your start-audio call, and append this to the bottom of the file. What does this do you ask? Well, firstly you call start-audio and set up your buffer size for the desired FPS, to calculate it you want to use the formula &lt;sample_rate&gt;/&lt;desired_fps&gt;. In this example I've gone with 25fps, 44100/25 = 1764. Then you tell Fluxus where the WAV file you wish to process is located. Finally get Fluxus to dump each frame to a JPEG.</p>

<div class="wp_syntax"><div class="code"><pre class="scheme" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span>start<span style="color: #66cc66;">-</span>audio <span style="color: #ff0000;">&quot;system:capture_1&quot;</span> <span style="color: #cc66cc;">1764</span> <span style="color: #cc66cc;">44100</span><span style="color: #66cc66;">&#41;</span> <span style="color: #808080; font-style: italic;">; 44100/25 FPS = 1764</span>
<span style="color: #66cc66;">&#40;</span>process <span style="color: #ff0000;">&quot;/home/xin/Fluxus/Recordings/09-12-27/source.wav&quot;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span>start<span style="color: #66cc66;">-</span>framedump <span style="color: #ff0000;">&quot;frame&quot;</span> <span style="color: #ff0000;">&quot;jpg&quot;</span><span style="color: #66cc66;">&#41;</span></pre></div></div>

<p>Now launch Fluxus and wait until everything stops moving. Here I've told Fluxus to open up in 720p and to execute and hide 'sketch.scm'.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">fluxus <span style="color: #660033;">-x</span> sketch.scm <span style="color: #660033;">-geom</span> 1280x720</pre></div></div>

<h2>Convert to Video</h2>
<p>Finally, convert the JPEGs and WAV to an AVI. Specify the two input sources (audio and video), the framerate and the output file.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ffmpeg</span> <span style="color: #660033;">-r</span> <span style="color: #000000;">25</span> <span style="color: #660033;">-i</span> frame<span style="color: #000000; font-weight: bold;">%</span>05d.jpg <span style="color: #660033;">-i</span> source.wav output.avi</pre></div></div>

<p>Here you may want to play around with additional ffmpeg arguments to improve the video quality or cut any dead space from the start/end.</p>
]]></content:encoded>
			<wfw:commentRss>http://sync-signal.com/2009/12/recording-videos-with-fluxus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring JACK and PulseAudio on Ubuntu 9.10</title>
		<link>http://sync-signal.com/2009/12/configuring-jack-and-pulseaudio-on-ubuntu-9-10/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sync-signal.com/2009/12/configuring-jack-and-pulseaudio-on-ubuntu-9-10/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 00:46:16 +0000</pubDate>
		<dc:creator>xin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[JACK]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[Pulseaudio]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://sync-signal.com/?p=87</guid>
		<description><![CDATA[This guide should get you set up to route audio through JACK from PulseAudio on Ubuntu 9.10 (Karmic Koala) when you want without having to run JACK all the time.
Update: While this works it only works sometimes. I've found it to be incredibly unreliable and crash all the time.
Pre-Setup
A little bit of work is needed [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sync-signal.com/wp-content/uploads/2009/12/PulseJack1.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignright size-full wp-image-106" title="PulseJack" src="http://sync-signal.com/wp-content/uploads/2009/12/PulseJack1.png" alt="PulseJack" width="150" height="150" /></a>This guide should get you set up to route audio through JACK from PulseAudio on Ubuntu 9.10 (Karmic Koala) when you want without having to run JACK all the time.</p>
<p><strong>Update:</strong> While this works it only works sometimes. I've found it to be incredibly unreliable and crash all the time.<span id="more-87"></span></p>
<h2>Pre-Setup</h2>
<p>A little bit of work is needed to get JACK working in Ubuntu. These commands were taken from <a href="https://help.ubuntu.com/community/UbuntuStudioPreparation" target="_blank">here</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> addgroup <span style="color: #000000; font-weight: bold;">&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;</span> audio
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">'echo @audio - rtprio 99 &gt;&gt; /etc/security/limits.conf'</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">'echo @audio - nice -10 &gt;&gt; /etc/security/limits.conf'</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">'echo @audio - memlock unlimited &gt;&gt; /etc/security/limits.conf'</span></pre></div></div>

<h2>Downloads</h2>
<p>First you're going to need to set up a custom apt repository that provides the pulseaudio JACK module. The launchpad page is <a href="https://launchpad.net/~motin/+archive/until-jack-is-included-in-main">here</a>.</p>
<p>From your system menu navigate to the Software Sources tool (System -&gt; Administration -&gt; Software Sources) and switch to the "Other Software" tab. Click "Add" and enter "<em>ppa:motin/until-jack-is-included-in-main</em>". Close the window and you're done.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> pulseaudio-module-jack qjackctl</pre></div></div>

<h2>PulseAudio Configuration</h2>
<p>First, copy your systems default pulse config into your home directory.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>pulse<span style="color: #000000; font-weight: bold;">/</span>default.pa ~<span style="color: #000000; font-weight: bold;">/</span>.pulse<span style="color: #000000; font-weight: bold;">/</span>pulsejack.pa</pre></div></div>

<p>Now, in your favourite text editor, you want to make the following lines:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">### Load audio drivers statically (it is probably better to not load
### these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device=&quot;/dev/dsp&quot; sink_name=output source_name=input
#load-module module-oss-mmap device=&quot;/dev/dsp&quot; sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink
&nbsp;
### Automatically load driver modules depending on the hardware available
.ifexists module-hal-detect.so
load-module module-hal-detect
.else
### Alternatively use the static hardware detection module (for systems that
### lack HAL support)
load-module module-detect
.endif</pre></div></div>

<p>Look like this:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">### Load audio drivers statically (it is probably better to not load
### these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device=&quot;/dev/dsp&quot; sink_name=output source_name=input
#load-module module-oss-mmap device=&quot;/dev/dsp&quot; sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink
load-module module-jack-source
load-module module-jack-sink
&nbsp;
### Automatically load driver modules depending on the hardware available
#.ifexists module-hal-detect.so
#load-module module-hal-detect
#.else
### Alternatively use the static hardware detection module (for systems that
### lack HAL support)
#load-module module-detect
#.endif</pre></div></div>

<p>To stop PulseAudio from launching every time you try and kill it, you need to tell it to not autospawn.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;autospawn = no&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> ~<span style="color: #000000; font-weight: bold;">/</span>.pulse<span style="color: #000000; font-weight: bold;">/</span>client.conf
pkill pulseaudio</pre></div></div>

<h2>JACK Configuration</h2>
<p>Configuring JACK is easy. Launch qjackctl and under 'Setup -&gt; Options'  make the four fields under 'scripting' it look like this:</p>
<div id="attachment_92" class="wp-caption aligncenter" style="width: 310px"><a href="http://sync-signal.com/wp-content/uploads/2009/12/Setup-JACK.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="size-medium wp-image-92" title="Setup-JACK" src="http://sync-signal.com/wp-content/uploads/2009/12/Setup-JACK-300x252.png" alt="JACK Settings" width="300" height="252" /></a><p class="wp-caption-text">JACK Settings</p></div>
<p>Now, quit qjackctl and relaunch it. You should be able to see "PulseAudio JACK Sink" and "PulseAudio JACK Source" in qjackctl's Connect pane. Now all of your applications that use PulseAudio are being routed through JACK.</p>
]]></content:encoded>
			<wfw:commentRss>http://sync-signal.com/2009/12/configuring-jack-and-pulseaudio-on-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>StagFS &#8211; Standalone tag File System</title>
		<link>http://sync-signal.com/2009/10/stagfs-standalone-tag-filesyste/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sync-signal.com/2009/10/stagfs-standalone-tag-filesyste/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 08:22:22 +0000</pubDate>
		<dc:creator>xin</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[StagFS]]></category>
		<category><![CDATA[Project]]></category>

		<guid isPermaLink="false">http://sync-signal.com/?p=50</guid>
		<description><![CDATA[StagFS is a FUSE file system written in python with the aim of storing meta-data against files, and then representing that in an intuitive tree structure that any application can use natively.
http://bitbucket.org/xlevus/stagfs/

e.g. Take a flat list of files like this
- Loaded (2008)
- Lolita (1997)
- Lords of Dogtown (2005)
- Young Frankenstein (1974)
Into a useful, browse able [...]]]></description>
			<content:encoded><![CDATA[<p>StagFS is a FUSE file system written in python with the aim of storing meta-data against files, and then representing that in an intuitive tree structure that any application can use natively.</p>
<p><a href="http://github.com/xlevus/StagFS">http://bitbucket.org/xlevus/stagfs/</a><br />
<span id="more-50"></span><br />
e.g. Take a flat list of files like this</p>
<pre>- Loaded (2008)
- Lolita (1997)
- Lords of Dogtown (2005)
- Young Frankenstein (1974)</pre>
<p>Into a useful, browse able tree of folders like this</p>
<pre>+ cast
+ director
    - Adrian Lyne
    - Alan Pao
    - Catherine Hardwicke
    - Mel Brooks
+ genre
    + Action
        - Loaded (2008)
    - Biography
    - Comedy
    - Crime
    + Drama
        - Loaded (2008)
        - Lolita (1997)
        - Lords of Dogtown (2005)
    + Music
        - Young Frankenstein (1974)
    - Romance
    + Sci-Fi
        - Young Frankenstein (1974)
    - Sport
    - Thriller
- keywords
- title
- writer
- year</pre>
<p>And that's not to say it's limited to movies. You can tag any types of files into nearly any structure you want. TV shows, photos, documents.</p>
<p>For an example of how it works you can run:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> some_mountpoint
.<span style="color: #000000; font-weight: bold;">/</span>stagfs.py <span style="color: #660033;">--source-dir</span>=<span style="color: #7a0874; font-weight: bold;">test</span> some_mountpoint
<span style="color: #c20cb9; font-weight: bold;">ls</span> some_mountpoint<span style="color: #000000; font-weight: bold;">/</span>movie</pre></div></div>

<p>For an example structure of a StagFS data file, check the movie.stag files inside the test directories.</p>
]]></content:encoded>
			<wfw:commentRss>http://sync-signal.com/2009/10/stagfs-standalone-tag-filesyste/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building Fluxus on Ubuntu 9.10</title>
		<link>http://sync-signal.com/2009/10/building-fluxus-on-ubuntu-9-10/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sync-signal.com/2009/10/building-fluxus-on-ubuntu-9-10/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 07:02:42 +0000</pubDate>
		<dc:creator>xin</dc:creator>
				<category><![CDATA[Live Coding]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Fluxus]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://sync-signal.com/?p=32</guid>
		<description><![CDATA[As I foresee me doing this again, Here's a quick guide on getting Fluxus and JACK working together in Ubuntu 9.10 (Karmic Koala).
I've decided to put everything Fluxus related in a Fluxus folder in my home directory. This is completely optional.

mkdir ~/Fluxus
cd ~/Fluxus

Downloads
Here are all the downloads you're going to need to do. I'm not [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sync-signal.com/wp-content/uploads/2009/10/Fluxus-Ubuntu.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignleft size-thumbnail wp-image-71" title="Fluxus Ubuntu" src="http://sync-signal.com/wp-content/uploads/2009/10/Fluxus-Ubuntu-150x150.png" alt="Fluxus Ubuntu" width="150" height="150" /></a>As I foresee me doing this again, Here's a quick guide on getting Fluxus and JACK working together in Ubuntu 9.10 (Karmic Koala).</p>
<p><span id="more-32"></span>I've decided to put everything Fluxus related in a Fluxus folder in my home directory. This is completely optional.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> ~<span style="color: #000000; font-weight: bold;">/</span>Fluxus
<span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>Fluxus</pre></div></div>

<h2>Downloads</h2>
<p>Here are all the downloads you're going to need to do. I'm not 100% sure I've got all of the Fluxus dependencies as I think I had some pre-installed from another build. If you find I have missed some, Your best bet is installing the<br />
-dev package with the highest number.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Basic dependencies</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> build-essential git-core
&nbsp;
<span style="color: #666666; font-style: italic;"># Scheme Dependencies</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libxaw7-dev
&nbsp;
<span style="color: #666666; font-style: italic;"># Fluxus Dependencies.</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> scons libtiff4-dev libode-dev libfftw3-dev libsndfile1-dev liblo0-dev libglew1.5-dev libfreetype6-dev libasound2-dev libglut3-dev libopenal-dev libjack-dev libpng12-dev qjackctl
&nbsp;
<span style="color: #666666; font-style: italic;"># Fluxus-video dependencies.</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libgstreamer0.10-dev libgstreamer0.10-dev libunicap2-dev libavformat-dev libswscale-dev 
&nbsp;
<span style="color: #666666; font-style: italic;"># Scheme Source</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>download.plt-scheme.org<span style="color: #000000; font-weight: bold;">/</span>bundles<span style="color: #000000; font-weight: bold;">/</span>4.2.2<span style="color: #000000; font-weight: bold;">/</span>plt<span style="color: #000000; font-weight: bold;">/</span>plt-4.2.2-src-unix.tgz
&nbsp;
<span style="color: #666666; font-style: italic;"># Fluxus Source</span>
git clone git:<span style="color: #000000; font-weight: bold;">//</span>git.savannah.nongnu.org<span style="color: #000000; font-weight: bold;">/</span>fluxus.git</pre></div></div>

<h2>Building PLT Scheme</h2>
<p>Building plt-scheme is pretty brainless. Expect to wait a while as make-install takes an age and a half. I've decided to put plt-scheme in its own folder in /opt . This should make clean up easy should you want to remove it and avoid any conflicts with apt.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xzf plt-4.2.2-src-unix.tgz
<span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>Fluxus<span style="color: #000000; font-weight: bold;">/</span>plt-4.2.2<span style="color: #000000; font-weight: bold;">/</span>src
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>plt-scheme <span style="color: #660033;">--enable-shared</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Setup library paths for ldconfig</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;/opt/plt-scheme/lib&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ld.so.conf.d<span style="color: #000000; font-weight: bold;">/</span>plt-scheme.conf
<span style="color: #c20cb9; font-weight: bold;">sudo</span> ldconfig</pre></div></div>

<h2>Building Fluxus</h2>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>Fluxus<span style="color: #000000; font-weight: bold;">/</span>fluxus
<span style="color: #007800;">PATH</span>=<span style="color: #007800;">$PATH</span>:<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>plt-scheme<span style="color: #000000; font-weight: bold;">/</span>bin scons <span style="color: #007800;">Prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>fluxus <span style="color: #007800;">PLTPrefix</span>=<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>plt-scheme
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #007800;">PATH</span>=<span style="color: #007800;">$PATH</span>:<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>plt-scheme<span style="color: #000000; font-weight: bold;">/</span>bin scons <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #007800;">Prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>fluxus <span style="color: #007800;">PLTPrefix</span>=<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>plt-scheme
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>fluxus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>fluxus</pre></div></div>

<h2>Configuring JACK</h2>
<p>See my guide on <a href="/2009/12/configuring-jack-and-pulseaudio-on-ubuntu-9-10/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">Configuring JACK and PulseAudio on Ubuntu 9.10</a>.</p>
<h2>Final Test</h2>
<p>To test Fluxus type the following into the REPL:</p>

<div class="wp_syntax"><div class="code"><pre class="scheme" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span>start<span style="color: #66cc66;">-</span>audio <span style="color: #ff0000;">&quot;system:capture_1&quot;</span> <span style="color: #cc66cc;">512</span> <span style="color: #cc66cc;">44100</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span>gh <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span></pre></div></div>

<p>If the result is anything other than zero you're set. If not, you may have to play with the input source in JACK, or as the case was with me, plug the microphone into the right port.</p>
]]></content:encoded>
			<wfw:commentRss>http://sync-signal.com/2009/10/building-fluxus-on-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Graphic Equaliser Pt1</title>
		<link>http://sync-signal.com/2009/10/graphic-equaliser-pt1/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sync-signal.com/2009/10/graphic-equaliser-pt1/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 05:10:56 +0000</pubDate>
		<dc:creator>xin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Graphic Equaliser]]></category>
		<category><![CDATA[Equaliser]]></category>
		<category><![CDATA[Project]]></category>

		<guid isPermaLink="false">http://sync-signal.com/?p=18</guid>
		<description><![CDATA[One of the problems I've had with Fluxus is the inability to adjust the gain on the individual harmonic bands. Sure, it'd be easy to do with software but then you're forced to alt-tab mid performance when the drummer decides he wants to hit things harder. So instead I decided I'd get a hardware equaliser. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sync-signal.com/wp-content/uploads/2009/10/EQ.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignright size-thumbnail wp-image-20" title="EQ Circuit Diagram" src="http://sync-signal.com/wp-content/uploads/2009/10/EQ-150x150.png" alt="EQ Circuit Diagram" width="150" height="150" /></a>One of the problems I've had with Fluxus is the inability to adjust the gain on the individual harmonic bands. Sure, it'd be easy to do with software but then you're forced to alt-tab mid performance when the drummer decides he wants to hit things harder. So instead I decided I'd get a hardware equaliser. With EQ's on Trademe being huge bits of home theatre kit, or a bit on the expensive side I decided I'd make my own. Can't be too hard right?</p>
<p><span id="more-18"></span>After a bit of digging I found an IC to do the heavy lifting for me. The <a title="BA3812L Datasheet" href="http://docs.google.com/gview?a=v&amp;q=cache:VuXoo-deO3QJ:www.datasheetcatalog.org/datasheet/rohm/ba3812l.pdf+BA3812L&amp;hl=en&amp;gl=nz&amp;sig=AFQjCNEKlZMdZwRcN7mUSDOpmozGWdGaYw" target="_blank">B3812L</a> from Rohm. Using the reference circuit from the data sheet I sketched up a circuit diagram in Eagle, which turned out to be a waste of time as I ended up referring to the data sheet more than anything.</p>
<p>After buying all the parts, I got to work getting the parts laid out on vero board. It took a couple of tries, but I eventually worked out a pattern to make the most efficient use of the space. I did run into one issue, The IC has a ZIP type pin layout which made getting it into the vero board a little difficult. So I got some wire-wrap component sockets to stand the IC off the board and bent one row of legs to get it in line with the holes on the vero board.</p>
<p><a href="http://sync-signal.com/wp-content/uploads/2009/10/IMG_0145.JPG#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignleft size-thumbnail wp-image-22" title="Circuit Complete" src="http://sync-signal.com/wp-content/uploads/2009/10/IMG_0145-150x150.jpg" alt="Circuit Complete" width="150" height="150" /></a>Surprisingly, after soldering everything up and plugging it into my ATX-PSU bench-top power supply the thing worked pretty much perfectly. There was a bit of noise when you flexed the board from what I assumed was a dry solder but when twiddling the dials you could audibly hear different sound bands fade in/out. By this time it was pretty late so I unplugged everything and went to bed.</p>
<p>The next day I ripped back into the project. I removed the audio and power leads from the PCB and cut up some new shorter leads for inside the enclosure. Then I remembered I needed to fix the crackling. So I soldered everything back up to try and fix it. But things weren't working at all. There was audio, but it was very quiet and very noisy. And to make matters worse, I had soldered the capacitor bridging the power lines back to front. So that decided to blow up on me. With no replacement I packed it up and called it a night.</p>
<p><a href="http://sync-signal.com/wp-content/uploads/2009/10/IMG_0144.JPG#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignright size-thumbnail wp-image-21" title="It Works!" src="http://sync-signal.com/wp-content/uploads/2009/10/IMG_0144-150x150.jpg" alt="It Works!" width="150" height="150" /></a>Currently the nearly-finished EQ is still sitting in my vice. I got a replacement capacitor but the audio is still muted and noisy, something I suspect is due to the repeated soldering and de-soldering of the audio and power leads. I've decided I'm going to get some headers to connect the audio and power leads to the PCB for easy removal. But taking a 2 hour, $4 trip to Jaycar for $1 of parts isn't high on my priorities. So I'm currently trying to decide what my next project will be, and what parts I need to get.</p>
]]></content:encoded>
			<wfw:commentRss>http://sync-signal.com/2009/10/graphic-equaliser-pt1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Undrawing 250709.6</title>
		<link>http://sync-signal.com/2009/08/undrawing-250709-6/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sync-signal.com/2009/08/undrawing-250709-6/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 08:00:57 +0000</pubDate>
		<dc:creator>xin</dc:creator>
				<category><![CDATA[Live Coding]]></category>
		<category><![CDATA[Fluxus]]></category>
		<category><![CDATA[Undrawing]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://sync-signal.com/?p=6</guid>
		<description><![CDATA[
HD Video from the performance on the 25th July 2009.
For more see www.undrawing.org
]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="309" 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=6137366&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="550" height="309" src="http://vimeo.com/moogaloop.swf?clip_id=6137366&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>HD Video from the performance on the 25th July 2009.</p>
<p>For more see <a title="www.undrawing.org" href="http://www.undrawing.org" target="_blank">www.undrawing.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sync-signal.com/2009/08/undrawing-250709-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
