M. Adam Davis wrote: > On 8/29/06, Timothy Weber wrote: >> I can offer some old code for a very convincing cricket sound, modeled >> on a Scientific American article from the 70s. > > Please share! > > -Adam Well, I dug it out of the archives, but I doubt it's useful. BASICA, apparently: 10 'CRICKETS 20 FOR Z=1 TO 8 30 FOR X=1 TO 10 40 SOUND 1800,.05 50 NEXT 60 SOUND 2000,.02 70 FOR X=1 TO 1800 80 NEXT X 90 NEXT Z I tried running it in GW-BASIC on an XP machine, but unsurprisingly, it made a totally different sound. Trying to model its output directly requires knowing how fast BASICA could execute a FOR loop. So, I think you'd need the identical machine - an 8088 running at 10 MHz or so, if IRC - to get the same sound. Probably easier to catch a live cricket and put it next to a microphone... Or I bet Google could find a useful recording somewhere. -- Timothy J. Weber http://timothyweber.org -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist