{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Presentation(1)

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

Info icon This 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
Image of page 1

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

View Full Document Right 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.
Image of page 2
Code Imlementation switch(mode) { case 1: Passthrough(pIn, pOut); break; case 2: Process_Data(pIn, pOut);
Image of page 3

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

View Full Document Right Arrow Icon
Delay Code void Delay(short *pIn, short *pOut) //Applies delay effect to signal. { int i; for (i = 0; i < BUFLEN; i++) { int delay = temp - (2000 - 20);
Image of page 4
Image of page 5

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

View Full Document Right Arrow Icon
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 < 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 < BUFLEN; i++) • { • • var_time_delay = (int)(0.5 * (1 + cos (2 * 3.14 * 0.4 * temp / 2000)) * BUFSIZE); • END • THANK YOU!...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern