Presentation is loading. Please wait.

Presentation is loading. Please wait.

Carey Eugene ECE 3551 May 5, 2009. The purpose of this project was to design and implement a karaoke machine with chipmunk audio effects. And then run.

Similar presentations


Presentation on theme: "Carey Eugene ECE 3551 May 5, 2009. The purpose of this project was to design and implement a karaoke machine with chipmunk audio effects. And then run."— Presentation transcript:

1 Carey Eugene ECE 3551 May 5, 2009

2 The purpose of this project was to design and implement a karaoke machine with chipmunk audio effects. And then run those effects through a low- and high- pass filter.

3  Inputs/Outpust  Channel0LeftIn/Channel0RightIn  Channel1LeftIn/Channel1Right  Push Buttons  PF8 – on/off  PF9 – chipmunk effect  PF10 – low-pass filter and chipmunk/low-pass filter  PF11 - high-pass filter and chipmunk/high-pass filter

4 Z -N x[n] 00 N=Variable Delay d(n) Modulati ng Center of Delay- Line  0 x[n-d(n)] Delay- Line Gain SawTooth Wave SawTooth Wave Low Pass Filter y[n]

5 for(wavecounter=0;wavecounter<WAVE_SIZE; wavecounter++) { if(wavecounter<500) { waveform[wavecounter]=wavecounter*2; } else { waveform[wavecounter]=2*(1000-wavecounter); }

6 { int i = 0; for(i=DELAY_SIZE-1;i>0;i--) { delayLine[i] = delayLine[i-1]; } delayLine[0] = iChannel0LeftIn; iChannel0LeftOut = delayLine[waveform[wavepointer]]; iChannel0RightOut = delayLine[waveform[wavepointer]]; //iChannel0RightOut = iChannel0LeftIn; wavepointer++; if( wavepointer>=WAVE_SIZE ) { wavepointer = 0; }

7 The code successfully worked. The first button turned the audio on and off. The second button played the chipmunk effect. The third button ran the audio through the low-pass filter when you pressed it once. When you pressed the third button for a second time, it ran the audio through the chipmunk filter and then the low-pass filter. It did the same respectively for the high-pass filter.

8 my.fit.edu/~vkepuska/web Audio Processing Problems and Solutions-1 Lab Manual

9


Download ppt "Carey Eugene ECE 3551 May 5, 2009. The purpose of this project was to design and implement a karaoke machine with chipmunk audio effects. And then run."

Similar presentations


Ads by Google