Final Project Report(1)

Final Project Report(1) - Project: This project was about...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Project: This project was about displaying some sort of audio manipulation through the Texas Instruments DSP board. I have implemented the audio effects called Chorus and Echo. Idea: As the time given to do the whole project was only 4 weeks which included around 4 full lab classes, I had thoroughly gone through the past projects link provided by Jacob to get an idea. As I went through them, I instinctively decided to common audio effects seen in nature such as chorus and echo. Path Followed: As consistent with the rest of the labs, the final project had to be done in C language. I had taken the base code I had done for lab 3 and developed it from there. The whole for the effects is shown in the section below. Chorus Effect: void Process_Data( short *pIn, short *pOut) { int i; pOut[i * 2] = pIn[i * 2]; pOut[i * 2 + 1] = pIn[i * 2 + 1]; pOut[i * 2] = pIn[i * 2]; pOut[i * 2 + 1] = pIn[i * 2 + 1]; } void Chorus_Effect( short *pIn, short *pOut) { int i; static int input = 0, delay = 0; short buffer1[1000]; short buffer2[1000]; int x, y=0; for (i = 0; i < BUFLEN; i++) {
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
delay = ( int )((1 - (cos(6.28 * 0.4 * input / 1000))) * 20);
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

Final Project Report(1) - Project: This project was about...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online