OK, hi, that program is for arduino standalone, you can put many buzzers and create a poliphonic arduino ensable,hehehe, pwm is Pulse Width Modulation.
That program not work with pd, because pduino needs a standard  Firmata.
I work with pduino and servo motors, but not with buzzers.

Well, my experience.

Best regards from Chile

JOsé

2009/11/7 altern <altern2@gmail.com>
hi

i have been trying to port this example to PD

http://arduino.cc/en/Tutorial/Melody

it just uses a piezo to buzz a song. i dont understand very well this PWM controls and also I am finding quite difficult to translate the arduino code to PD. So after some headache i thought maybe someone has already done this for PD?

thanks

enrike

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



--
http://www.chilemigra.cl
http://arselectronicachile.blogspot.com
http://www.myspace.com/santorcuato