Presentation(1)

Presentation(1) - { int delay = temp - (2000 - 20);...

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

View Full Document Right Arrow Icon
Audio effects implementation ECE 3551 – Microcomputer Systems I By Abdulrahman Bin Humood
Background image of page 1

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

View Full DocumentRight Arrow Icon
Overview This project was created to use the OMAP L137 Texas Instruments DSP Board to control audio output and display some audio effects that have been taught during the course of the class.
Background image of page 2
Code Imlementation switch(mode) { case 1: Passthrough(pIn, pOut); break; case 2: Process_Data(pIn, pOut);
Background image of page 3

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

View Full DocumentRight Arrow Icon
Delay Code void Delay(short *pIn, short *pOut) //Applies delay effect to signal. { int i; for (i = 0; i < BUFLEN; i++)
Background image of page 4
Background image of page 5

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

View Full DocumentRight Arrow Icon
Background image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { int delay = temp - (2000 - 20); buffer_in2[temp] = pIn[i * 2]; buffer_in1[temp] = pIn[i * 2 + 1]; if ( delay &lt; 0 ) { delay = delay + 2000; } output1 = buffer_in1[temp] + 0.9 * buffer_in1[delay]; Vibrato Code void Vibrato(short *pIn, short *pOut) { int i; for (i = 0; i &lt; BUFLEN; i++) { var_time_delay = (int)(0.5 * (1 + cos (2 * 3.14 * 0.4 * temp / 2000)) * BUFSIZE); END THANK YOU!...
View Full Document

Page1 / 6

Presentation(1) - { int delay = temp - (2000 - 20);...

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

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