> Basically I have a radio circuit that is outputing audio data. I have setup a system to sample it all in, but that there is where I get stuck. I wish to decode it again into a bit stream. At first I used a data slicer but that proved very susceptable to interference, hence my wish for some psudo DSP. If it`s any use the modulation is basically just on and off ASK. I think some intereference is coming in and tipping the comparator over the edge so it detects a change. I was hoping DSP could average or something?? I am sure there is a well defined algo for this. You should post more info abour the modulation of the bitstream, and about the receiver you made. Maybe you just have a DC offset problem. Make sure that the comparator treshold is not at a fixed voltage (eg GND) but relative to the signal. You can accomplish that by connecting the signal directly to +, and via a series resistor of eg 10k to - of the comparator. At the - pin, also connect a capacitor (eg 100nF) to GND. This setup on the - pin works as a low-pass-filter and will make your receiver independant of the DC offset. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.