<?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>Marc Nostromo</title>
	<atom:link href="http://www.marc-nostromo.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.marc-nostromo.com</link>
	<description>A view askew on music technology</description>
	<lastBuildDate>Wed, 24 Apr 2013 08:06:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Some more monotron examples</title>
		<link>http://www.marc-nostromo.com/?p=237</link>
		<comments>http://www.marc-nostromo.com/?p=237#comments</comments>
		<pubDate>Wed, 24 Apr 2013 08:06:00 +0000</pubDate>
		<dc:creator>nostromo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.marc-nostromo.com/?p=237</guid>
		<description><![CDATA[I&#8217;ve been upgrading my monotron upgrade slowly and it&#8217;s getting to a nice place. So far it&#8217;s got: One additional Digital oscillator with several waves and some dirty aliasing tricks Digital oscillator octave setting (with respect to the analog one) &#8230; <a href="http://www.marc-nostromo.com/?p=237">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.marc-nostromo.com/wp-content/uploads/2013/04/Screen-shot-2013-04-24-at-09.55.31.png"><img class="aligncenter size-full wp-image-238" alt="Screen shot 2013-04-24 at 09.55.31" src="http://www.marc-nostromo.com/wp-content/uploads/2013/04/Screen-shot-2013-04-24-at-09.55.31.png" width="579" height="192" /></a></p>
<p>I&#8217;ve been upgrading my monotron upgrade slowly and it&#8217;s getting to a nice place.</p>
<p>So far it&#8217;s got:</p>
<ul>
<li>One additional Digital oscillator with several waves and some dirty aliasing tricks</li>
<li>Digital oscillator octave setting (with respect to the analog one)</li>
<li>Control over whether the analog oscillator gets trigger or not</li>
<li>One envelope with A/D/S/R</li>
<li>Envelope -&gt; VCF mode</li>
<li>Envelope -&gt; Digital oscillator mod through a &#8220;gater&#8221; transformation ( a lot like what the anushri proposes)</li>
</ul>
<p>I still have to provide some functionality with respect to tuning (fine tune / pitch bend / portamento), VCF key tracking and possibly a noise oscillator and it&#8217;s going to be a wrap !</p>
<p>Here&#8217;s some more demos in the mean time:</p>
<iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F88247114"></iframe>
<iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F89173975"></iframe>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marc-nostromo.com/?feed=rss2&#038;p=237</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding extra oscillators to the Monotron</title>
		<link>http://www.marc-nostromo.com/?p=229</link>
		<comments>http://www.marc-nostromo.com/?p=229#comments</comments>
		<pubDate>Sun, 31 Mar 2013 13:24:29 +0000</pubDate>
		<dc:creator>nostromo</dc:creator>
				<category><![CDATA[DIY-Synths]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Tinkering]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[midi]]></category>
		<category><![CDATA[monotron]]></category>
		<category><![CDATA[teensy]]></category>

		<guid isPermaLink="false">http://www.marc-nostromo.com/?p=229</guid>
		<description><![CDATA[In my previous post, I&#8217;ve explained how to add midi control to the monotron&#8217;s pitch, gate and frequency cut-off using a Teensy chip. The good news is that the Teensy&#8217;s got plenty of raw power left leaving room for extra &#8230; <a href="http://www.marc-nostromo.com/?p=229">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.marc-nostromo.com/wp-content/uploads/2013/03/64377_366418110140592_1180467240_n-1.jpg"><img class="size-medium wp-image-230 alignleft" alt="64377_366418110140592_1180467240_n-1" src="http://www.marc-nostromo.com/wp-content/uploads/2013/03/64377_366418110140592_1180467240_n-1-300x300.jpg" width="300" height="300" /></a>In my <a title="MIDI control for the Monotron using a Teensy 3.0" href="http://www.marc-nostromo.com/?p=185">previous post</a>, I&#8217;ve explained how to add midi control to the monotron&#8217;s pitch, gate and frequency cut-off using a Teensy chip.</p>
<p>The good news is that the Teensy&#8217;s got plenty of raw power left leaving room for extra processing.</p>
<p>My first upgrade plan was to add an extra oscillator, generated by the Teensy, that would then be fet inside the monotron through its auxiliary port.</p>
<p>Since the Teensy is already the master controller for the monotron, the extra oscillator could easily be synchronised from the same midi control. I had an extra DAC output ready to generate a 12-bit signal out of it, it was time to try it out.</p>
<p>The aux input from the monotron is an interesting beast. It&#8217;s worthwhile to feed it with different signal at different gains and look at what happens.</p>
<p>Depending on how hard you drive it, two things are going to happen: first it overdrives naturally, which shapes whatever you put through it but, also, it will &#8216;choke&#8217; the resonance of the filter making it nearly non-existing. You can think of it as the input signal taking all the headroom of the audio path, leaving no room for the resonance to move freely and add its own bite. The first one is highly desirable while overdoing the second one isn&#8217;t. I found in the end that using a 33k resistor gave me a good balance between overdrive and resonance choke.</p>
<p>From then on, it was just a matter of programming. I lifted my dirty digital oscillators from the <a title="The Arduino Piano Squealer Synth" href="http://www.marc-nostromo.com/?page_id=14">old arduino piano squealer</a> (thank got for gcc-based embedded and c++) and wired the midi control so that the oscillators from the teensy and the monotron&#8217;s internal one followed the same gate and pitch.</p>
<p>Here&#8217;s a quick take on how it sounds:</p>
<iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F85737062"></iframe>
<p>Next: Envelope and more oscillator controls !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marc-nostromo.com/?feed=rss2&#038;p=229</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MIDI control for the Monotron using a Teensy 3.0</title>
		<link>http://www.marc-nostromo.com/?p=185</link>
		<comments>http://www.marc-nostromo.com/?p=185#comments</comments>
		<pubDate>Thu, 21 Mar 2013 09:28:10 +0000</pubDate>
		<dc:creator>nostromo</dc:creator>
				<category><![CDATA[DIY-Synths]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Tinkering]]></category>
		<category><![CDATA[midi]]></category>
		<category><![CDATA[monotron]]></category>
		<category><![CDATA[teensy]]></category>

		<guid isPermaLink="false">http://www.marc-nostromo.com/?p=185</guid>
		<description><![CDATA[This is a description of how you can easily add MIDI to a Korg Monotron using a Teensy 3.0. The objective here is twofold: First to provide an easy way to control the Monotron&#8217;s pitch and filter cut-off via MIDI, then &#8230; <a href="http://www.marc-nostromo.com/?p=185">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.marc-nostromo.com/wp-content/uploads/2013/03/IMG_0002.jpg"><img class=" wp-image-199 alignleft" alt="IMG_0002" src="http://www.marc-nostromo.com/wp-content/uploads/2013/03/IMG_0002.jpg" width="360" height="247" /></a>This is a description of how you can easily add MIDI to a Korg Monotron using a <a href="http://www.pjrc.com/store/teensy3.html">Teensy 3.0</a>.</p>
<p>The objective here is twofold: First to provide an easy way to control the Monotron&#8217;s pitch and filter cut-off via MIDI, then provide an easy open-source extension framework to the Monotron&#8217;s capabilities using the Teensy as main MCU.</p>
<p>Since I&#8217;m relatively new to this topic, I&#8217;ll also try to add extensive information on the process so that it can hopefully help people in the same situation.</p>
<p>I&#8217;m extremely grateful to the people that directly &#8211; or indirectly &#8211; helped me to achieve this through thorough documentation of their projects or by answering my noobish question. Olivier Gillet (<a href="http://mutable-instruments.net/">Mutable Instrument</a>), Paul Maddox (<a href="http://www.vacoloco.net/">Vaco Loco</a>) and Tony Hardie-Bick and Collin Cunningham &#8211; A huge thanks to all of you.</p>
<p>If you know Teensy/Arduino and basic electronics, you should directly grab the schematics and the teensy code over <a href="http://www.marc-nostromo.com/wp-content/uploads/2013/03/monotron_control.zip">here</a>.</p>
<h3>Introduction</h3>
<p>Surprisingly, although the schematics for the monotron <a href="https://www.google.com/search?q=monotron+schematic+korg&amp;hl=en&amp;safe=off&amp;tbm=isch&amp;tbo=u&amp;source=univ&amp;sa=X&amp;ei=ksxKUYnyNY_jtQae9IGwBA&amp;ved=0CEAQsAQ&amp;biw=1276&amp;bih=639">have been out for a long time</a>, most of the monotron &#8216;hacks&#8217; I could find are pretty limited. Either they are intended to <a href="http://www.dinsync.info/2010/06/how-to-modify-korg-monotron.html">CV control </a>which &#8211; not having any modular &#8211; didn&#8217;t appeal to me much or provide a simple, <a href="http://beatnic.jp/manuals/monotron-midi/midi-kit.html">direct midi control of pitch</a>. On top of that, all MIDI kits are closed source so people can&#8217;t start building on the existing expertise.</p>
<p>After trying to dissect the ways the shruti-1 worked, it seemed obvious that when driven from an MCU, controlling an analog oscillator/filter could go a lot further than a simple one to one MIDI mapping and I decided to explore the possibilities this cheap unit could deliver.</p>
<h3>Out of the box</h3>
<p>The first thing to do is to allow some connection to the soldering points Korg gently left for us to use as external control.  The easiest way to do that is to solder a series of cable to some kind of breakout box that will allow us to plug or unplug the controlling MCU at will.</p>
<p>This is an extremely well documented video from Collin Cunningham explaining how to do this, so I won&#8217;t re-explain it all. After doing this, you will have four wires coming out of the monotron, allowing you to connect an external circuit to pitch control, cut-off control, gate and ground. Even better, this is completely non-destructive &#8211; the monotron will continue to work exactly like before.</p>
<p><iframe width="620" height="349" src="http://www.youtube.com/embed/KX-IOYVBwUg?feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<h3>Choosing the MCU</h3>
<p>When selecting the unit that will drive the monotron, I wanted to have something as simple as possible. There are tons of them out there but I wanted something that I could program easily and bootstrap quickly in order to concentrate on the task itself. The arduino could have been a choice but the Teensy 3.0 looked even more appealing. Extremely small form factor, cheap, runs up to 96Mhz and, most importantly, has a build in usb class compliant MIDI mode that provides <a href="http://www.pjrc.com/teensy/td_midi.html">direct MIDI compatibility</a> without having to do any work.</p>
<h3>Generating signals</h3>
<p>To control the monotron, we need to generate 3 different signals: one for the <strong>Gate</strong> (that lets the oscillator signal feed the filter), one for the <strong>pitch</strong> of the oscillator, and one for the <strong>filter cut-off frequency</strong>. All those signal are within the range of 0v-5v which is precisely the type of voltage the teensy can deal with.</p>
<p>The gate is the easiest one. It expects 5v to open the gate and 0v to close it, which is exactly what the Teensy&#8217;s digital pin will do.</p>
<p>For the pitch and filter cut-off signals, we need to generate a DC signal that varies somewhere between 0v and 5v &#8211; depending on how high we want the pitch/filter frequency to be. To do so, we have two alternative: either use the onboard PWM of the teensy (see <a href="http://provideyourown.com/2011/analogwrite-convert-pwm-to-voltage/">here</a> for a description on how PWM works) or use an additional DAC. The onboard PWM is an easy option, but it is restricted to a range of 255 values. This is somehow fine for the filter cut-off but won&#8217;t be very precise for pitch tracking. One can then decide to either use a reduced octave range and use PWM or use a higher precision DAC.</p>
<p>Not knowing upfront how much tweaking would be needed to ensure correct pitch tracking, I decided to use a 12-bit DAC. More so, since I was going to have a DAC, I decided to use  a <a href="http://ww1.microchip.com/downloads/en/devicedoc/21953a.pdf">mcp4822</a> that provides 2 seprate 12-bit dac in one chip. That way I can use the second channel to generate digital audio from the Teensy itself and add extra digital oscillators to the monotron using the same setup.</p>
<h3>Making the connections</h3>
<h5>1. The Gate:</h5>
<p>As we saw already, connecting the gate a as simple as connecting one digital pin of the teensy to the gate input in our monotron breakout-box. In our case, we&#8217;ll choose the teensy&#8217;s pin 5 to control.</p>
<p><a href="http://www.marc-nostromo.com/wp-content/uploads/2013/03/Screen-shot-2013-03-21-at-08.58.22.png"><img class="aligncenter size-full wp-image-202" alt="Monotron Gate Control" src="http://www.marc-nostromo.com/wp-content/uploads/2013/03/Screen-shot-2013-03-21-at-08.58.22.png" width="550" height="48" /></a></p>
<h5>2. The Filter cut-off</h5>
<p>Since we decided to control the cut-off using PWM, we need to take care of the fact that we will generate a high frequency variable pulse signal that we want to somehow &#8216;average&#8217; to a constant DC value using a low-pass filter.</p>
<p>It is usual to use a fairly high carrier frequency for the PWM (in this case I&#8217;m using 31250 Hz on the teensy&#8217;s Pin 3) and apply changes to it at a much lower frequency (we&#8217;ll use 800Hz) so that the high frequencies of the carrier can be attenuated enough through a simple passive RC filter. Looking at the schematics, this is achieved by the R3 and C1, which give us a low pass with a cut-off frequency of about 723Hz.</p>
<p>Also, the monotron doesn&#8217;t use the full 0v-5v range for CV control of the cut-off but a lower range. Since the Teensy can only generate either 0v or 5v, we&#8217;ll need to lower that voltage using a <a href="http://en.wikipedia.org/wiki/Voltage_divider#Resistive_divider">voltage divider</a>. This is achieved by R1/R2 which will divide by a factor of two the voltage generated by the Teensy.</p>
<p>Finally, we&#8217;ll need somehow to accomodate the monotron&#8217;s expectation in terms of impedance. Looking at its schematics, the voltage we&#8217;ll apply is taking an equivalent path as the LFO cut-off control and since that one is regulated through <em>mR44</em> (<em>I&#8217;m using the m prefix here because I&#8217;m referring to the monotron&#8217;s schematics</em>), we&#8217;ll mimic this behavior and add a 10K (R4) resistor too.</p>
<p><a href="http://www.marc-nostromo.com/wp-content/uploads/2013/03/Screen-shot-2013-03-21-at-09.01.29.png"><img class="aligncenter size-full wp-image-204" alt="monotron_cutoff" src="http://www.marc-nostromo.com/wp-content/uploads/2013/03/Screen-shot-2013-03-21-at-09.01.29.png" width="550" height="118" /></a></p>
<h5>Pitch</h5>
<p>Since we decided to control the Pitch using a DAC, we won&#8217;t have PWM components in it but we still might have some high frequency noise liked to the DAC&#8217;s operating frequency (44.1Khz). To be sure we have a clean signal, we will filter the DAC&#8217;s output pretty much the same way as the filter cut-off,provide a stable output voltage using R5/C2. Since the pitch is also fed to the monotron the same way as the internal LFO is and we&#8217;ll need to provide a resistor equivalent to <i>mR4</i>, which in our case is R6.</p>
<p><a href="http://www.marc-nostromo.com/wp-content/uploads/2013/03/Screen-shot-2013-03-21-at-09.05.06.png"><img class="aligncenter size-full wp-image-205" alt="Pitch control" src="http://www.marc-nostromo.com/wp-content/uploads/2013/03/Screen-shot-2013-03-21-at-09.05.06.png" width="367" height="195" /></a></p>
<h3>Rough Control</h3>
<p>At this point, we have pretty much all of our schematics ready. All we need is to add the SPI connection between the teensy and the mcp4822 (so we can control it) and add the various ground and 5V connection.</p>
<p style="text-align: center;"><a href="http://www.marc-nostromo.com/wp-content/uploads/2013/03/schematics_1024.png"><img class="aligncenter  wp-image-208" alt="schematics_1024" src="http://www.marc-nostromo.com/wp-content/uploads/2013/03/schematics_1024.png" width="558" height="427" /></a></p>
<p>&nbsp;</p>
<h3>Calibrating</h3>
<p>We can now start programming the Teensy to send values to the monotron&#8217;s pitch and cut-off. However, unless you are extremely lucky, it is most likely going to be out of tune since you don&#8217;t know what value you need to set the DAC to in order to have  the monotron to produce semi-tones. We end up with something that reacts to not but isn&#8217;t properly tuned like this:</p>
<iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F83188079"></iframe>
<p>So we need a way to calibrate our DAC output.</p>
<p>The easiest way I found was to use Live 9 and comparing the monotron&#8217;s output with an instance of Operator using 4 sine one octave apart each, playing a single constant C note. This would lead to a nice identifiable spectrum location</p>
<p><a href="http://www.marc-nostromo.com/wp-content/uploads/2013/03/Screen-shot-2013-03-21-at-09.28.38.png"><img class="aligncenter size-full wp-image-210" alt="Operator Spectrum" src="http://www.marc-nostromo.com/wp-content/uploads/2013/03/Screen-shot-2013-03-21-at-09.28.38.png" width="519" height="252" /></a></p>
<p>Since I can use MIDI to control the monotron, I generated C notes octave apart and used the pitch bend to calibrate the note frequencies until the spectrums matched nicely</p>
<p><a href="http://www.marc-nostromo.com/wp-content/uploads/2013/03/Screen-shot-2013-03-21-at-09.39.04.png"><img class="aligncenter size-full wp-image-211" alt="Screen shot 2013-03-21 at 09.39.04" src="http://www.marc-nostromo.com/wp-content/uploads/2013/03/Screen-shot-2013-03-21-at-09.39.04.png" width="522" height="250" /></a></p>
<p>This method has the double advantage of providing a direct &#8216;rough&#8217; visual cue of where the peaks are located but also generate <a href="http://www.animations.physics.unsw.edu.au/jw/beats.htm">beats</a> between the monotron&#8217;s oscillator and Operator&#8217;s when the frequency gets closer providing a more precise cue as how close the frequencies are.</p>
<p>After calibrating the DAC&#8217;s output that way, we end up with a nice tuned range across 4 octaves (C0-C4)</p>
<iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F83923308"></iframe>
<p>The good news is that the voltage control needed by the monotron is nicely linear and there&#8217;s no real need to start correcting the pitch inside the teensy. Note also that since the pitch and cut-off knob of the monotron are still active, the result is going to be dependent of those. I end up setting the VCO pitch pot somewhere around 9 o&#8217;clock and the cut-off at 12 o&#8217;clock.</p>
<p>In the end, we have a nicely controllable unit that is completely sequencable from within any MIDI sequencer.</p>
<iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F84077901"></iframe>
<h3>Code and schematics</h3>
<p>I&#8217;ve made an archive containing both the schematics and the teensy code. The teensy code is separated in two different file. One &#8211; hardware.ino &#8211; containing the code dealing with the hardware setup and Pin/DAC/PWM control. The other &#8211; monotron_control.ino &#8211; hooks up the midi received by the teensy&#8217;s usb port to the hardware control. Hopefully it&#8217;s simple enough to be understood but if needed, I might go more in detail in a later post.</p>
<p>You can grab a zip file over <a title="Here" href="http://www.marc-nostromo.com/wp-content/uploads/2013/03/monotron_control.zip">here</a></p>
<h3>Extension</h3>
<p>From here, you got software control over pitch and cut-off. It&#8217;s easy to add more code to provide various LFO&#8217;s, envelopes or use the first DAC channel to generate additional oscillators fed to the monotron through the aux input&#8230;.</p>
<p>Enjoy !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marc-nostromo.com/?feed=rss2&#038;p=185</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RPi Turbo Update</title>
		<link>http://www.marc-nostromo.com/?p=175</link>
		<comments>http://www.marc-nostromo.com/?p=175#comments</comments>
		<pubDate>Thu, 20 Sep 2012 18:33:51 +0000</pubDate>
		<dc:creator>nostromo</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[raspberry pi]]></category>

		<guid isPermaLink="false">http://www.marc-nostromo.com/?p=175</guid>
		<description><![CDATA[In my previous post, I reported my investigation on building a synth on the RPi and although for the price it was amazing, the performance didn&#8217;t go near what the priciest Beagleboard could deliver. However today got anounced a &#8216;Turbo &#8230; <a href="http://www.marc-nostromo.com/?p=175">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>In my <a title="That Raspberry Pi Synth" href="http://www.marc-nostromo.com/?p=158">previous post</a>, I reported my investigation on building a synth on the RPi and although for the price it was amazing, the <a title="Beagleboard audio latency and performances" href="http://www.marc-nostromo.com/?p=57">performance</a> didn&#8217;t go near what the priciest Beagleboard could deliver. However today got anounced a &#8216;Turbo mode&#8217; <a href="http://www.raspberrypi.org/archives/2008">update</a> for RPi that, amongst other things, allows automatic overclocking and better handling of Audio/USB. And boy they didn&#8217;t lie !</p>
<h3>1. Built-in Audio:</h3>
<p>Pre-Turbo</p>
<ul>
<li> 512 samples &#8211; 4 voices</li>
<li>256 samples &#8211; 2 voices</li>
</ul>
<p>Post-Turbo</p>
<ul>
<li>512 samples &#8211; 11 voices</li>
<li>256 sampes &#8211; 7 voices</li>
</ul>
<p>The default device still won&#8217;t go under 256 for the buffer samples but what a difference. The audio is still a little garbagy (due to it&#8217;s architecture) but becomes totally usable.</p>
<h3>2. USB Audio:</h3>
<p>Pre-Turbo</p>
<ul>
<li>512 samples – 5 voices</li>
<li>256 samples – 4 voices</li>
<li>128 samples – 2 voices</li>
<li>64 samples – 1 voice</li>
</ul>
<p>Post-Turbo</p>
<ul>
<li>512 samples – 12 voices</li>
<li>256 samples – 8 voices</li>
<li>128 samples – 5 voices</li>
<li>64 samples – 3 voice</li>
<li>45 samples &#8211; 1 voice</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.marc-nostromo.com/?feed=rss2&#038;p=175</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>LittleGPTracker on RPi</title>
		<link>http://www.marc-nostromo.com/?p=169</link>
		<comments>http://www.marc-nostromo.com/?p=169#comments</comments>
		<pubDate>Mon, 17 Sep 2012 07:58:29 +0000</pubDate>
		<dc:creator>nostromo</dc:creator>
				<category><![CDATA[DIY-Synths]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[littlegptracker]]></category>
		<category><![CDATA[raspberry pi]]></category>

		<guid isPermaLink="false">http://www.marc-nostromo.com/?p=169</guid>
		<description><![CDATA[The next logical step after finishing the Raspberry Synth port of last week was to give a serious go at my game console-oriented tracker, LittleGPTracker. Since the code base isn&#8217;t that different -it&#8217;s a predecessor of the synth architecture but share &#8230; <a href="http://www.marc-nostromo.com/?p=169">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>The next logical step after finishing the <a title="That Raspberry Pi Synth" href="http://www.marc-nostromo.com/?p=158">Raspberry Synth</a> port of last week was to give a serious go at my game console-oriented tracker, <a href="http://www.littlegptracker.com">LittleGPTracker</a>. Since the code base isn&#8217;t that different -it&#8217;s a predecessor of the synth architecture but share most of the basic platform adapters- I wasn&#8217;t expecting any major troubles. Indeed, beside SDL not wanting to get initialised when the program is started from a remote ssh session &#8211; unless you a root &#8211; ; the only glitch was that I never had tried to use my SDL display routine to cope with a 1080p display (since the app is originally targeted at a 320&#215;240 resolution) and a couple of small cleanups have been necessary so offsets were properly dealt with.</p>
<p>Here it is, in all of its SCREENMULT=4 glory</p>
<p><a href="http://www.marc-nostromo.com/wp-content/uploads/2012/09/1347867085118.jpg"><img class="aligncenter size-large wp-image-170" title="1347867085118" src="http://www.marc-nostromo.com/wp-content/uploads/2012/09/1347867085118-1024x717.jpg" alt="" width="620" height="434" /></a></p>
<p>Once again, the built audio proves to be utter rubbish but hooking my cheap behringer interface solved the audio glitches.</p>
<p>I haven&#8217;t tried midi out yet and something with hooking up joysticks seems kind of fiddly. Beside that, the app seems to run the 8 mono channels without any troubles. Yeah for lo-fi music engines.</p>
<p><a href="http://www.marc-nostromo.com/wp-content/uploads/2012/09/1347868247413.jpg"><img class="aligncenter size-large wp-image-172" title="1347868247413" src="http://www.marc-nostromo.com/wp-content/uploads/2012/09/1347868247413-1024x684.jpg" alt="" width="620" height="414" /></a></p>
<p>If you want a premature ghetto version, hit me up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marc-nostromo.com/?feed=rss2&#038;p=169</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>That Raspberry Pi Synth</title>
		<link>http://www.marc-nostromo.com/?p=158</link>
		<comments>http://www.marc-nostromo.com/?p=158#comments</comments>
		<pubDate>Sun, 09 Sep 2012 15:28:29 +0000</pubDate>
		<dc:creator>nostromo</dc:creator>
				<category><![CDATA[DIY-Synths]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[embedded linux]]></category>
		<category><![CDATA[raspberry pi]]></category>
		<category><![CDATA[synthesis]]></category>

		<guid isPermaLink="false">http://www.marc-nostromo.com/?p=158</guid>
		<description><![CDATA[So, after all the exposure of the create digital music post, it is high time I added a little bit of background to the Raspberry Pi-MS Korg combo. I really should have done that before I leaked the video anywhere but &#8230; <a href="http://www.marc-nostromo.com/?p=158">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>So, after all the exposure of the <a href="http://createdigitalmusic.com/2012/09/the-awesome-new-korg-not-from-korg-raspberry-pi-plus-ms-20-controller-making-dreams-reality/">create digital music post</a>, it is high time I added a little bit of background to the Raspberry Pi-MS Korg combo. I really should have done that before I leaked the video anywhere but ho well, timing was also good with the korg announcement.</p>
<h3>So, what&#8217;s that thing exactly ?</h3>
<p><a href="http://www.marc-nostromo.com/wp-content/uploads/2012/09/ms20pi.jpeg"><img class="aligncenter size-full wp-image-159" title="ms20pi" src="http://www.marc-nostromo.com/wp-content/uploads/2012/09/ms20pi.jpeg" alt="" width="640" height="428" /></a></p>
<p>I&#8217;ve been, over time, expanding slowly a new framework for writing sound tools. Sequencers, synthesizers, midi processor.. anything. You could see it as my own little supercollider. Within the framework you can code sound modules (oscillators/filters/effects/..), connect them together in a nord modular/reactor fashion and map controls from those modules to midi. The swiss-knife army tool of the trade. With emphasis on portability. Because I&#8217;m extremely interested in embedded platforms and odd/cheap units.</p>
<p><iframe width="620" height="349" src="http://www.youtube.com/embed/WFPlW6DEf-8?feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>The synth demonstrated in this video is just one application of this framework, ported to the Raspberry Pi.</p>
<p>It&#8217;s a simple 2 Osc/2 Filter/1 Envelope graph with proper MIDI mapping to correspond to <em>some</em> of the MS-20 controller layout. It&#8217;s interesting to see how important and strong the MS-20 legacy still is. I could have done the exact same demo with a <a href="http://www.keymusic.com/gfx_productcode/XL/118885/Akai-MPK-Mini.jpg">MPK mini</a>, but I&#8217;m sure it wouldn&#8217;t have the impact this one had. The thing about this controller, beside it&#8217;s heritage, is that is implies the promise of hours of fiddling and finding unique sounds. It is something you want to bond with and spend time with, much to the opposite of all generic controller most manufacturers do now. Providing a screen-less software back-end to such a controller effectively completes that feeling of being in presence of a physical loving machine.</p>
<h3>Porting to the raspberry pi</h3>
<p>Compiling for the RPi was the easiest thing ever. Installing the image is super easy and after connecting it to a wired network and enabling sshd from the install menu, it was up and running. I made the mistake at first to try to cross-compile it as I usually do but the toolchain misses a lot of headers and libraries (SDL/ASLA/Jack) and so I reverted to compiling on the board itself which, after a few usual apt-get and selecting a debian build in cmake went as a breeze. It&#8217;s super slow when trying to optimise the code (about 30 minutes while on my old mac it takes about 20 seconds) but other than waiting, there was no headache to get a running executable.</p>
<h3>Performances</h3>
<p>I was eager to test the performance of the RPi. It is a lot cheaper than the Beagleboard, my previous target for linux-based embedded synth, and possibly less performant so I was wondering what would be possible to do with it. Of course the minimum latency is heavily going to depend on what type of synth you&#8217;re trying to run and -although the architecture of the synth is pretty simple- the two filters are quite big models so it&#8217;s a fairely &#8216;heavy&#8217; synth. For comparison, I&#8217;ve already gathered the maximum number of voices depending on the sample buffer settings for the beagleboard over <a title="Beagleboard audio latency and performances" href="http://www.marc-nostromo.com/?p=57">here</a>.</p>
<p><strong>HDMI out:</strong></p>
<p><strong></strong>My first test was simply to use the ALSA default driver. It won&#8217;t accept latencies below 256 samples which isn&#8217;t super good but a 6 msecs latency is not that bad. The results are:</p>
<ul>
<li>512 samples &#8211; 4 voices</li>
<li>256 samples &#8211; 2 voices</li>
</ul>
<div> <strong>USB Audio:</strong></div>
<div></div>
<div>Connecting a cheap USB audio also works out of the box</div>
<div>
<ul>
<li>512 samples &#8211; 5 voices</li>
<li>256 samples &#8211; 4 voices</li>
<li>128 samples &#8211; 2 voices</li>
<li>64 samples &#8211; 1 voice</li>
</ul>
</div>
<h3>Conclusion</h3>
<p>The RPi is a very decent plaform and provides a great environment out of the box to develop audio applications. Sure, it won&#8217;t be able to support a full polyphonic top of the notch soft synth ala u-He but it has plenty of resources to do a very powerful monosynth, polyphonic cheap synths or trackers (my next effort will be to fully port <a href="http://www.littlegptracker.com">LittleGPTracker</a> on it).</p>
<p>As such it will surely do some concurrence to the arduino/at mega based world also. It doesn&#8217;t have yet the ease of connection to external digital/analog environment as the arduino does but I guess it&#8217;s just a matter of time before ladyada &amp; sparkfun rolls simple shields to enable it. The beagleboard stays a also decent contender for bigger project but at the price of the RPi, it&#8217;s a steal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marc-nostromo.com/?feed=rss2&#038;p=158</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Sunday doodle with two ATmega and a pig</title>
		<link>http://www.marc-nostromo.com/?p=134</link>
		<comments>http://www.marc-nostromo.com/?p=134#comments</comments>
		<pubDate>Sun, 22 Jul 2012 12:22:13 +0000</pubDate>
		<dc:creator>nostromo</dc:creator>
				<category><![CDATA[DIY-Synths]]></category>
		<category><![CDATA[Etudes]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[legovox]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[littlegptracker]]></category>
		<category><![CDATA[puredyne]]></category>

		<guid isPermaLink="false">http://www.marc-nostromo.com/?p=134</guid>
		<description><![CDATA[Having spent some time yesterday on tuning my synth filter code for my arduino legovox, I decided to see how the combination of two radically different ATmega based synth (my own squealer and the Shruti-1) would sound: It was time for a &#8230; <a href="http://www.marc-nostromo.com/?p=134">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.marc-nostromo.com/wp-content/uploads/2012/07/1342957875107.jpg"><img class="aligncenter size-large wp-image-135" title="1342957875107" src="http://www.marc-nostromo.com/wp-content/uploads/2012/07/1342957875107-1024x818.jpg" alt="" width="620" height="495" /></a></p>
<p>Having spent some time yesterday on tuning my synth filter code for my <a title="Extending the midivox" href="http://www.marc-nostromo.com/?p=119">arduino legovox</a>, I decided to see how the combination of two radically different ATmega based synth (my own squealer and the <a href="http://mutable-instruments.net/shruthi1/">Shruti-1</a>) would sound: It was time for a quick sunday sound doodle using exclusively those with the <a href="http://www.littlegptracker.com">piggy</a> under pure dyne for sequencing and drum.</p>
<p>The result is quite nice.. the shruti-1 has some clear quality that mixes well with the rougher grittier sound of the squealer. Once again, I&#8217;m baffled by the feeling of control analog pots give when tweaking sound.. even though it&#8217;s exclusively digital, it feels like it&#8217;s not</p>
<iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F53698313"></iframe>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marc-nostromo.com/?feed=rss2&#038;p=134</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Extending the midivox</title>
		<link>http://www.marc-nostromo.com/?p=119</link>
		<comments>http://www.marc-nostromo.com/?p=119#comments</comments>
		<pubDate>Mon, 09 Jul 2012 21:56:48 +0000</pubDate>
		<dc:creator>nostromo</dc:creator>
				<category><![CDATA[DIY-Synths]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[legovox]]></category>
		<category><![CDATA[midvox]]></category>

		<guid isPermaLink="false">http://www.marc-nostromo.com/?p=119</guid>
		<description><![CDATA[The arduino never fails to suprise me. Even for someone like me that has close to zilch knowledge about practical electronics, it is so easy to grasp that the possibilities are mind botteling. In a sense, I kind of find &#8230; <a href="http://www.marc-nostromo.com/?p=119">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>The arduino never fails to suprise me. Even for someone like me that has close to zilch knowledge about practical electronics, it is so easy to grasp that the possibilities are mind botteling. In a sense, I kind of find the same flexibility I experience developing software. If you got a bit of luck, it&#8217;s just a question of assembling the right pieces together and you get an amazing result.</p>
<p>Thinkering with the idea of using the arduino as a microcontroller to deal with inputs and display for a beagleboard synth, I decided to try start by putting together a simple <a href="http://www.adafruit.com/products/714">LCD shield</a> from ADAfruit. I still can&#8217;t solder for shit but <a href="http://pinterest.com/dodisign/">Dorothée</a>&#8216;s really got into it and is very gifted for it.</p>
<p><a href="http://www.marc-nostromo.com/wp-content/uploads/2012/07/index.jpeg"><img class="aligncenter size-full wp-image-120" title="index" src="http://www.marc-nostromo.com/wp-content/uploads/2012/07/index.jpeg" alt="" width="400" height="308" /></a></p>
<p>Apart from being a nice exercise in soldering and getting used to arduino i/o&#8217;s, it provides a convinent way to display information (I&#8217;m pretty sure the LCD is exactly the same as the <a href="http://mutable-instruments.net/shruthi1/">shruti-1</a>) and has a &#8216;D-pad&#8217; + select which &#8211; even though they are very poor in the shield itself- make an extremely cheap prototype to test what kind of UI you could develop if you were to use and arduino for control.</p>
<p>Digging through the information about the LCD, I noticed that adafruit was bragging about the shield only taking 2 pins of the arduino (because it uses a dedicated processor that communicates with the arduino using it&#8217;s <a href="http://en.wikipedia.org/wiki/I%C2%B2C">i2c</a> port) and it made me think about what I could do with the other pins. The LCD shield uses two analog pins from the arduino: 4 &amp; 5. So it leaves a lot of room to play with.</p>
<p>The first thing I thought was that I could easily wire 4 additional pots and fiddle around the <a href="http://code.google.com/p/tinkerit/wiki/Auduino">auduino</a> structure. But then I thought I could dig what pins <a href="http://narbotic.com/projects/midivox/">midivox</a> shield used and discovered that not only it worked on a total different set of pins than the LCD, it still left all of the analog pins completely available.</p>
<p><a href="http://www.marc-nostromo.com/wp-content/uploads/2012/07/MidiVoxPCB_purple800w.png"><img class="aligncenter size-medium wp-image-121" title="MidiVoxPCB_purple800w" src="http://www.marc-nostromo.com/wp-content/uploads/2012/07/MidiVoxPCB_purple800w-300x220.png" alt="" width="300" height="220" /></a></p>
<p>Even better, when Collin designed the midivox, he added a serie of hole connectors wired to the original arduino pins so that you can hook them up even when the shield is strapped on the arduino.</p>
<p>The result is that it is actually completely straightforward to build a device combining the arduino, a LCD screen, an audio output a MIDI in/out in and 4 pots.</p>
<p>Add a few Lego Brick and you end up with this:</p>
<p><a href="http://www.marc-nostromo.com/wp-content/uploads/2012/07/319879_10151212921939478_331518418_n.jpeg"><img class="aligncenter size-medium wp-image-122" title="319879_10151212921939478_331518418_n" src="http://www.marc-nostromo.com/wp-content/uploads/2012/07/319879_10151212921939478_331518418_n-300x245.jpeg" alt="" width="300" height="245" /></a></p>
<p>So for about 80 bucks &#8211; if you are lazy and by the premade kit &#8211; you have a shell that can become</p>
<ul>
<li>A synth</li>
<li>A MIDI processor</li>
<li>Heck, even an Ableton remote</li>
</ul>
<p>If you think about making this from scratch, i.e. lying them part on a breadboard instead of using pre-made shield, you can also have a separate MIDI in &amp; out. Also, since the digital pins are unused, it is even thinkable to add a CV cutoff hack to a monotron and have an extremely cheap Digital/Analog powerhouse.</p>
<p>Once connected, all of the part work exactly as originally intended. MIDI works, the LCD works, the pots get read properly. So now it&#8217;s just a question of writing software and have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marc-nostromo.com/?feed=rss2&#038;p=119</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LittleGPTracker on the Beagleboard</title>
		<link>http://www.marc-nostromo.com/?p=104</link>
		<comments>http://www.marc-nostromo.com/?p=104#comments</comments>
		<pubDate>Sat, 19 May 2012 19:34:39 +0000</pubDate>
		<dc:creator>nostromo</dc:creator>
				<category><![CDATA[DIY-Synths]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[beagleboard]]></category>

		<guid isPermaLink="false">http://www.marc-nostromo.com/?p=104</guid>
		<description><![CDATA[Apparently there was interest in getting a LittleGPTracker version running on unix embedded board other than the game console. Good thing is: It took roughly 20 minutes to do. It&#8217;s not wired to midi at all but everything runs flawlessly &#8230; <a href="http://www.marc-nostromo.com/?p=104">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Apparently there was interest in getting a <a href="http://www.littlegptracker.com">LittleGPTracker</a> version running on unix embedded board other than the game console. Good thing is: It took roughly 20 minutes to do.</p>
<p style="text-align: center;"><a href="http://www.marc-nostromo.com/wp-content/uploads/2012/05/2012-05-19-21.21.44.jpg"><img class="alignnone size-medium wp-image-105" title="2012-05-19 21.21.44" src="http://www.marc-nostromo.com/wp-content/uploads/2012/05/2012-05-19-21.21.44-300x187.jpg" alt="" width="300" height="187" /></a></p>
<p style="text-align: center;"><a href="http://www.marc-nostromo.com/wp-content/uploads/2012/05/2012-05-19-21.21.18.jpg"><img class="alignnone size-medium wp-image-106" title="2012-05-19 21.21.18" src="http://www.marc-nostromo.com/wp-content/uploads/2012/05/2012-05-19-21.21.18-300x261.jpg" alt="" width="300" height="261" /></a></p>
<p>It&#8217;s not wired to midi at all but everything runs flawlessly at 17% cpu</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marc-nostromo.com/?feed=rss2&#038;p=104</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Embedded united &#8211; Controlling a beagleboard synth with an arduino</title>
		<link>http://www.marc-nostromo.com/?p=92</link>
		<comments>http://www.marc-nostromo.com/?p=92#comments</comments>
		<pubDate>Sun, 06 May 2012 15:27:18 +0000</pubDate>
		<dc:creator>nostromo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[beagleboard]]></category>

		<guid isPermaLink="false">http://www.marc-nostromo.com/?p=92</guid>
		<description><![CDATA[About a week ago, reading about the CCRMA satellite workshop on &#8220;Interactive design with open embedded computers&#8221;  - see here and here - made me realise I had to give a go at controlling my beagleboard hosted digital synth using Critter and Guitari&#8217;s Arduino pocket piano. The &#8230; <a href="http://www.marc-nostromo.com/?p=92">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>About a week ago, reading about the CCRMA satellite workshop on &#8220;Interactive design with open embedded computers&#8221;  - see <a href="http://steim.org/event/ccrma-invention-embedded-instrument-design/">here</a> and <a href="http://createdigitalmusic.com/2012/05/music-to-go-the-mobile-music-computer-renaissance-beagleboard-workshop-and-software/">here</a> - made me realise I had to give a go at controlling my beagleboard hosted <a href="http://www.marc-nostromo.com/?p=36">digital synth</a> using Critter and Guitari&#8217;s <a href="http://blog.makezine.com/2008/05/16/build-the-arduino-pocket/">Arduino pocket piano</a>.</p>
<p>The great thing about any arduino shield you buy &#8211; or any arduino based  project for that matter &#8211; is that in the end all you have is an empty hardware shell that you can reconfigure at will to serve other purposes through programming.<br />
If at first my interest for the arduino piano was to explore it as a <a href="http://www.marc-nostromo.com/?page_id=14">standalone synth module</a> and what type of synthesis you could do with such a basic configuration, nothing prevented me to use it as an interface to pick up the knobs and buttons value and send them to a more powerful synth engine &#8211; like the beagleboard.</p>
<p style="text-align: center;"><a href="http://www.marc-nostromo.com/wp-content/uploads/2012/05/P5033278.jpg"><img class="alignnone size-full wp-image-98" title="" src="http://www.marc-nostromo.com/wp-content/uploads/2012/05/P5033278.jpg" alt="" width="438" height="333" /></a></p>
<p><strong>But why?</strong></p>
<p>You may wonder why there could be any value to do such a thing. After all, the beagleboard is a potent little computer and plugging any usb MIDI controller just works outside of the box so you&#8217;ve got plenty of controlling options&#8230;</p>
<p>What suprised me the most when I developed the arduino squealer synth &#8211; and recently when playing with a home grown prototype of the <a href="http://www.youtube.com/watch?v=IwV-SKpQAak">audiono</a> - was that no matter how crude the synth engine was, the fact that you had fine control of the synthesis parameters made it extremely alive. As <a href="http://nostromo.noisepages.com/2009/07/02/lets-all-dump-midi/">I&#8217;ve written already before</a>, I find it extremely puzzling that in this age of  high tech computing where software companies put so much effort in developing complex synthesis techniques, nobody in the industry really cares that to interactively control these synth, everyone is pretty much limited to use the mouse or controllers that have 127 pathetic values.</p>
<p>Compared to that, the resolution of 1024 values that the arduino provides is a huge leap forward and allows a lot more exploration for subtle sweet spots.</p>
<p><strong>Connecting the boards</strong></p>
<p>Getting the arduino and the beagleboard to talk together isn&#8217;t a big deal. The arduino has an extremely widespread usb serial port and since the beagleboard runs a standard unix distribution, all you need is to install the<a href="http://elinux.org/index.php?title=BeagleBoard_with_Arduino&amp;oldid=83594"> FTDI drivers</a> for the serial port to appear. After that, it&#8217;s just a matter of having two piece of software (one on the arduino and one on the beagleboard) to agree on the way to communicate.</p>
<p>In order to make things simple, I chose a sub-optimal communication mechanism where the arduino would send text message on the serial line whenever the analog value of the potentiometer would change. Something like</p>
<blockquote><p>c0:1FF</p></blockquote>
<p>indicates the first potentiometer changed to the HEX value of 0x1FF.</p>
<p>In terms of communication it&#8217;s a bit of data overkill but using the fastest &#8216;safe&#8217; baud rate reported for the serial port &#8211; 115200 &#8211; it&#8217;s plenty enough for testing 3 pots. MIDI isn&#8217;t so much better anyway</p>
<p>On the other side, all beagleboard synth has to do is to open the serial line, listen to incoming data and map the pot value to the internal synth parameters.</p>
<p><strong>Self oscillating filter sweep</strong></p>
<p>To demonstrate the result, I&#8217;ve recorded sweeping the filter frequency of a self oscillating LPF using two setups:<br />
First using the MS-20 vst emulation inside Ableton Live and doing the sweep using a usb MIDI controller and then using the beagleboard synth controlled through the arduino pocket piano pots. You can clearly hear the stepping that occurs in the first one while the second one is completely clean. Even though the two filters are fairely different, the difference of behaviour in this case is exclusively due to the different resolution mechanism of the controller</p>
<iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F45407429"></iframe>
<iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F45407223"></iframe>
<p><strong>Conclusion</strong></p>
<p>So, if like me, one of your interest in making software run on embedded platform is to be able to interact with a synth in a more &#8216;physical&#8217; way and not standing behind a DAW with a mouse, having a &#8216;controller shield&#8217; coupled with the beagleboard make a LOT of sense (or have everything sitting tight together like the beaglebone) . For that reason, I&#8217;m eagerly waiting to see if Chris Randall&#8217;s <a href="http://www.analogindustries.com/blog/entry.php?blogid=1316213971302&amp;pg=11">BeepCat proposal</a> will ever see the day and, in the mean time, will work on adding a lcd display to the arduino so the beagleboard can display stuff.</p>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.marc-nostromo.com/?feed=rss2&#038;p=92</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
