Hi Roman, thanks for your reply. I&#39;m afraid i can&#39;t use a soundcard to capture the input from the piezo (I don&#39;t want to buy one just for three little triggers). If what you&#39;re saying is true i guess i will just use three switches and forget about the sensitivity. <br>
<br>Pierre<br><br><div class="gmail_quote">2011/6/17 Roman Haefeli <span dir="ltr">&lt;<a href="mailto:reduzent@gmail.com">reduzent@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Pierre<br>
<br>
Actually, I wouldn&#39;t connect the piezos to an arduino, but to a sound<br>
card, because the piezos will likely give very very short spikes and the<br>
sampling rate of the analogIns of the arduino is quite low (don&#39;t know<br>
the exact value) compared to the sampling rate of a common sound card.<br>
Also, you have more control in Pd to build a trigger detection filter<br>
then on the arduino. Also you would likely get much lower latency with a<br>
good audio setup than with the atmega-&gt;ftdi-&gt;usb-&gt;comport path. Also<br>
when using the soundcard, the latency is constant, while you would have<br>
glitches with the arduino.<br>
<br>
I&#39;d be glad to hear other opinions, though, since my thoughts are purely<br>
theoretical. I haven&#39;t implemented a piezo-based trigger, neither with<br>
sound card nor arduino.<br>
<br>
Roman<br>
<div><div></div><div class="h5"><br>
On Fri, 2011-06-17 at 14:27 +0200, Pierre Massat wrote:<br>
&gt; Dear List,<br>
&gt;<br>
&gt; This is yet another question about Arduino. Sorry about that.<br>
&gt; I want to use piezos to trigger samples using my arduino board. I want<br>
&gt; the trigger to be sensitive, and a quick google search seems to show<br>
&gt; that piezo is the way to go.<br>
&gt; Does anybody have any experience with piezo triggers (what type of<br>
&gt; piezo, isolating each piezo, etc.)? I will hit the piezos with my bare<br>
&gt; fingers (no drumsticks or anything like that), but i guess it doesn&#39;t<br>
&gt; really matter since i can control the threshold within Pd.<br>
&gt;<br>
&gt; This last sentence is just to make sure that everyone knows i&#39;m<br>
&gt; talking about piezos in case there wasn&#39;t enough occurences of the<br>
&gt; word in my message.<br>
&gt;<br>
&gt; Cheers!<br>
&gt;<br>
&gt; Pierre<br>
</div></div>&gt; _______________________________________________<br>
&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt; UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
<br>
</blockquote></div><br>