Author Topic: Beginner Altera DE1-SoC Audio Equalizer  (Read 1551 times)

0 Members and 1 Guest are viewing this topic.

Offline XazchTopic starter

  • Newbie
  • Posts: 1
  • Country: us
Beginner Altera DE1-SoC Audio Equalizer
« on: November 21, 2019, 03:28:08 am »
Hey all,

Is anyone here knowledge able on how to setup a DE1 SoC Signal processor? I've had a difficult time understanding how and where to start i feel the documentation is very scarce and on where i should start. it looks like a Qsys system would work best for this type of application.

So far i only have impulse response for each of my signals i created in matlab that would convolude with the audio source to remove the frequency from the signal. this would be done with one of the switches on the dev board.

my professor for signal processing suggested i do that and transfer it to vhdl.

would anyone have some advice on how i should start?
 

Offline Berni

  • Super Contributor
  • ***
  • Posts: 5023
  • Country: si
Re: Beginner Altera DE1-SoC Audio Equalizer
« Reply #1 on: November 21, 2019, 06:31:38 am »
Start by learning VHDL or Verilog as you will need it.

The IP library in Quartus has a lot of DSP blocks such as FIR or IIR filters to make the most common types of filters. But you will still need to code the logic for interfacing the ADC/DAC to the FPGA to feed data trough the filter block.

If you never used Quartus before first make a few simple projects like LED blinkers, or sound generation.
 

Offline hamster_nz

  • Super Contributor
  • ***
  • Posts: 2812
  • Country: nz
Re: Beginner Altera DE1-SoC Audio Equalizer
« Reply #2 on: November 21, 2019, 06:49:44 am »
I know this is most likely a heresy, but get yourself a Digilent PMOD I2S2. It has a dumb I2S ADC and an equally dumb I2S DAC. Just send clocks and bits at them and signals happen. It is only line level, but perfect for testing this sort of stuff.

With one of these you can skip the complexity of using the processor to configure the onboard codec before it will even make a sound, and can focus on your DSP tasks.

Once you get that working then look at moving to using the onboard codec.

PM me - I have spare PCBs for a multiple 3.5mm stereo jacks to pin headers test jig that I think will be most helpful for your testing. Send me your email and you can see if it will be of use. Far, far better than cutting cables open.

Nothing sounds as bad as misaligned audio - full noise at 0db, So used a scope or a tiny powered speaker rather than earbuds for testing. Save your hearing for later....
« Last Edit: November 21, 2019, 06:55:18 am by hamster_nz »
Gaze not into the abyss, lest you become recognized as an abyss domain expert, and they expect you keep gazing into the damn thing.
 
The following users thanked this post: ebclr


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf