1 / 8

Loop Board

ECE 3551 Final Project by Brian Robl. Loop Board. Objectives. Use the Blackfin BF533 EZ-KIT to create a 4 track audio looper. Utilize 32MB of external SDRAM. Push buttons used to toggle recording off and on. LEDs signify if recording is enabled or disabled.

Download Presentation

Loop Board

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ECE 3551 Final Project by Brian Robl Loop Board

  2. Objectives • Use the Blackfin BF533 EZ-KIT to create a 4 track audio looper. • Utilize 32MB of external SDRAM. • Push buttons used to toggle recording off and on. • LEDs signify if recording is enabled or disabled. • Pointers used to record and loop audio.

  3. Common Uses • Musicians use loop pedals to overlay recorded tracks over one another. • Make a fuller sound • Creating songs • Djs may use this to mix songs together.

  4. Recording to the SDRAM • SDRAM split into 4 partitions. One for each track. ///////////Right Channel0 Partition//////////////////////// #define pRAMstartR (volatileunsignedint *)0x800000 #define pRAMendR (volatileunsignedint *)0xFFFFFC ///////////Right Channel1 Partition//////////////////////// #define pRAMstartR1 (volatileunsignedint *)0x1800000 #define pRAMendR1 (volatileunsignedint *)0x1FFFFFC ///////////Left Channel0 Partition//////////////////////// #define pRAMstartL (volatileunsignedint *)0x00000000 #define pRAMendL (volatileunsignedint *)0x7FFFFC ///////////Left Channel1 Partition//////////////////////// #define pRAMstartL1 (volatileunsignedint *)0x1000000 #define pRAMendL1 (volatileunsignedint *)0x17FFFFC

  5. Recording Cont. • Pointer set to starting address of partition. • Stores sample and then address gets incremented. if(channel == 0) { if(pRecordR <= pRAMendR) //if record pointer address is less than ending address for Channel0R partition { iChannel0RightOut = iChannel0RightIn; //output input in real-time *pRecordR = iChannel0RightIn; //input becomes recorded pRecordR++; //increment address for record pointer if(pRecordR > pRAMendR) { pRecordR = pRAMstartR; pF8_LED = 0x00; //turn off LED ucActive = pF8_LED|pF9_LED|pF10_LED|pF11_LED; *pFlashA_PortB_Data = ucActive; } Process_Data(); //output rest

  6. Loop Playback • Another pointer is used to iterate through the memory partition that contains data and store it in the output. if(channel == 0) { if(playR < pRecordR) //if play pointer address is less than end recording pointer address { iChannel0RightOut = *playR; //output recorded data until end of recording playR++; //increment address for play pointer } elseif(playR >= pRecordR) //if end of recording address is reached, { playR = pStopR; //reset pointer to beginning } Process_Data(); //output recording

  7. Playback cont. • Recorded audio played back from each output channel. • Ichannel0LeftOut • Ichannel0RightOut • Ichannel1LeftOut • Ichannel1RightOut

  8. Questions? • Thank you for your attention.

More Related