Sound effects with Rotation control

Slides:



Advertisements
Similar presentations
Over-view of Lab. 1 For more details – see the Lab. 1 web-site There will be a 20 min prelab quiz (based on Assignment 1 and 2) at the start of the lab.
Advertisements

Microcomputer Systems I ECE 3551 MOHAMMED ALYAMANI Instructor: Dr. Kepuska.
Mohammed Almajhad Final Project Dr. Kepuska. Intro My project idea is based on playing sound on different effects as we see these days. Also, adding a.
Thermal arm-wrestling Design of a video game using two programmable flags (PF) interrupts Tutorial on handling 2 Hardware interrupts from an external device.
Lab. 1 – Task 1 to 4 details For more details – see the Lab. 1 web-site There will be a 20 min prelab-quiz (based on Assignment 1 and 2) at the start of.
Display Interrupt Service Routine for cargo monitoring system Overview of concepts demonstrated during Labs 3 and 4.
Microcomputer Systems 1 Interaction of ADSP-BF533 Ez-Kit Lite with the outside world LAB2 Example.
Timers and Timing Signals Tutorial. 6/18/2015 Timer Control Copyright M. Smith, ECE, University of Calgary, Canada 2 / 31 Temperature Sensor -- Lab 3.
Later tasks of Lab. 1 For more details – see the Lab. 1 web-site There will be a 20 min prelab quiz (based on Assignment 1 and 2) at the start of the lab.
Professor: Dr Kepuska Presented by Kyle Farnum. Audio Manipulation through utilizing three types of filters: Low-pass filters Band- pass filters High-
A Few Words From Dilbert
MCU: Interrupts and Timers Ganesh Pitchiah. What’s an MCU ?
Lecture 11: TI MSP430 Timers Compare Modes
LAB 8: Program Design Pattern and Software Architecture
EZ-Additive Synthesizer By Max Bastien 12/14/07. Problem Statement Mystery of keyboards reproducing a wide range of sounds from any particular instrument.
Home Audio System Stephen Whitaker March 2, 2009 Microcomputer Systems I Dr. Kepuska.
FREQUENCY COUNTER USING Silicon Labs C8051F020 microcontroller
Lab. 2 Overview Move the tasks you developed in Lab. 1 into the more controllable TTCOS operating system Manual control of RC car.
Timer Timer is a device, which counts the input at regular interval (δT) using clock pulses at its input. The counts increment on each pulse and store.
Digitalized Surround Sound Effects Using ADSP BF 533 Kunal Gupta ECE 3551, 03 Fall, 2006.
Audio Led Bargraph Equalizer Final Project for ECE /02/09 Instructor: Dr Kepuska By; Anushan Weerasooriya & Chris Guzowski.
SDRAM Load and Play By Hernacki, Kevin ECE3551 Final Project 25 April 2008.
Danielle Roy.  The goal of this project is to create an emulation of a popular children’s game. This game flashes a pattern at the player, and the player.
1 Interrupts, Resets Today: First Hour: Interrupts –Section 5.2 of Huang’s Textbook –In-class Activity #1 Second Hour: More Interrupts Section 5.2 of Huang’s.
Introduction The goal of this project was to create device similar to a DJ mixing board. Features: Controlling the input and output buffers Applying sound.
Microcomputer Systems I ECE 3551 Fahad Alqasim Instructor: Dr. Kepuska.
 By: Stanley O. Abada Presented to: Dr. V Kepuska December 4, 2010 Microcomputer 1.
Simon Says ECE 3551 Microcomputer Systems I Elizabeth Nelson.
Interrupts Microprocessor and Interfacing
Handling multiple input signals Version #2 – co-operative scheduler Version #3 – pre-emptive scheduler.
Chapter 5 - Interrupts.
Audio Manipulation And Buffers using DSP-BF533 EZ-KIT Lite Dr. Veton Z. Këpuska By Husain Alotaibi Ahmed Alalyak ECE 3551 Microcomputer System I Spring.
Microcomputer Systems I ECE 3551 – Fall 2010 Ryan M. Winget.
Carey Eugene ECE 3551 May 5, The purpose of this project was to design and implement a karaoke machine with chipmunk audio effects. And then run.
Arduino libraries Datatekniker Udvidet hardware/software.
Microcomputer 1 Final Phantom Speakers Patrick Marinelli Matt Hopkins.
1 Run-to-Completion Non-Preemptive Scheduler. 2 In These Notes... What is Scheduling? What is non-preemptive scheduling? Examples Run to completion (cooperative)
ECE 3551 – Microcomputer Systems I By Md. Raqiq Islam AUDIO EFFECTS IMPLEMENTATION.
“Uber” Box Multifarious Systems 1 Pattarapong Rojanasthien Will Matthau.
By: Ryan Etwaru. Demonstrate the ability to implement functionality on a BlackFin Processor Implement on input signal: Audio Effects Echo Vibrato Change.
Aaron Worob.  Create a program using the Blackfin BF533 that allows the user to “move” the source of input sound.
Microcomputer systems 1 ECE 3551 Dipesh Patel.  Activating Filters using the pushbuttons.  Combination of LEDs turned on with each pushbutton pressed.
Chapter 10 Interrupts. Basic Concepts in Interrupts  An interrupt is a communication process set up in a microprocessor or microcontroller in which:
Lab 7 Basic 1: Game of Memory
Chapter 11 INTERRUPTS PROGRAMMING
Microprocessor Systems Design I
UNIT – Microcontroller.
Day 08 Processes.
Day 09 Processes.
Interrupt Source: under
8259-programmable interrupt controller
8-Bit Timer/Counter 0 Counter/Timer 0 and 2 (TCNT0, TCNT2) are nearly identical. Differences: -TCNT0 can run off an external 32Khz clock (Tosc) or the.
Microcomputer Systems 2
Microcomputer Systems 1
Interrupt.
Lab. 2 Overview.
Thermal arm-wrestling
Interrupt Programming
Lab. 2 – More details – Later tasks
Interrupt Source: under
See the Lab. 1 web-site and later lecture notes for more details
General purpose timers
Interrupt Source: under
General purpose timers
Thermal arm-wrestling
8051 Micro Controller.
Revision I This presentation gives you some hints for solution of selected problems.
Post Lab Quiz 3 Review Assignment 2 Help
Display Interrupt Service Routine for cargo monitoring system
Writing Warm-Up #25.
Presentation transcript:

Sound effects with Rotation control Prateek Jain May 2,2009 Microcomputer Systems I Dr. Kepuska

Overview Purpose Audio Generation Code Demo Talkthrough.h Main.c Initialize.c ISR.c Process_data.c Demo

Purpose Press PF8 once: rotation of sound is heard in anti-clock wise direction. Press PF8 twice: rotation of sound is heard in clock wise direction. Press PF9: echo effect is heard and when pressed again its off. Press PF10: Bouncy effect is heard and when pressed again its off.

Talkthrough.h …//Surround Sound void Surround_Snd(void); extern int SkipPosition; extern int check; extern int checkleft; extern int checkright; extern int echosound; extern int bouncysound; void LeftSurround(void); void RightSurround(void); void echoeffect(void); void bounceeffect(void);

Main.c …int SkipPosition = 0; int bouncysound=0; int check = 0; int echosound=0; int checkleft=0; int checkright=0;

Initialize.c … void Init_Interrupts(void) { // Set System Interrupt Assignment Registers //2 for Sport0 RX, 5 for Flag A, and 4 for Timer0 *pSIC_IAR0 = 0xffffffff; *pSIC_IAR1 = 0xffffff2f; *pSIC_IAR2 = 0xffff5ff4; // assign ISRs to interrupt vectors register_handler(ik_ivg9, Sport0_RX_ISR); register_handler(ik_ivg12, FlagA_ISR); register_handler(ik_ivg11, Timer0_ISR); // enable interrupts Timer0, Sport0 RX, and Flag A *pSIC_IMASK = 0x00090200; }

Initialize.c (cont’d) … void Init_Flags(void) { *pFIO_INEN = 0x0700; //need PF8, PF9, and PF10 *pFIO_DIR = 0x0000; *pFIO_EDGE = 0x0700; *pFIO_MASKA_D = 0x0700; } void Init_Timers(void) *pTIMER0_CONFIG =0x0019; *pTIMER0_PERIOD =0x03000000; *pTIMER0_WIDTH =0x00200000; *pTIMER_ENABLE =0x0001;

Process_data.c void echoeffect(void) {static short echoBufferL[4000],echoBufferR[4000]; int left, right; static int i = 0; echoBufferL[i] = (short)(iChannel0LeftIn>>8) + (echoBufferL[i]/2); echoBufferR[i] = (short)(iChannel0RightIn>>8) + (echoBufferR[i]/2); left = echoBufferL[i]; right = echoBufferR[i]; I Channel0LeftOut = left << 8; iChannel0RightOut = right << 8; if(i>=4000-1) i = 0; else i++; }

Demo

Questions?