You are on page 1of 10

Audio Processing

Michael Johnson
Kevin Engel

Components
Onboard audio codec
Configure codec via I2C
Contains ADC/DAC
Rd, Wr ADC/DAC via I2S

Software loop
Configure codec
Process audio samples
Record
Playback

ADAU1761 Codec - Configurations


Purpose:
Controller for LineIn, MicIn,
LineOut, HeadphoneOut
Master of I2S bus
Enable:

Record Mixers - LineIn and Mic


ADC/DAC
Playback Mixers for Headphone and
LineOut
64 B_CLK per LR_CLK
Serial Data transmission on GPIO
ports (I2S protocol)

I2S

Purpose:
ADC/DAC communication
Protocol:
WS - L, R channel sync
SD - L, R data
SD has a one bit offset from a
WS change.
Behav Sim vs Post Synth Sim (and
Reality)

DSP

Software accessible registers


Setup similar to steps in MP1
Software control switch
Conveniently, the Zedboard is pretty
speedy
software passthrough = fast
unlike MP2

PMOD Mic - Complications


Didnt work

For some reason, it kept giving all


logic 1.

Instead..

Configured the registers on the


codec to enable the pink
microphone port.
Mic BIAS
Amps (needed quite a bit of
gain to hear well).

Software
Capabilities:
Left or Right channel only (SW 4,5)
Channel swap (SW3)
Recording/Playback (for all your favorite karaoke
moments). (SW6)
Moving average filter (SW5)
Time delay. (SW7)

Rubric Revisited
Early functionality

Basic Functions

High-level application

Audio Output

Send signals to the audio


codec (basic sounds) [25]

Audio passthrough. [50]

Hardware Sound modifiers


[75]

Software design

Read and write signals to


audio and pmod [25]

Software passthrough for


recording [50]

Complex application that


runs in different modes to
process received audio [75]

Microphone
Peripheral

PmodMic hardware module


created [25]

PmodMic can be read, and


data passthrough mode (to
audio out) [50]

noise cancellation using


multiple mics [9001]

Demo

Limited Demo [25]

Full demo, and writeup of


design and major
components [50]

Detailed demo that


incorporates detailed testing
procedures and figures
alongside the previous [75]

Karaoke Time!
Any Volunteers?

You might also like