The Sound of Music – Gone Digital! Sarah-Jean Cunningham Anne Romeo 6.111 Introductory Digital Systems Laboratory 14th December 2005 Abstract This report describes the implementation in Verilog of a Digital Musical Tutorial Guide. The goal of the project is to design and implement an animated music tutorial for young children. The user will be able to associate a certain sound/note, within a range of a couple of octaves, with its name with the help of an associated video figure. The sequence of notes inputted by the user is stored in a memory unit, and can be played back on request. The notes are sent to a module which synthesises the notes of a piano and outputs the sound. A directory was created containing 14 different images, each corresponding to a note from Do to Ti. There will also be a game which tests perfect pitch. Here, the system will output a random note and ask the user to guess which note it is. A message is then displayed informing the user whether they got it right or not. The finalContents 1 INTRODUCTION .................................................................................3 1.1 Basic Overview.......................................................................................................................................3 1.2 Basic Architecture..................................................................................................................................3 2 MODULE DESCRIPTION AND IMPLEMENTATION..............4 2.1 Synchronizer...........................................................................................................................................4 2.2 Keyboard (AR).......................................................................................................................................4 2.3 Decoder (SJC).........................................................................................................................................4 2.4 AC97 Interface Modules (AR).......................................................................................................................5 2.5 Ten Hz Divider (AR)..............................................................................................................................5 2.6 Recorder/Playback or Storage Module (AR)...............................................................................................5 2.7 32kx16 BRAM (AR).......................................................................................................................................5 2.8 Finite State Machine (AR).............................................................................................................................5 2.9 On/Off Button Module (AR)..........................................................................................................................6 2.10 Synthesizer (AR)...........................................................................................................................................7 2.10.1 DDS IPCore Module.....................................................................................................................7 2.11 Video (SJC).............................................................................................................................................9 2.11.1 Images..........................................................................................................................................10 2.11.2 Text ..............................................................................................................................................10 2.12 Game (SJC)...........................................................................................................................................10 3 TESTING AND DEBUGGING..........................................................11 3.1 The General Strategy ...................................................................................................................................11 3.2 Debugging Methods Used....................................................................................................................11 3.2.1 Simulation, Test Bench, Logic Analyser.............................................................................................11 3.2.2 Progressive Implementation ................................................................................................................11 4 PROBLEMS ENCOUNTERED.....................................................11 5 CONCLUSION ................................................................................12List of Figures Figure 1: System Block Diagram.............................................................................................. 4 Figure 2: Recorder RAM inputs and outputs............................................................................ 5 Figure 3: Recorder State Diagram ............................................................................................ 6 Figure 4: DDS Core (detailed view), Xilinx LogiCore Product Specification, fig 16.............. 7 Figure 5: A Block Diagram of the VGA Interface ................................................................... 9 Figure 6: Only assigns alternate pixels, thus doubling the size of the image ......................... 10 List of Tables Table 1: Recorder FSM state detail .......................................................................................... 6 Table 2: Phase Increment and Phase Offset Memory Map (dds_chan value).......................... 8 Table 3: Notes Value and Phase Increment .............................................................................. 9 1 INTRODUCTION 1.1 Basic Overview The idea behind the project came from a discussion on what helps people to learn how to read/recognise music. It is also true that this is a skill that like many things is a lot more easily obtained during childhood. So the idea is to produce a scheme that teaches children how to read, play and recognise musical notes. A large portion of the project will be the actual synthesis of the notes. The aim is to produce a piano like sound. The secondary part of the project will be the visual display. This will play a key part in getting the children to form a connection between sound and sheet music. 1.2 Basic Architecture The system must accept player inputs via a keyboard and act accordingly. The basic
View Full Document