Docsity

Digital Audio Signal Processing Assignment 5: Writing Dynamic Post Processing Functions - , Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
DASP :: Assignment 5 2008.10.20.M
Page 1 of 1
ELE 591/CIS 500 :: Digital Audio Signal Processing :: Assignment 5
OBJECTIVE: Writing dynamic Post Processing Functions
Total Points = 120
Due date: 28 Oct 2008 at the start of class OR before
Please indicate the sources you have referred to when answering each question.
Any form of plagiarism will have serious consequences.
NAME: ___________________________ SU ID: ______________________
Please ensure that your post processing function adheres to all system rules.
In addition to writing code, you will need to demonstrate the functions operating
on the DSP hardware in the Lab.
Please show your design steps very clearly:
a) Flowchart or Pseudo Code,
b) Data Structures, and
c) Register usage
Q1 [40 pts]
Specifying the Quantization Error
As you know, there are 24-bits in the DSP’s memory space, thus it is possible to have up to 24 bits of
resolution for the audio samples. Your task is to create a Post Processing Function (in Assembly) that can
control the bit resolution (hence the quantization error) of the audio samples in the Left and Right channels
from an external host in a dynamic m anner. We will make the assumption that the Configuration Word is
used to directly specify the number of bits of quantization.
Q2 [80 pts]
“Bouncing” the sound between Left and Right
Write a Post Processing Function (in Assembly) that will only work when there are two channels of audio
present. It will combine the L and R channels and divide it by 2 to create a m ono channel. This information is
then sent to L and R as follows:
o L = (x)*(L+R)/2, and
o R = (1-x)*(L+R)/2,
where ‘x’ follows a triangular waveform , varying between 0.0 and 1.0. The period [in seconds] of the
triangular waveform being followed by the variable ‘x’ may be specified d ynamically through the
Configuration Word. Clearly state any assumptions you have made or any limitations that may apply to your
solution.
Proceed with caution! When you get this function working, you are guaranteed to experience a high!

Partial preview of the text

Download Digital Audio Signal Processing Assignment 5: Writing Dynamic Post Processing Functions - and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

DASP :: Assignment 5 2008.10.20.M

Page 1 of 1

ELE 591/CIS 500 :: Digital Audio Signal Processing :: Assignment 5

OBJECTIVE: Writing dynamic Post Processing Functions

Total Points = 120

Due date: 28 Oct 2008 at the start of class OR before

Please indicate the sources you have referred to when answering each question.

Any form of plagiarism will have serious consequences.

NAME: ___________________________ SU ID: ______________________

Please ensure that your post processing function adheres to all system rules.

In addition to writing code, you will need to demonstrate the functions operating on the DSP hardware in the Lab.

Please show your design steps very clearly: a) Flowchart or Pseudo Code, b) Data Structures, and

c) Register usage

Q1 [40 pts]

Specifying the Quantization Error

As you know, there are 24-bits in the DSP’s memory space, thus it is possible to have up to 24 bits of resolution for the audio samples. Your task is to create a Post Processing Function (in Assembly) that can control the bit resolution (hence the quantization error) of the audio samples in the Left and Right channels from an external host in a dynamic manner. We will make the assumption that the Configuration Word is used to directly specify the number of bits of quantization.

Q2 [80 pts]

“Bouncing” the sound between Left and Right

Write a Post Processing Function (in Assembly) that will only work when there are two channels of audio present. It will combine the L and R channels and divide it by 2 to create a mono channel. This information is then sent to L and R as follows:

o L = (x)(L+R)/2, and o R = (1-x)(L+R)/2,

where ‘x’ follows a triangular waveform, varying between 0.0 and 1.0. The period [in seconds] of the triangular waveform being followed by the variable ‘x’ may be specified dynamically through the Configuration Word. Clearly state any assumptions you have made or any limitations that may apply to your solution.

Proceed with caution! When you get this function working, you are guaranteed to experience a high!