<?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>meh &#187; guitar effects</title>
	<atom:link href="http://www.bonf.net/category/guitar-effects/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bonf.net</link>
	<description>-__-</description>
	<lastBuildDate>Sun, 11 Jul 2010 17:51:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>DIY Cheap-o Looper Effect</title>
		<link>http://www.bonf.net/2008/03/23/diy-cheap-o-looper-effect/</link>
		<comments>http://www.bonf.net/2008/03/23/diy-cheap-o-looper-effect/#comments</comments>
		<pubDate>Sun, 23 Mar 2008 12:39:43 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[diy]]></category>
		<category><![CDATA[guitar effects]]></category>
		<category><![CDATA[proof-of-concept]]></category>

		<guid isPermaLink="false">http://www.bonf.net/2008/03/23/diy-cheap-o-looper-effect/</guid>
		<description><![CDATA[&#8230; I&#8217;m surprised with what I&#8217;m able to do when I&#8217;m supposed to be doing homework. Here&#8217;s my latest project, it&#8217;s less than 24 hours old =) I&#8217;ve always wanted a looper effect, like the boss loopstation, mainly because the online demos were so neat. Being a bass player, I though it would help me [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230; I&#8217;m surprised with what I&#8217;m able to do when I&#8217;m supposed to be doing homework.</p>
<p>Here&#8217;s my latest project, it&#8217;s less than 24 hours old =)</p>
<p>I&#8217;ve always wanted a looper effect, like the boss loopstation, mainly because the online demos were so neat. Being a bass player, I though it would help me practice with drum loops, but it&#8217;s just not worth the money unless you&#8217;re going to use it live. I ended up playing drum samples on my PC and playing along on the bass.</p>
<p>more (and video) after the break<br />
<span id="more-39"></span><br />
About 2 weeks ago, a friend asked me about creating a digital recording circuit, for a project (which will be posted here when completed, going to stay a secret for now). Some online searching brought us to a keychain digital recorder product. After comparing some models, we found one that had 60 seconds of recording time, and we got 2 of it off ebay. I then came up with the idea to use this little recorder as a guitar looping effect, and wondered how it will handle it.</p>
<p>Yesterday, we met and started to disassemble and test this unit. We hooked it up to the Arduino, powered it from the 3.3V supply, and tested the &#8220;button press emulation&#8221;. We later went to a friend for a BBQ. When I came back home, I decided to continue experimentation. I had desoldered the microphone and speaker from the unit, and soldered some more hook-up wire. I had some problems with getting the circuit to function properly, I think I had a short circuit somewhere. I went to sleep without getting it to work.</p>
<p>This morning, I had a day off work, and decided to continue this little project.  I soldered some more wire to replace problematic alligator clips positioning, and everything worked again. I connected my guitar to where the mic was, changed the Arduino code a little, and fired it up. You can see it in action on the following video:</p>
<p><a href="http://www.youtube.com/watch?v=1GkihSHkpRI"><img src="http://img.youtube.com/vi/1GkihSHkpRI/default.jpg" width="130" height="97" border=0></a></p>
<p>And here&#8217;s the simple arduino code:</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">int</span> recPin <span style="color: #339933;">=</span> <span style="color: #0000dd;">4</span><span style="color: #339933;">;</span>
<span style="color: #993333;">int</span> playPin <span style="color: #339933;">=</span> <span style="color: #0000dd;">2</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #993333;">void</span> setup<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">//prepare pins for output</span>
    pinMode<span style="color: #009900;">&#40;</span>recPin<span style="color: #339933;">,</span>OUTPUT<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    digitalWrite<span style="color: #009900;">&#40;</span>recPin<span style="color: #339933;">,</span>HIGH<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    pinMode<span style="color: #009900;">&#40;</span>playPin<span style="color: #339933;">,</span>OUTPUT<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    digitalWrite<span style="color: #009900;">&#40;</span>playPin<span style="color: #339933;">,</span>HIGH<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #993333;">void</span> loop<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">//wait and then record a 5 second loop</span>
    delay<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">5000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    digitalWrite<span style="color: #009900;">&#40;</span>recPin<span style="color: #339933;">,</span>LOW<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//&quot;hold down&quot; rec button</span>
    delay<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">5000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    digitalWrite<span style="color: #009900;">&#40;</span>recPin<span style="color: #339933;">,</span>HIGH<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//release it</span>
    delay<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">30</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// to pass debouncing</span>
    <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        digitalWrite<span style="color: #009900;">&#40;</span>playPin<span style="color: #339933;">,</span>LOW<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        delay<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">30</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        digitalWrite<span style="color: #009900;">&#40;</span>playPin<span style="color: #339933;">,</span>HIGH<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        delay<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">4970</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        digitalWrite<span style="color: #009900;">&#40;</span>playPin<span style="color: #339933;">,</span>LOW<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//emulate a second click, this will stop playing the sample, and will be ready to play</span>
        <span style="color: #666666; font-style: italic;">//again in the next loop iteration</span>
        delay<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">30</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        digitalWrite<span style="color: #009900;">&#40;</span>playPin<span style="color: #339933;">,</span>HIGH<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        delay<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">30</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>When I continue working on it, I will need to build some sort of preamp for the output signal. I will also recreate the Arduino program on a PIC 12F675 (or whatever the model number is) of which I have quite a few. There&#8217;s also need for better timing, and a pushbutton to start/stop loop recording (and adjust the length of the loop accordingly).</p>
<p>I hope to get it to a usable state, and have some creative fun with it. Now it&#8217;s time to get back to my homework in algebraic structures.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bonf.net/2008/03/23/diy-cheap-o-looper-effect/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Chopper Tremolo Effect</title>
		<link>http://www.bonf.net/2008/03/08/chopper-tremolo-effect/</link>
		<comments>http://www.bonf.net/2008/03/08/chopper-tremolo-effect/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 21:50:33 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[diy]]></category>
		<category><![CDATA[guitar effects]]></category>
		<category><![CDATA[proof-of-concept]]></category>

		<guid isPermaLink="false">http://www.bonf.net/2008/03/08/chopper-tremolo-effect/</guid>
		<description><![CDATA[I&#8217;ve wanted to build this kind of effect for a long time. This was actually the reason I got my 4066 ICs half a year ago, when I visited my electronic components shop. A Tremolo is an effect unit that modulates the amplitude of the guitar signal, usually in a triangular waveform. This version uses [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve wanted to build this kind of effect for a long time. This was actually the reason I got my 4066 ICs half a year ago, when I visited my electronic components shop.</p>
<p>A Tremolo is an effect unit that modulates the amplitude of the guitar signal, usually in a triangular waveform. This version uses a square waveform, for a more switching, chopping kind of effect. This kind of effect can be heard in the beginning of Plant Telex by <a href="http://www.stubhub.com/radiohead-tickets/">Radiohead</a>. Tom Morello of Rage Against the Machine uses this kind of effect too, he, however, uses a &#8220;kill switch&#8221; on his guitar, which he controls manually.</p>
<p>More after the break&#8230;<br />
<span id="more-31"></span><br />
This is a very simple and low quality circuit, whose problems can be seen in the following video. I built it in about an hour, that&#8217;s how simple it is. It is based on a simple NAND oscillator from an <a href="http://www.aaroncake.net/circuits/chaser.asp" target="_blank">LED Chaser</a> circuit that I had built maybe a year ago. Here&#8217;s the circuit diagram(proudly drawn in GIMP):</p>
<p><a href="http://www.bonf.net/wp-content/uploads/2008/03/chopper-v1.png" title="Chooper v1 schematics"><img src="http://www.bonf.net/wp-content/uploads/2008/03/chopper-v1.thumbnail.png" alt="Chooper v1 schematics" /></a></p>
<p>Values that I had used in my circuit:</p>
<ul>
<li>Supply Voltage: 5VDC</li>
<li>R1 &#8211; 1MOhm</li>
<li>R2 &#8211; 10KOhm</li>
<li>C1 &#8211; 47uF</li>
</ul>
<p>The idea behind the circuit is quite simple. The NAND provides a square wave pulse (and there are better places where you can understand how it works, google &#8220;NAND oscillator&#8221;) that is then hooked up to the 4066 IC. The 4066 is contains 4 analog switches, where each switch is controlled by a single input pin &#8211; as seen in the following diagram:</p>
<p><a href="http://www.bonf.net/wp-content/uploads/2008/03/4066.png" title="4066"><img src="http://www.bonf.net/wp-content/uploads/2008/03/4066.thumbnail.png" alt="4066" /></a></p>
<p>The 4093 NAND IC contains 4 NAND gates, so I used a free one to invert the clock signal.</p>
<p>I used 2 of the 4066 switches. The first one, connects the input signal + and the output signal +, while the second one connects the output signal + and the ground. One switch is controlled by the output of the oscillator, and the other is controlled by the same output, but inverted. The result is that the output signal switches between the input signal, and no signal (ground connected to +).</p>
<p>This is rather primitive, but that&#8217;s the whole point behind this simple project !</p>
<p>Here&#8217;s a short video showing my prototype and live demo of the effect (grr, I forget my entire English vocabulary when I talk):<br />
<a href="http://www.youtube.com/watch?v=q3B2KSrLoEw"><img src="http://img.youtube.com/vi/q3B2KSrLoEw/default.jpg" width="130" height="97" border=0></a></p>
<p>I will be glad to hear any ideas as to how to improve the circuit. My main goals are:</p>
<ul>
<li>Eliminate the POP noise</li>
<li>Allow higher frequencies</li>
<li>Add a 4017 counter with 8 switches(representing one bar) that will allow more complex chopping</li>
</ul>
<p>I have loads of bipolar transistors, maybe I&#8217;ll try to use them instead of the 4066&#8230;</p>
<p>That&#8217;s it !  Please let me know if you build it yourself !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bonf.net/2008/03/08/chopper-tremolo-effect/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
