As i remind you can enter your own coefficient in ALE and plot a graph of.
look at that, i think it could work... untested
http://www.gennum.com/audio/hip/soft...uad_filter.htm
As i remind you can enter your own coefficient in ALE and plot a graph of.
look at that, i think it could work... untested
http://www.gennum.com/audio/hip/soft...uad_filter.htm
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
About a free C compiler, you may try the Microchip C18 student version.
http://www.microchip.com/stellent/id...&part=SW006011
i hate the microchip compiler but it's working. In another hand if you buy it... it will by far cheaper than Hi-Tech C.
CCS do one too. I just had a look to their website... seems to grow since last time i went there.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Thank you, the Excel sheet gives me a first impression of the calculations.
TI answered me.. "If you are a student, as you mentioned, I will like to inform you that we do not support students here at Texas Instruments." blabla....
Before trying the Microship compiler I'm going to test the 16F876 for it's maths capabilities.
regards,
Sebastian
Hm, I've tried to calculate the coefficients for a low pass filter with these formulas http://www.musicdsp.org/files/Audio-EQ-Cookbook.txt
Im comparison to the excel sheet I had to set in the "center frequenzy" and not the -3db frequenzy. So when calculating with 2000Hz (2100 in the sheet) and Q=1, I got the following results (41000Hz sample rate) for a low pass filter:
formulas from the link:
b0 = 0.0256695991
b1 = 0.0513391983
b2 = 0.0256695991
a1 = -1.8973216034
a2 = 0.3674095060
Excel sheet:
b0 = 0,026936651
b1 = 0,053873303
b2 = 0,026936651
a1 = -1,343504439
a2 = 0,451251044
I think the values are quite similar, however, I don't know if it's correct..
The next step will be the pic calculation...
regards
Sebastian
Last edited by Sebastian; - 2nd August 2006 at 15:15.
Hi,
I've now tested the free C compiler... but as it is limited to 1kByte it is useless to me. One sin or cos 24bit floating point calculation and it's over. So I will try the Microchip Compiler.
regards
Sebastian
Last edited by Sebastian; - 3rd August 2006 at 22:49.
UPDATE:
I changed to an ATMEGA32 with AVR GCC. Floating point calculations and output to a LCD is no problem... thanks to some libraries
regards
Sebastian
Bookmarks