The Audio Synthesizer

Similar documents
Using the CODEC ReadMeFirst

Stratix II Filtering Lab

ArbStudio Triggers. Using Both Input & Output Trigger With ArbStudio APPLICATION BRIEF LAB912

Lab 4 An FPGA Based Digital System Design ReadMeFirst

Introduction to Simulation of Verilog Designs. 1 Introduction

Cyclone II Filtering Lab

Page 1/10 Digilent Analog Discovery (DAD) Tutorial 6-Aug-15. Figure 2: DAD pin configuration

DigiKeyer and N1MM Logger+ Setup

Tektronix digital oscilloscope, BK Precision Function Generator, coaxial cables, breadboard, the crystal earpiece from your AM radio kit.

Lab Report #7 Alex Styborski, Daniel Telesman, and Josh Kauffman Group 12 March 22, 2013 Abstract

Introduction to Simulation of Verilog Designs. 1 Introduction. For Quartus II 13.0

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab

Stratix Filtering Reference Design

Mic Mate Pro. User Manual

EE 308-Digital Electronics Laboratory EXPERIMENT 8 FLIP FLOPS AND SEQUENTIAL CIRCUITS

Precalculations Individual Portion Introductory Lab: Basic Operation of Common Laboratory Instruments

Name: First-Order Response: RC Networks Objective: To gain experience with first-order response of RC circuits

EE477 Digital Signal Processing Laboratory Exercise #13

Introduction to Simulation of Verilog Designs. 1 Introduction. For Quartus II 11.1

Lab Report #10 Alex Styborski, Daniel Telesman, and Josh Kauffman Group 12 Abstract

Name: Resistors and Basic Resistive Circuits. Objective: To gain experience with data acquisition proto-boards physical resistors. Table of Contents:

Lab 6 - MCU CODEC IIR Filter ReadMeFirst

RigExpert TI-7 USB Transceiver Interface User s manual

This tutorial will guide you through the process of adding basic ambient sound to a Level.

Laboratory Experiment #1 Introduction to Spectral Analysis

Name EET 1131 Lab #2 Oscilloscope and Multisim

EE25266 ASIC/FPGA Chip Design. Designing a FIR Filter, FPGA in the Loop, Ethernet

Veterinary Digital X-Ray System Quick Start Guide

micro KEYER and N1MM Logger+ Setup

EENG-201 Experiment # 4: Function Generator, Oscilloscope

Lab 1B LabVIEW Filter Signal

Introduction to Simulation of Verilog Designs Using ModelSim Graphical Waveform Editor. 1 Introduction. For Quartus II 13.1

Set-up. Equipment required: Your issued Laptop MATLAB ( if you don t already have it on your laptop)

About the DSR Dropout, Surge, Ripple Simulator and AC/DC Voltage Source

Getting started with Mobile Studio.

Introduction to the Analog Discovery

TouchMix Series. Quick Start Guide. Installing the Windows Driver. Non-DAW audio playback from computer. TouchMix-30 Pro settings.

uiulearn TUTORIAL INTEGRATIONS> HOW TO USE PANOPTO (STUDENT)

Basic FPGA Tutorial. using VHDL and VIVADO to design two frequencies PWM modulator system

How To Handbook For Learners

Lab 4: Using the CODEC

Dayton Audio is proud to introduce DATS V2, the best tool ever for accurately measuring loudspeaker driver parameters in seconds.

Dayton Audio is proud to introduce DATS V2, the best tool ever for accurately measuring loudspeaker driver parameters in seconds.

Omniverse Setup Instructions

RC Filters and Basic Timer Functionality

1.5k. (a) Resistive Circuit (b) Capacitive Circuit

MK2R/MK2R+ and Logger32 Setup

uchat Model No. AC-406 Crystal clear audio on Skype, ichat & AIM Talk and walk without uncomfortable headsets

Introduction to basic laboratory instruments

Lab #1 Lab Introduction

Printer Driver. This guide describes how to set up the Printer Driver for Windows 7.

Lab 6 Using PicoBlaze. Speed Punching Game

Entering Checkpoint Data

EXPERIMENT 1: INTRODUCTION TO THE NEXYS 2. ELEC 3004/7312: Signals Systems & Controls EXPERIMENT 1: INTRODUCTION TO THE NEXYS 2

Explore and Challenge:

Accessing e-books with your e-reader

User s Guide. DDS-3005 USB Operation Manual

Lab 2: Digital Modulations

University of Pennsylvania Department of Electrical and Systems Engineering Digital Audio Basics

Exercise 2-1. PAM Signals EXERCISE OBJECTIVE DISCUSSION OUTLINE. Signal sampling DISCUSSION

Campus Fighter. CSEE 4840 Embedded System Design. Haosen Wang, hw2363 Lei Wang, lw2464 Pan Deng, pd2389 Hongtao Li, hl2660 Pengyi Zhang, pnz2102

EE 307 Project #1 Whac-A-Mole

LAB II. INTRODUCTION TO LABVIEW

BeRadio SDR Lab & Demo

LAB I. INTRODUCTION TO LAB EQUIPMENT

Disable Windows Sounds

Lab 0: Introduction to basic laboratory instruments. Revised by Dan Hoang & Tai-Chang Chen 03/30/2009

IME-100 ECE. Lab 1. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

Analog Discovery Arbitrary Function Generator for Windows 7 by Mr. David Fritz and Ms. Ellen Robertson

USB Microphone. Marshall Electronics

Junior Digital circuit experiment board. Use for the experimentation of digital circuits both TTL IC and CMOS DC supply :

bus waveforms transport delta and simulation

Lab 1: Introduction to Laboratory Equipment ReadMeFirst

FX 3U -20SSC-H Quick Start

Combinational Logic Design CH002

SoundCheck 11 Quick Start Guide

Tutorial #2: Simulating Transformers in Multisim. In this tutorial, we will discuss how to simulate two common types of transformers in Multisim.

Physics 472, Graduate Laboratory DAQ with Matlab. Overview of data acquisition (DAQ) with GPIB

UNIVERSITI MALAYSIA PERLIS

ArbStudio Training Guide

Real Analog - Circuits 1 Chapter 11: Lab Projects

Real Analog - Circuits 1 Chapter 1: Lab Projects

Experiment 1.A. Working with Lab Equipment. ECEN 2270 Electronics Design Laboratory 1

MINIMUM SYSTEM REQUIREMENTS

Line 6 GearBox Version 2.0 Release Notes

micro KEYER II and WriteLog Setup

SDR 4++ Dual Diversity SDR Receiver. Operating Guide. version 1.0

E x p e r i m e n t 2 S i m u l a t i o n a n d R e a l - t i m e I m p l e m e n t a t i o n o f a S w i t c h - m o d e D C C o n v e r t e r

LAB II. INTRODUCTION TO LAB EQUIPMENT

Configuring Digital Mode for Radios with USB

TEMPO USB MICROPHONE

TRBOnet Mobile. User Guide. for ios. Version 1.8. Internet. US Office Neocom Software Jog Road, Suite 202 Delray Beach, FL 33446, USA

UC Berkeley, EECS Department

SonicCell. Using SonicCell with GarageBand. Workshop ÂØÒňÎ. Expandable Synthesizer Module and Audio Interface SCWS06 1

MultiSim and Analog Discovery 2 Manual

Design Document. Embedded System Design CSEE Spring 2012 Semester. Academic supervisor: Professor Stephen Edwards

MUSC 1331 Lab 3 (Northwest) Using Software Instruments Creating Markers Creating an Audio CD of Multiple Sources

TRBOnet Mobile. User Guide. for Android. Version 2.0. Internet. US Office Neocom Software Jog Road, Suite 202 Delray Beach, FL 33446, USA

R&S RTO-K92 emmc Compliance Test Test Procedures

OPERATIONAL AMPLIFIERS LAB

Transcription:

The Audio Synthesizer Lab Summary In this laboratory, you will construct an audio synthesizer. The synthesizer generates signals for various tones that you will use for your Simon push buttons and win/lose state. The synthesizer generates waveforms by cycling through a ROM file which defines one period of the wave. The rate at which the ROM addresses are changed, determines the frequency of the waveform. Lab Supplies DE2 Board Simon Game Box Speaker

Part 1: Sine Wave Synthesizer Watch the Synthesizer video. Open your latest SimonGame project to continue the design this week. In Add an additional schematic file, and recreate the 32-bit Sine Wave Synthesizer seen in the video and schematic below. Name the file Audio. The sin_16bit.mif file can be downloaded from the lab website and should be copied into your project folder and added to your project. Figure 1. 32-bit Sine Wave Synthesizer After creating the schematic, calculate the P-value you will need to generate a 200 Hz sine wave and replace the random 320000 constant value with that value. Create a symbol file of your Sine Wave Synthesizer and name it Audio. Place the Audio symbol next to the CODEC and connect the AUD_DACLRCK clock to the clock input of the Audio block. Name the output bus sound[15..0] and bit shift the output to the AUD_outL/R inputs as seen in the video or schematic below. Figure 2. Audio Symbol

Next, we will look at the 200 Hz Sine Wave using Signal Tap. 1. First, compile your project ensuring that the CODEC is set as the top-level entity. 2. Once the project is compiled, go to Tools -> Signal Tap Logic Analyzer. 3. In the Signal Tap Logic Analyzer screen, set the Hardware to USB-Blaster. 4. Next, Signal Tap: pre-synthesis as Filter, then click List. 5. Select AUD_DACLRCK from the list. 6. Set the Sample Depth to 8k. 7. Under the Setup (or Data) window double-click or right-click and select Add Nodes Add the sound output to the list the same way you added the AUD_DACLRCK. 8. Uncheck both Trigger Conditions and Trigger Enable. 9. Save your file if you haven t already. Use the default name that is assigned. 10. Start the compilation by clicking on the icon. 11. Once the project has recompiled, reprogram the project as well. 12. Finally, run the analysis by clicking on the Run Analysis button. 13. Under the Data tab, right-click sound, select Bus Display Format -> Signed Line Chart. You should now be able to observe the sine wave output. Checkpoint 1: Show the 200 Hz sine wave on Signal Tap to the Lab Monitor or TA.

Part 2: Audio Synthesizer Now modify your Audio schematic to include five different constant values like the in the schematic below. Figure 3. Modified Audio Schematic The constant values are: Wrong 13000000, Green 41696974, Red 31227991, Yellow 24785540, Blue 20848487. Update the symbol file for Audio and delete and replace the Audio symbol at the toplevel with the new Audio symbol. Next, you will create a block to take the 4 outputs from the debounce block that you created last week, as inputs and select the appropriate sound output based on which input is selected. The following are the GPIO and LED relations: GPIO[7] green, GPIO[6] red, GPIO[5] yellow, GPIO[4] blue. There are multiple ways this can be done, however an easy way to do this is to create a new vhdl block similar to how the seven segment display block was designed using when/else assignments. Start by creating a new VHDL file and call it SoundDecoder. Your code should be very similar to the file that you created in Lab 2 part 3. After writing the VHDL code, create a symbol file and add it to the CODEC schematic and make the appropriate connections. Compile and program the project and check to see if the project works as intended. Checkpoint 2: Show the working audio project along with your VHDL code to the lab monitor or TA. Checkpoint 3: Clean up and show your workbench to the lab monitor or TA.

Discussion Questions 1. Describe how the content of a ROM (.mif file) is converted to a continuous synthesized waveform. 2. How would the Matlab mif_write_sine.m file code change if you were to design a ROM with 16- bit values and 512 points of a square wave? 3. What P value would you use to create a 500 Hz sine wave for a width of 16-bit and a 16 KHz sampling rate? 4. For the parameters used in the lab, what frequency would we get for a P value of 447,392,427?