Hi Koen, Here's another option while you are working out the PIC details. Use a program like Cool Edit and create a 440 Hz sine wave and other test tones if you so desire. Then burn a CD with the resultant WAV files. Obviously this requires a CD player and is not as much fun as a PIC project, but at least you have a quick solution in the interim period. I seem to recall that using 50% duty cycle PWM on a PIC using a 19.6608 MHz crystal, further divided externally with N number of flip-flops gave me tones in the equal tempered musical scale including 440 Hz -- I'll see if I can dig up the details. You might also do a search on "top-octave generators". Best regards, Ken Pergola -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads