i started experimenting with some simple DSP routines on an Atmega644
works surprisingly well so far - allready got 1 FM pair and 1 PWM/Saw Osc with separate vol EGs...
my problem is the filter. I decided to implement a simple RC filter:
Code: Select all
a += f * ((in - a) + q * (a - b));
b += f * (a - b);
i get horrible clipping. since i'm quite new to assembler, heres my source, maybe someone spots my error.
http://chipmusik.de/lp.txt
have a nice day,
nemuri