Thank-you Olin, this looks exactly like the sort of thing I'm after, but I = can't get wav_hal.exe to work. I used: C:\WINDOWS\Desktop\hal\embedinc\com\wav_hal.exe winex.wav It gave me a lot of data about the wav file structure, but no output file = (that I could find) I looked in the source, and saw so I tried: C:\WINDOWS\Desktop\hal\embedinc\com\wav_hal.exe winex.wav output.aspic It said something like 'Invalid token found on line 2, token was 'output.as= pic' So how am I supposed to use it :) >>> Olin Lathrop 11/06/2002 12:47:30 >>> >> Although there is something that somebody may be able to help me with, a long time ago I'm sure I read of someones efforts to reproduce sounds via the PIC using a large RAM table with wave data in it, if anybody thinks = they know a link it would be greatly appriciated, as melodys are extreamly hard to code as consecutive delays. << My HAL project produces audio from WAV data stored in program memory. See http://www.embedinc.com/pic/hal.htm. The details of fetching the WAV = data, interpolating adjacent samples, and writing to the PWM output are in the HAL_INTR.ASPIC module. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com=20 -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics