Altera_Forum
Honored Contributor
10 years agoI have an issue in audio filtering and i need help please
Hello there
I'm a beginner in using DE2 board and I need some help. I have this code which input and output audio through line-in/line-out on altera DE2 board (cyclone II, Wolfson 8731). I have been asked to implement a highpass FIR filter with 1 kHz cut-off frequency, and 48 kHz sampling frequency. also I have to calculate the distance between samples of the filtered signal. when I tested the filter using sine sweep (20 Hz- 20kHz), I can't hear anything before 1 kHz which means my filter works!. However when I connect the output to the oscilloscoop, the filtered signal goes to zero ( i can't see the filtered signal). my questions are: 1. Is this the right way to implement a FIR filter on the board ? if not, what should I do for the filter to work properly? 2. im still confused about where to implement the filter, should it be in the wolfson chip or in the FPGA itself? the project files are attached any extra information or suggestions is much appreciated thank you,