<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: DIY drum triggers&#8230; reading the sensor scientifically</title>
	<atom:link href="http://www.somesoundswelike.com/2008/02/diy-drum-triggers-reading-the-sensor-scientifically/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.somesoundswelike.com/2008/02/diy-drum-triggers-reading-the-sensor-scientifically/</link>
	<description></description>
	<lastBuildDate>Wed, 18 Aug 2010 13:59:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: translater</title>
		<link>http://www.somesoundswelike.com/2008/02/diy-drum-triggers-reading-the-sensor-scientifically/comment-page-1/#comment-323</link>
		<dc:creator>translater</dc:creator>
		<pubDate>Thu, 11 Feb 2010 17:43:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.somesoundswelike.com/2008/02/02/diy-drum-triggers-reading-the-sensor-scientifically/#comment-323</guid>
		<description>As for me it&#039;s too complicated. You can make it much more easier, using platform that already exist.</description>
		<content:encoded><![CDATA[<p>As for me it&#39;s too complicated. You can make it much more easier, using platform that already exist.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: translater</title>
		<link>http://www.somesoundswelike.com/2008/02/diy-drum-triggers-reading-the-sensor-scientifically/comment-page-1/#comment-322</link>
		<dc:creator>translater</dc:creator>
		<pubDate>Thu, 11 Feb 2010 17:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.somesoundswelike.com/2008/02/02/diy-drum-triggers-reading-the-sensor-scientifically/#comment-322</guid>
		<description>As for me it&#039;s too complicated. You can use much more easier platforms</description>
		<content:encoded><![CDATA[<p>As for me it&#39;s too complicated. You can use much more easier platforms</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.somesoundswelike.com/2008/02/diy-drum-triggers-reading-the-sensor-scientifically/comment-page-1/#comment-318</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 21 Dec 2009 10:46:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.somesoundswelike.com/2008/02/02/diy-drum-triggers-reading-the-sensor-scientifically/#comment-318</guid>
		<description>Hey. Thanks for your reply! &lt;br&gt;&lt;br&gt;Fortunately my design doesn&#039;t have as many requirements as yours -- no hand built kick pedal, enclosure doesn&#039;t matter because I&#039;m just going to put it inside the rock revolution chassis, and battery powered won&#039;t be an issue if I&#039;m able to use this guy&#039;s design - &lt;a href=&quot;http://shiftmore.blogspot.com/2009/12/calculator-midi-usb-controller.html&quot; rel=&quot;nofollow&quot;&gt;http://shiftmore.blogspot.com/2009/12/calculato...&lt;/a&gt; , he hacked a usb-midi adapter for the midi output, and it also powers the arduino through usb! Nice!&lt;br&gt;&lt;br&gt;I&#039;m looking at several alternate solutions as well though. I found a program called rb2midi which converts the signals from a rock band 2 controller into MIDI. I&#039;ve emailed him and he&#039;s working with me to test see if the rock revolution controller sends the velocity info to the console (or computer). If that doesn&#039;t work, I found a good deal on just the PCB of a rock band 2 controller, which means I should theoretically be able to get that, solder the piezos from the rr controller onto the rb2 controller, and voila, PC thinks I am playing a rb2 controller, which means I can use the rb2midi application. All while spending a lot less than any arduino solution.&lt;br&gt;&lt;br&gt;If all that doesn&#039;t work, I am interested in this miduino link you posted. Do you know if his hardware has filters built into get rid of the retriggering problems? If you are not sure, I will email him.&lt;br&gt;&lt;br&gt;Peace, and thanks again for your valuable input.&lt;br&gt;&lt;br&gt;-Scott</description>
		<content:encoded><![CDATA[<p>Hey. Thanks for your reply! </p>
<p>Fortunately my design doesn&#39;t have as many requirements as yours &#8212; no hand built kick pedal, enclosure doesn&#39;t matter because I&#39;m just going to put it inside the rock revolution chassis, and battery powered won&#39;t be an issue if I&#39;m able to use this guy&#39;s design &#8211; <a href="http://shiftmore.blogspot.com/2009/12/calculator-midi-usb-controller.html" rel="nofollow"></a><a href="http://shiftmore.blogspot.com/2009/12/calculato.." rel="nofollow">http://shiftmore.blogspot.com/2009/12/calculato..</a>. , he hacked a usb-midi adapter for the midi output, and it also powers the arduino through usb! Nice!</p>
<p>I&#39;m looking at several alternate solutions as well though. I found a program called rb2midi which converts the signals from a rock band 2 controller into MIDI. I&#39;ve emailed him and he&#39;s working with me to test see if the rock revolution controller sends the velocity info to the console (or computer). If that doesn&#39;t work, I found a good deal on just the PCB of a rock band 2 controller, which means I should theoretically be able to get that, solder the piezos from the rr controller onto the rb2 controller, and voila, PC thinks I am playing a rb2 controller, which means I can use the rb2midi application. All while spending a lot less than any arduino solution.</p>
<p>If all that doesn&#39;t work, I am interested in this miduino link you posted. Do you know if his hardware has filters built into get rid of the retriggering problems? If you are not sure, I will email him.</p>
<p>Peace, and thanks again for your valuable input.</p>
<p>-Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stevecooley</title>
		<link>http://www.somesoundswelike.com/2008/02/diy-drum-triggers-reading-the-sensor-scientifically/comment-page-1/#comment-317</link>
		<dc:creator>stevecooley</dc:creator>
		<pubDate>Sat, 19 Dec 2009 00:01:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.somesoundswelike.com/2008/02/02/diy-drum-triggers-reading-the-sensor-scientifically/#comment-317</guid>
		<description>This short answer is &quot;No, I didn&#039;t solve this. :-&quot; &lt;br&gt;&lt;br&gt;Here&#039;s the longer answer:&lt;br&gt;Scott, that&#039;s where I was when I picked up this project. &quot;Shouldn&#039;t this be easier?&quot; I kept thinking.  Well, I never did get everything I wanted, but I have learned several things since this thread got started.  I remembered that I bought a broken alesis drum machine at a garage sale, so figuring that it&#039;s junk anyway, I cracked it open and discovered that the triggers weren&#039;t piezo sensors. they were just straight digital switches, but there were piezo sensors near the triggers.  So their solution was to grab the trigger digitally, and combine that trigger info with a velocity reading from the piezo.  I thought that was pretty interesting. &lt;br&gt;&lt;br&gt;Second, I realized that I was trying to do waaaay too much at once with waaay not enough experience and understanding of the features I was trying to incorporate.   I was trying to do ALL of these things:&lt;br&gt;&lt;br&gt;* 4 - 6 triggers&lt;br&gt;* all with velocity&lt;br&gt;* midi out port&lt;br&gt;* hand built kick pedal&lt;br&gt;* decent enclosure for the arduino&lt;br&gt;* spend as little money as possible&lt;br&gt;* battery powered&lt;br&gt;&lt;br&gt;And so what I&#039;ve learned in the time since this post are these things:&lt;br&gt;1. battery powered just adds a layer of complexity that doesn&#039;t pay off for me.&lt;br&gt;2. I didn&#039;t go to school for this kind of thing, so the money I spend I think of as being instead of paying for classes.&lt;br&gt;3. the enclosure is really the very very very last thing you should ever ever ever worry about.&lt;br&gt;4. hand built kick pedals are cool. They&#039;re not as good as just buying a kick pedal at guitar center or whatever, but for a web engineer, solving physical engineering problems is fun.  That&#039;s actually what I was referring to when I said that I&#039;d solved my problem acceptably.  I was having problems with one of the parts on my kick pedal because I&#039;d made it out of a wood block, and I solved it be reinforcing that part with metal.&lt;br&gt;5. Midi out is another layer of complexity that really doesn&#039;t pay off for me, like being battery powered.  I don&#039;t have a drum sound midi box, so my efforts with are going to end up going from a usb connected device (arduino) to software... so why complicate it by putting a midi port on my box and add a USB midi interface?  It&#039;s just not sensible in retrospect.  The better solution is to do whatever you&#039;re going to do on the arduino, pass the data back as serial data, pick it up in processing or max/msp or puredata, and then transform it into midi data from there.  We&#039;re doing that with our beatseqr project (&lt;a href=&quot;http://beatseqr.com/blog/&quot; rel=&quot;nofollow&quot;&gt;http://beatseqr.com/blog/&lt;/a&gt;) and it&#039;s kicking ass all day long.  If you&#039;re able to program in the arduino IDE, you&#039;re in the right ballpark to pick up processing.  There&#039;s at least one great way to output midi data easily with an external library for processing, and tons of ways to pick up serial data from the arduino. That&#039;s really the way to go (for me anyway)...&lt;br&gt;6. Regarding 6 analog triggers and velocity... I&#039;ve become VERY fond of the arduino playground, and I did find a couple of methods that people have posted for smoothing analog values. I haven&#039;t tried them out specifically for this kick drum, and I am using one of the methods on my beatseqr project.  Here are some links:&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.arduino.cc/playground/Main/Smooth&quot; rel=&quot;nofollow&quot;&gt;http://www.arduino.cc/playground/Main/Smooth&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.arduino.cc/playground/Main/DigitalSmooth&quot; rel=&quot;nofollow&quot;&gt;http://www.arduino.cc/playground/Main/DigitalSm...&lt;/a&gt;  (paul badger is awesome)&lt;br&gt;&lt;br&gt;I really can&#039;t vouch for how this would work with 6 simultaneous triggers for analog values. It&#039;s probably doable, but I hit a wall and moved on.  Now, don&#039;t let my complete lack of training and overcautious use of my money stop you from making progress. :) My inability to solve the problem should not be taken for a good sense of if this problem can be solved at all. It looks like it can.  There may be some crafty things you can do using the potentiometer hardware abstraction library along with the debounce/smoothing code in the links above.&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.arduino.cc/playground/Code/Potentiometer&quot; rel=&quot;nofollow&quot;&gt;http://www.arduino.cc/playground/Code/Potentiom...&lt;/a&gt;&lt;br&gt;And I&#039;d highly recommend using the hardware abstraction libraries pretty much all time. They&#039;re awesome.&lt;br&gt;&lt;br&gt;If things don&#039;t work out, and you decide this is something you want, and it&#039;s worth some money if not hundreds, check this out:&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://tomscarff.110mb.com/midi_16drums/midi_16drums.htm&quot; rel=&quot;nofollow&quot;&gt;http://tomscarff.110mb.com/midi_16drums/midi_16...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>This short answer is &#8220;No, I didn&#39;t solve this. :-&#8221; </p>
<p>Here&#39;s the longer answer:<br />Scott, that&#39;s where I was when I picked up this project. &#8220;Shouldn&#39;t this be easier?&#8221; I kept thinking.  Well, I never did get everything I wanted, but I have learned several things since this thread got started.  I remembered that I bought a broken alesis drum machine at a garage sale, so figuring that it&#39;s junk anyway, I cracked it open and discovered that the triggers weren&#39;t piezo sensors. they were just straight digital switches, but there were piezo sensors near the triggers.  So their solution was to grab the trigger digitally, and combine that trigger info with a velocity reading from the piezo.  I thought that was pretty interesting. </p>
<p>Second, I realized that I was trying to do waaaay too much at once with waaay not enough experience and understanding of the features I was trying to incorporate.   I was trying to do ALL of these things:</p>
<p>* 4 &#8211; 6 triggers<br />* all with velocity<br />* midi out port<br />* hand built kick pedal<br />* decent enclosure for the arduino<br />* spend as little money as possible<br />* battery powered</p>
<p>And so what I&#39;ve learned in the time since this post are these things:<br />1. battery powered just adds a layer of complexity that doesn&#39;t pay off for me.<br />2. I didn&#39;t go to school for this kind of thing, so the money I spend I think of as being instead of paying for classes.<br />3. the enclosure is really the very very very last thing you should ever ever ever worry about.<br />4. hand built kick pedals are cool. They&#39;re not as good as just buying a kick pedal at guitar center or whatever, but for a web engineer, solving physical engineering problems is fun.  That&#39;s actually what I was referring to when I said that I&#39;d solved my problem acceptably.  I was having problems with one of the parts on my kick pedal because I&#39;d made it out of a wood block, and I solved it be reinforcing that part with metal.<br />5. Midi out is another layer of complexity that really doesn&#39;t pay off for me, like being battery powered.  I don&#39;t have a drum sound midi box, so my efforts with are going to end up going from a usb connected device (arduino) to software&#8230; so why complicate it by putting a midi port on my box and add a USB midi interface?  It&#39;s just not sensible in retrospect.  The better solution is to do whatever you&#39;re going to do on the arduino, pass the data back as serial data, pick it up in processing or max/msp or puredata, and then transform it into midi data from there.  We&#39;re doing that with our beatseqr project (<a href="http://beatseqr.com/blog/" rel="nofollow">http://beatseqr.com/blog/</a>) and it&#39;s kicking ass all day long.  If you&#39;re able to program in the arduino IDE, you&#39;re in the right ballpark to pick up processing.  There&#39;s at least one great way to output midi data easily with an external library for processing, and tons of ways to pick up serial data from the arduino. That&#39;s really the way to go (for me anyway)&#8230;<br />6. Regarding 6 analog triggers and velocity&#8230; I&#39;ve become VERY fond of the arduino playground, and I did find a couple of methods that people have posted for smoothing analog values. I haven&#39;t tried them out specifically for this kick drum, and I am using one of the methods on my beatseqr project.  Here are some links:</p>
<p><a href="http://www.arduino.cc/playground/Main/Smooth" rel="nofollow">http://www.arduino.cc/playground/Main/Smooth</a><br /><a href="http://www.arduino.cc/playground/Main/DigitalSmooth" rel="nofollow"></a><a href="http://www.arduino.cc/playground/Main/DigitalSm.." rel="nofollow">http://www.arduino.cc/playground/Main/DigitalSm..</a>.  (paul badger is awesome)</p>
<p>I really can&#39;t vouch for how this would work with 6 simultaneous triggers for analog values. It&#39;s probably doable, but I hit a wall and moved on.  Now, don&#39;t let my complete lack of training and overcautious use of my money stop you from making progress. <img src='http://www.somesoundswelike.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  My inability to solve the problem should not be taken for a good sense of if this problem can be solved at all. It looks like it can.  There may be some crafty things you can do using the potentiometer hardware abstraction library along with the debounce/smoothing code in the links above.</p>
<p><a href="http://www.arduino.cc/playground/Code/Potentiometer" rel="nofollow"></a><a href="http://www.arduino.cc/playground/Code/Potentiom.." rel="nofollow">http://www.arduino.cc/playground/Code/Potentiom..</a>.<br />And I&#39;d highly recommend using the hardware abstraction libraries pretty much all time. They&#39;re awesome.</p>
<p>If things don&#39;t work out, and you decide this is something you want, and it&#39;s worth some money if not hundreds, check this out:</p>
<p><a href="http://tomscarff.110mb.com/midi_16drums/midi_16drums.htm" rel="nofollow"></a><a href="http://tomscarff.110mb.com/midi_16drums/midi_16.." rel="nofollow">http://tomscarff.110mb.com/midi_16drums/midi_16..</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.somesoundswelike.com/2008/02/diy-drum-triggers-reading-the-sensor-scientifically/comment-page-1/#comment-316</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Fri, 18 Dec 2009 20:47:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.somesoundswelike.com/2008/02/02/diy-drum-triggers-reading-the-sensor-scientifically/#comment-316</guid>
		<description>Hey man. I found your blog via the comments on &lt;a href=&quot;http://todbot.com/blog/2006/10/29/spooky-arduino-projects-4-and-musical-arduino/&quot; rel=&quot;nofollow&quot;&gt;http://todbot.com/blog/2006/10/29/spooky-arduin...&lt;/a&gt; and I wanted to ask you some questions about your electronic drum kit and if you were ever able to solve the problems you had. &lt;br&gt;&lt;br&gt;I was recently given a &quot;rock revolution&quot; drum kit as a gift. I don&#039;t even have a 360 to play the game on, it is just to hack to use as &quot;real&quot; electronic drums. So far I have gotten it working to trigger sounds at full volume by hooking it up to the PC as a 360 controller and using xpadder to map the keys to an audio workstation. Of course that is fun, but I need more flexibility. So I want to wire the piezo&#039;s up to an arduino so I can output velocity sensitive MIDI information, but I want to make sure there are no problems with it.&lt;br&gt;&lt;br&gt;At first I thought the thing was going to be easy, until I read pretty much the entire comments on todbot&#039;s blog and was disturbed by several of the comments, particularly yours -- mentioning you were having problems with multiple triggers. And someone mentioned that they couldn&#039;t get it to play more than one sound simultaneously -- obviously not optimal for playing drums.&lt;br&gt;&lt;br&gt;I saw Wyatt&#039;s post above about Drummaster. That is all well and good, except it adds about $150 additional, which is not something I can afford.&lt;br&gt;&lt;br&gt;My question is, were you ever able to tweak your setup using an arduino without the significant problems? You say in one of your comments above that you were looking at hardware solutions, and that you were able to &quot;solve your problem acceptably&quot;, but it doesn&#039;t say specifically what you did. What did you do, and how much did it cost?&lt;br&gt;&lt;br&gt;Do you think it can even be done with just a plain arduino? &lt;br&gt;I wonder if not,  if I could just somehow simplify the drum master design and simply solder the filters together, not even on a PCB and have them connecting to the arduino?&lt;br&gt;&lt;br&gt;I don&#039;t know a whole lot about electronics or reading schematics, but I have done a couple of soldering projects in the past. I would like to keep this thing as simple/inexpensive as possible, while still retaining full functionality (i.e. no lag, no weird ghost/multiple triggers, and ability to hit at least 4 pads simultaneously)&lt;br&gt;&lt;br&gt;What do you think? Any info about your setup or any input at all would be greatly appreciated.&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;-Scott</description>
		<content:encoded><![CDATA[<p>Hey man. I found your blog via the comments on <a href="http://todbot.com/blog/2006/10/29/spooky-arduino-projects-4-and-musical-arduino/" rel="nofollow"></a><a href="http://todbot.com/blog/2006/10/29/spooky-arduin.." rel="nofollow">http://todbot.com/blog/2006/10/29/spooky-arduin..</a>. and I wanted to ask you some questions about your electronic drum kit and if you were ever able to solve the problems you had. </p>
<p>I was recently given a &#8220;rock revolution&#8221; drum kit as a gift. I don&#39;t even have a 360 to play the game on, it is just to hack to use as &#8220;real&#8221; electronic drums. So far I have gotten it working to trigger sounds at full volume by hooking it up to the PC as a 360 controller and using xpadder to map the keys to an audio workstation. Of course that is fun, but I need more flexibility. So I want to wire the piezo&#39;s up to an arduino so I can output velocity sensitive MIDI information, but I want to make sure there are no problems with it.</p>
<p>At first I thought the thing was going to be easy, until I read pretty much the entire comments on todbot&#39;s blog and was disturbed by several of the comments, particularly yours &#8212; mentioning you were having problems with multiple triggers. And someone mentioned that they couldn&#39;t get it to play more than one sound simultaneously &#8212; obviously not optimal for playing drums.</p>
<p>I saw Wyatt&#39;s post above about Drummaster. That is all well and good, except it adds about $150 additional, which is not something I can afford.</p>
<p>My question is, were you ever able to tweak your setup using an arduino without the significant problems? You say in one of your comments above that you were looking at hardware solutions, and that you were able to &#8220;solve your problem acceptably&#8221;, but it doesn&#39;t say specifically what you did. What did you do, and how much did it cost?</p>
<p>Do you think it can even be done with just a plain arduino? <br />I wonder if not,  if I could just somehow simplify the drum master design and simply solder the filters together, not even on a PCB and have them connecting to the arduino?</p>
<p>I don&#39;t know a whole lot about electronics or reading schematics, but I have done a couple of soldering projects in the past. I would like to keep this thing as simple/inexpensive as possible, while still retaining full functionality (i.e. no lag, no weird ghost/multiple triggers, and ability to hit at least 4 pads simultaneously)</p>
<p>What do you think? Any info about your setup or any input at all would be greatly appreciated.</p>
<p>Thanks<br />-Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stevecooley</title>
		<link>http://www.somesoundswelike.com/2008/02/diy-drum-triggers-reading-the-sensor-scientifically/comment-page-1/#comment-312</link>
		<dc:creator>stevecooley</dc:creator>
		<pubDate>Fri, 18 Dec 2009 17:01:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.somesoundswelike.com/2008/02/02/diy-drum-triggers-reading-the-sensor-scientifically/#comment-312</guid>
		<description>This short answer is &quot;No, I didn&#039;t solve this. :-&quot; &lt;br&gt;&lt;br&gt;Here&#039;s the longer answer:&lt;br&gt;Scott, that&#039;s where I was when I picked up this project. &quot;Shouldn&#039;t this be easier?&quot; I kept thinking.  Well, I never did get everything I wanted, but I have learned several things since this thread got started.  I remembered that I bought a broken alesis drum machine at a garage sale, so figuring that it&#039;s junk anyway, I cracked it open and discovered that the triggers weren&#039;t piezo sensors. they were just straight digital switches, but there were piezo sensors near the triggers.  So their solution was to grab the trigger digitally, and combine that trigger info with a velocity reading from the piezo.  I thought that was pretty interesting. &lt;br&gt;&lt;br&gt;Second, I realized that I was trying to do waaaay too much at once with waaay not enough experience and understanding of the features I was trying to incorporate.   I was trying to do ALL of these things:&lt;br&gt;&lt;br&gt;* 4 - 6 triggers&lt;br&gt;* all with velocity&lt;br&gt;* midi out port&lt;br&gt;* hand built kick pedal&lt;br&gt;* decent enclosure for the arduino&lt;br&gt;* spend as little money as possible&lt;br&gt;* battery powered&lt;br&gt;&lt;br&gt;And so what I&#039;ve learned in the time since this post are these things:&lt;br&gt;1. battery powered just adds a layer of complexity that doesn&#039;t pay off for me.&lt;br&gt;2. I didn&#039;t go to school for this kind of thing, so the money I spend I think of as being instead of paying for classes.&lt;br&gt;3. the enclosure is really the very very very last thing you should ever ever ever worry about.&lt;br&gt;4. hand built kick pedals are cool. They&#039;re not as good as just buying a kick pedal at guitar center or whatever, but for a web engineer, solving physical engineering problems is fun.  That&#039;s actually what I was referring to when I said that I&#039;d solved my problem acceptably.  I was having problems with one of the parts on my kick pedal because I&#039;d made it out of a wood block, and I solved it be reinforcing that part with metal.&lt;br&gt;5. Midi out is another layer of complexity that really doesn&#039;t pay off for me, like being battery powered.  I don&#039;t have a drum sound midi box, so my efforts with are going to end up going from a usb connected device (arduino) to software... so why complicate it by putting a midi port on my box and add a USB midi interface?  It&#039;s just not sensible in retrospect.  The better solution is to do whatever you&#039;re going to do on the arduino, pass the data back as serial data, pick it up in processing or max/msp or puredata, and then transform it into midi data from there.  We&#039;re doing that with our beatseqr project (&lt;a href=&quot;http://beatseqr.com/blog/&quot; rel=&quot;nofollow&quot;&gt;http://beatseqr.com/blog/&lt;/a&gt;) and it&#039;s kicking ass all day long.  If you&#039;re able to program in the arduino IDE, you&#039;re in the right ballpark to pick up processing.  There&#039;s at least one great way to output midi data easily with an external library for processing, and tons of ways to pick up serial data from the arduino. That&#039;s really the way to go (for me anyway)...&lt;br&gt;6. Regarding 6 analog triggers and velocity... I&#039;ve become VERY fond of the arduino playground, and I did find a couple of methods that people have posted for smoothing analog values. I haven&#039;t tried them out specifically for this kick drum, and I am using one of the methods on my beatseqr project.  Here are some links:&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.arduino.cc/playground/Main/Smooth&quot; rel=&quot;nofollow&quot;&gt;http://www.arduino.cc/playground/Main/Smooth&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.arduino.cc/playground/Main/DigitalSmooth&quot; rel=&quot;nofollow&quot;&gt;http://www.arduino.cc/playground/Main/DigitalSm...&lt;/a&gt;  (paul badger is awesome)&lt;br&gt;&lt;br&gt;I really can&#039;t vouch for how this would work with 6 simultaneous triggers for analog values. It&#039;s probably doable, but I hit a wall and moved on.  Now, don&#039;t let my complete lack of training and overcautious use of my money stop you from making progress. :) My inability to solve the problem should not be taken for a good sense of if this problem can be solved at all. It looks like it can.  There may be some crafty things you can do using the potentiometer hardware abstraction library along with the debounce/smoothing code in the links above.&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.arduino.cc/playground/Code/Potentiometer&quot; rel=&quot;nofollow&quot;&gt;http://www.arduino.cc/playground/Code/Potentiom...&lt;/a&gt;&lt;br&gt;And I&#039;d highly recommend using the hardware abstraction libraries pretty much all time. They&#039;re awesome.&lt;br&gt;&lt;br&gt;If things don&#039;t work out, and you decide this is something you want, and it&#039;s worth some money if not hundreds, check this out:&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://tomscarff.110mb.com/midi_16drums/midi_16drums.htm&quot; rel=&quot;nofollow&quot;&gt;http://tomscarff.110mb.com/midi_16drums/midi_16...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>This short answer is &#8220;No, I didn&#39;t solve this. :-&#8221; </p>
<p>Here&#39;s the longer answer:<br />Scott, that&#39;s where I was when I picked up this project. &#8220;Shouldn&#39;t this be easier?&#8221; I kept thinking.  Well, I never did get everything I wanted, but I have learned several things since this thread got started.  I remembered that I bought a broken alesis drum machine at a garage sale, so figuring that it&#39;s junk anyway, I cracked it open and discovered that the triggers weren&#39;t piezo sensors. they were just straight digital switches, but there were piezo sensors near the triggers.  So their solution was to grab the trigger digitally, and combine that trigger info with a velocity reading from the piezo.  I thought that was pretty interesting. </p>
<p>Second, I realized that I was trying to do waaaay too much at once with waaay not enough experience and understanding of the features I was trying to incorporate.   I was trying to do ALL of these things:</p>
<p>* 4 &#8211; 6 triggers<br />* all with velocity<br />* midi out port<br />* hand built kick pedal<br />* decent enclosure for the arduino<br />* spend as little money as possible<br />* battery powered</p>
<p>And so what I&#39;ve learned in the time since this post are these things:<br />1. battery powered just adds a layer of complexity that doesn&#39;t pay off for me.<br />2. I didn&#39;t go to school for this kind of thing, so the money I spend I think of as being instead of paying for classes.<br />3. the enclosure is really the very very very last thing you should ever ever ever worry about.<br />4. hand built kick pedals are cool. They&#39;re not as good as just buying a kick pedal at guitar center or whatever, but for a web engineer, solving physical engineering problems is fun.  That&#39;s actually what I was referring to when I said that I&#39;d solved my problem acceptably.  I was having problems with one of the parts on my kick pedal because I&#39;d made it out of a wood block, and I solved it be reinforcing that part with metal.<br />5. Midi out is another layer of complexity that really doesn&#39;t pay off for me, like being battery powered.  I don&#39;t have a drum sound midi box, so my efforts with are going to end up going from a usb connected device (arduino) to software&#8230; so why complicate it by putting a midi port on my box and add a USB midi interface?  It&#39;s just not sensible in retrospect.  The better solution is to do whatever you&#39;re going to do on the arduino, pass the data back as serial data, pick it up in processing or max/msp or puredata, and then transform it into midi data from there.  We&#39;re doing that with our beatseqr project (<a href="http://beatseqr.com/blog/" rel="nofollow">http://beatseqr.com/blog/</a>) and it&#39;s kicking ass all day long.  If you&#39;re able to program in the arduino IDE, you&#39;re in the right ballpark to pick up processing.  There&#39;s at least one great way to output midi data easily with an external library for processing, and tons of ways to pick up serial data from the arduino. That&#39;s really the way to go (for me anyway)&#8230;<br />6. Regarding 6 analog triggers and velocity&#8230; I&#39;ve become VERY fond of the arduino playground, and I did find a couple of methods that people have posted for smoothing analog values. I haven&#39;t tried them out specifically for this kick drum, and I am using one of the methods on my beatseqr project.  Here are some links:</p>
<p><a href="http://www.arduino.cc/playground/Main/Smooth" rel="nofollow">http://www.arduino.cc/playground/Main/Smooth</a><br /><a href="http://www.arduino.cc/playground/Main/DigitalSmooth" rel="nofollow"></a><a href="http://www.arduino.cc/playground/Main/DigitalSm.." rel="nofollow">http://www.arduino.cc/playground/Main/DigitalSm..</a>.  (paul badger is awesome)</p>
<p>I really can&#39;t vouch for how this would work with 6 simultaneous triggers for analog values. It&#39;s probably doable, but I hit a wall and moved on.  Now, don&#39;t let my complete lack of training and overcautious use of my money stop you from making progress. <img src='http://www.somesoundswelike.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  My inability to solve the problem should not be taken for a good sense of if this problem can be solved at all. It looks like it can.  There may be some crafty things you can do using the potentiometer hardware abstraction library along with the debounce/smoothing code in the links above.</p>
<p><a href="http://www.arduino.cc/playground/Code/Potentiometer" rel="nofollow"></a><a href="http://www.arduino.cc/playground/Code/Potentiom.." rel="nofollow">http://www.arduino.cc/playground/Code/Potentiom..</a>.<br />And I&#39;d highly recommend using the hardware abstraction libraries pretty much all time. They&#39;re awesome.</p>
<p>If things don&#39;t work out, and you decide this is something you want, and it&#39;s worth some money if not hundreds, check this out:</p>
<p><a href="http://tomscarff.110mb.com/midi_16drums/midi_16drums.htm" rel="nofollow"></a><a href="http://tomscarff.110mb.com/midi_16drums/midi_16.." rel="nofollow">http://tomscarff.110mb.com/midi_16drums/midi_16..</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.somesoundswelike.com/2008/02/diy-drum-triggers-reading-the-sensor-scientifically/comment-page-1/#comment-311</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Fri, 18 Dec 2009 13:47:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.somesoundswelike.com/2008/02/02/diy-drum-triggers-reading-the-sensor-scientifically/#comment-311</guid>
		<description>Hey man. I found your blog via the comments on &lt;a href=&quot;http://todbot.com/blog/2006/10/29/spooky-arduino-projects-4-and-musical-arduino/&quot; rel=&quot;nofollow&quot;&gt;http://todbot.com/blog/2006/10/29/spooky-arduin...&lt;/a&gt; and I wanted to ask you some questions about your electronic drum kit and if you were ever able to solve the problems you had. &lt;br&gt;&lt;br&gt;I was recently given a &quot;rock revolution&quot; drum kit as a gift. I don&#039;t even have a 360 to play the game on, it is just to hack to use as &quot;real&quot; electronic drums. So far I have gotten it working to trigger sounds at full volume by hooking it up to the PC as a 360 controller and using xpadder to map the keys to an audio workstation. Of course that is fun, but I need more flexibility. So I want to wire the piezo&#039;s up to an arduino so I can output velocity sensitive MIDI information, but I want to make sure there are no problems with it.&lt;br&gt;&lt;br&gt;At first I thought the thing was going to be easy, until I read pretty much the entire comments on todbot&#039;s blog and was disturbed by several of the comments, particularly yours -- mentioning you were having problems with multiple triggers. And someone mentioned that they couldn&#039;t get it to play more than one sound simultaneously -- obviously not optimal for playing drums.&lt;br&gt;&lt;br&gt;I saw Wyatt&#039;s post above about Drummaster. That is all well and good, except it adds about $150 additional, which is not something I can afford.&lt;br&gt;&lt;br&gt;My question is, were you ever able to tweak your setup using an arduino without the significant problems? You say in one of your comments above that you were looking at hardware solutions, and that you were able to &quot;solve your problem acceptably&quot;, but it doesn&#039;t say specifically what you did. What did you do, and how much did it cost?&lt;br&gt;&lt;br&gt;Do you think it can even be done with just a plain arduino? &lt;br&gt;I wonder if not,  if I could just somehow simplify the drum master design and simply solder the filters together, not even on a PCB and have them connecting to the arduino?&lt;br&gt;&lt;br&gt;I don&#039;t know a whole lot about electronics or reading schematics, but I have done a couple of soldering projects in the past. I would like to keep this thing as simple/inexpensive as possible, while still retaining full functionality (i.e. no lag, no weird ghost/multiple triggers, and ability to hit at least 4 pads simultaneously)&lt;br&gt;&lt;br&gt;What do you think? Any info about your setup or any input at all would be greatly appreciated.&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;-Scott</description>
		<content:encoded><![CDATA[<p>Hey man. I found your blog via the comments on <a href="http://todbot.com/blog/2006/10/29/spooky-arduino-projects-4-and-musical-arduino/" rel="nofollow"></a><a href="http://todbot.com/blog/2006/10/29/spooky-arduin.." rel="nofollow">http://todbot.com/blog/2006/10/29/spooky-arduin..</a>. and I wanted to ask you some questions about your electronic drum kit and if you were ever able to solve the problems you had. </p>
<p>I was recently given a &#8220;rock revolution&#8221; drum kit as a gift. I don&#39;t even have a 360 to play the game on, it is just to hack to use as &#8220;real&#8221; electronic drums. So far I have gotten it working to trigger sounds at full volume by hooking it up to the PC as a 360 controller and using xpadder to map the keys to an audio workstation. Of course that is fun, but I need more flexibility. So I want to wire the piezo&#39;s up to an arduino so I can output velocity sensitive MIDI information, but I want to make sure there are no problems with it.</p>
<p>At first I thought the thing was going to be easy, until I read pretty much the entire comments on todbot&#39;s blog and was disturbed by several of the comments, particularly yours &#8212; mentioning you were having problems with multiple triggers. And someone mentioned that they couldn&#39;t get it to play more than one sound simultaneously &#8212; obviously not optimal for playing drums.</p>
<p>I saw Wyatt&#39;s post above about Drummaster. That is all well and good, except it adds about $150 additional, which is not something I can afford.</p>
<p>My question is, were you ever able to tweak your setup using an arduino without the significant problems? You say in one of your comments above that you were looking at hardware solutions, and that you were able to &#8220;solve your problem acceptably&#8221;, but it doesn&#39;t say specifically what you did. What did you do, and how much did it cost?</p>
<p>Do you think it can even be done with just a plain arduino? <br />I wonder if not,  if I could just somehow simplify the drum master design and simply solder the filters together, not even on a PCB and have them connecting to the arduino?</p>
<p>I don&#39;t know a whole lot about electronics or reading schematics, but I have done a couple of soldering projects in the past. I would like to keep this thing as simple/inexpensive as possible, while still retaining full functionality (i.e. no lag, no weird ghost/multiple triggers, and ability to hit at least 4 pads simultaneously)</p>
<p>What do you think? Any info about your setup or any input at all would be greatly appreciated.</p>
<p>Thanks<br />-Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: patrick</title>
		<link>http://www.somesoundswelike.com/2008/02/diy-drum-triggers-reading-the-sensor-scientifically/comment-page-1/#comment-226</link>
		<dc:creator>patrick</dc:creator>
		<pubDate>Wed, 23 Jul 2008 02:38:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.somesoundswelike.com/2008/02/02/diy-drum-triggers-reading-the-sensor-scientifically/#comment-226</guid>
		<description>hi,

found this topic very interesting. here&#039;s what i can share about it:
http://probing.wikidot.com/piezo-analysis-oscilloscope

also it really depends on the impact (surface, where on the piezo / pad).

i am not sure how to implent it (pseudo-code) for an atmega. my goal is your goal: no lag with good velocity response. should i consider using a PIC18F and interrupts?

pat</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>found this topic very interesting. here&#8217;s what i can share about it:<br />
<a href="http://probing.wikidot.com/piezo-analysis-oscilloscope" rel="nofollow">http://probing.wikidot.com/piezo-analysis-oscilloscope</a></p>
<p>also it really depends on the impact (surface, where on the piezo / pad).</p>
<p>i am not sure how to implent it (pseudo-code) for an atmega. my goal is your goal: no lag with good velocity response. should i consider using a PIC18F and interrupts?</p>
<p>pat</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wyatt</title>
		<link>http://www.somesoundswelike.com/2008/02/diy-drum-triggers-reading-the-sensor-scientifically/comment-page-1/#comment-227</link>
		<dc:creator>Wyatt</dc:creator>
		<pubDate>Thu, 05 Jun 2008 21:36:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.somesoundswelike.com/2008/02/02/diy-drum-triggers-reading-the-sensor-scientifically/#comment-227</guid>
		<description>As a followup to my previous post, I have made a great deal of headway on this project, and currently have a working prototype, with PCBs on order. 8-)  If anyone is interested in my approach, take a look at my web page http://drummaster.thecave.homeunix.org.  My final solution the filtering problem above was to use a diode, a capacitor, a couple of resistors, and an op amp (for impedance matching) to filter out the ripples, and ensure a quick voltage dropoff after the hit.  On the site are schematics as well as some graphs showing the effectiveness of the filter circuits.

Cheers</description>
		<content:encoded><![CDATA[<p>As a followup to my previous post, I have made a great deal of headway on this project, and currently have a working prototype, with PCBs on order. <img src='http://www.somesoundswelike.com/wp-includes/images/smilies/icon_cool.gif' alt='8-)' class='wp-smiley' />  If anyone is interested in my approach, take a look at my web page <a href="http://drummaster.thecave.homeunix.org" rel="nofollow">http://drummaster.thecave.homeunix.org</a>.  My final solution the filtering problem above was to use a diode, a capacitor, a couple of resistors, and an op amp (for impedance matching) to filter out the ripples, and ensure a quick voltage dropoff after the hit.  On the site are schematics as well as some graphs showing the effectiveness of the filter circuits.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: edrum</title>
		<link>http://www.somesoundswelike.com/2008/02/diy-drum-triggers-reading-the-sensor-scientifically/comment-page-1/#comment-225</link>
		<dc:creator>edrum</dc:creator>
		<pubDate>Fri, 07 Mar 2008 00:14:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.somesoundswelike.com/2008/02/02/diy-drum-triggers-reading-the-sensor-scientifically/#comment-225</guid>
		<description>Look here: http://www.edrum.info</description>
		<content:encoded><![CDATA[<p>Look here: <a href="http://www.edrum.info" rel="nofollow">http://www.edrum.info</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
