1 / 14

Digital 5-Band Equalizer

Digital 5-Band Equalizer. Electrical Engineering 113D. Authors: Gordon Tsui Michael Kim. Digital Equalizer. Used in Audio Processing and is the process of modifying the frequency envelope of sound

Download Presentation

Digital 5-Band Equalizer

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Digital 5-Band Equalizer Electrical Engineering 113D Authors: Gordon Tsui Michael Kim

  2. Digital Equalizer • Used in Audio Processing and is the process of modifying the frequency envelope of sound • Found in various programs such as WINAMP, Windows Media Player and any other application that requires digital audio processing. • Number of bands vary on each equalizer

  3. Development • Modeled project after Experiment 2 • Used MATLAB to obtain coefficients required for different filters • Found impulse response to verify requirement needs • Implemented assembly code and tested results

  4. System Diagram

  5. Impulse Response • Specifications needed to meet a 1dB Ripple

  6. Filter Specifications • Our Equalizer consisted of 5-bands

  7. Filter Specifications • Low Pass Filter – Magnitude Responses • Difference seen between two due to anti-aliasing filter in DSP Board

  8. Filter Specifications • Band Pass Filter 1 – Magnitude Responses

  9. Filter Specifications • Band Pass Filter 2 – Magnitude Responses

  10. Filter Specifications • Band Pass Filter 3 – Magnitude Responses

  11. Filter Specifications • High Pass Filter – Magnitude Responses • Difference seen between two due to FHP cutoff frequency

  12. Assembly Code XGL .word 32767 ;the different gain valuesXGB .word 0 ;at the end of the .data sectionA = trcv ; load accumulator with wordAR1=#XLP ; AR1 points to XLP and gets value of A*AR1=AAR1=#XBP ;AR1 points to XBP and gets value of A*AR1=AAR3 = #XNLAST ;points to XNLASTA = #0 ;sets value of A to 0repeat(#122) ;123 coefficientsMACD(*AR3-,L0,A) ;same as experiment 2*AR0 = hi(A) ;AR0 gets the MSB of AA=#0 ;sets value A to zeroMACP(*AR0, XGL, A) ;multiplies values of at AR0 and XGL and stores in A*AR0 = hi(A) ;AR0 gets the MSB of AAR3 = #XNLASTBA = #0repeat(#122)MACD(*AR3-,B0,A)*AR4 = hi(A)A=#0MACP(*AR4, XGB, A)*AR4 = hi(A)A = *AR0A = A + *AR4 ;the output of the two filters are added togethertdxr = A ;value of A sent to output

  13. Problems With Assembly Coding • Initially had too many coefficients that the DSP board couldn’t handle • Unable to use the @ operator • Gain of 1*(2^15-1) reduces signal by factor of 2

  14. Examples • Audio Clip with unity Gain • Applied High Pass Filter • Applied Band Pass Filters • Combination of Band Pass and High Pass • Applied Low Pass Filter

More Related