Hi Roman, thanks for your reply. I'm afraid i can't use a soundcard to capture the input from the piezo (I don't want to buy one just for three little triggers). If what you'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"><<a href="mailto:reduzent@gmail.com">reduzent@gmail.com</a>></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'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'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->ftdi->usb->comport path. Also<br>
when using the soundcard, the latency is constant, while you would have<br>
glitches with the arduino.<br>
<br>
I'd be glad to hear other opinions, though, since my thoughts are purely<br>
theoretical. I haven'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>
> Dear List,<br>
><br>
> This is yet another question about Arduino. Sorry about that.<br>
> I want to use piezos to trigger samples using my arduino board. I want<br>
> the trigger to be sensitive, and a quick google search seems to show<br>
> that piezo is the way to go.<br>
> Does anybody have any experience with piezo triggers (what type of<br>
> piezo, isolating each piezo, etc.)? I will hit the piezos with my bare<br>
> fingers (no drumsticks or anything like that), but i guess it doesn't<br>
> really matter since i can control the threshold within Pd.<br>
><br>
> This last sentence is just to make sure that everyone knows i'm<br>
> talking about piezos in case there wasn't enough occurences of the<br>
> word in my message.<br>
><br>
> Cheers!<br>
><br>
> Pierre<br>
</div></div>> _______________________________________________<br>
> <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <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>