Constructing An Audio Player

Powerful Essays
Using Pulse-Width Modulation and Audio Sampling Techniques to
Construct an Audio Player with a Field-Programmable Gate Array John C. Greavu III
University of Minnesota, School of Physics and Astronomy

I. INTRODUCTION
8-bit and 16-bit audio players were built by employing pulse-width modulation (PWM) techniques with a field-programmable gate array (FPGA). Basic PWM and audio playing methods are explained in detail. A sigma-delta modulation module, specifically, was programmed into a Basys FPGA in Verilog to produce the audio signal. In addition, several other Verilog modules were needed to complete the player: a 25 MHz to 44.1 kHz clock converter, address counter, and byte readers. Documented code for all the modules is provided. The techniques explored here are practical, efficient, and therefore, popular methods for audio sampling and listening as well as other digital to analog applications.

II. THEORY & SETUP
To first get a better understanding of pulse-width modulation, consider the schematic of the LED dimming circuit shown in Figure 1.

Figure 1: A light dimmer. A switch controls if the LED is on or off. The LED is on when it’s connected to the battery (switch upwards).

The LED can only be completely on or completely off; its instantaneous brightness is never actually between the two. However, if the switching rate equals or exceeds the response rate of our human eyes, instead of the binary on-off switching, our eyes act as “averagers” and the LED is perceived to have
“dimmed”. This averaging is analogous to our eyes acting as an RC low-pass filter (see Figure 2). If the switching rate is periodic, then the time it takes for a full switching cycle Tswc is given by
!

T ≡ T +T
! swc on off

(1.1)

where Ton is the time the switch is on and Toff is the time that it is off. The frequency or rate of
!
! switching is f swc =

1
1
=
Tswc Ton +Toff

(1.2)

!
To automate and keep the switching periodic, an algorithm was written and implemented

You May Also Find These Documents Helpful

  • Powerful Essays

    INNOVATION MANAGEMENT IN THE MP3 AUDIO PLAYER INDUSTRY 8 August 2006 Erik Westerman Question 1 I have chosen the personal stereo industry (home entertainment sector) as a sector of interest. Portable audio products, starting with the cassette tape Walkman, and finishing with the MP3 player involve major innovations as the main reason why there has been such radical change over the last ten years. The main leaders of today hardly resemble the top competitors 10 years ago. The leader…

    • 2960 Words
    • 12 Pages
    Powerful Essays
  • Powerful Essays

    Audio Mastering

    • 3525 Words
    • 15 Pages

    every good mastering engineer, meticulousness and attention to detail is the norm, not the exception. What is Mastering? • Mastering is the last creative step in the audio production process, the bridge between mixing and replication – your last chance to enhance sound or repair problems in an acoustically – designed room – an audio microscope. What is a Mastering Engineer? • A Mastering Engineer requires the same ear training as a recording and mixing engineer, except that the mastering engineer…

    • 3525 Words
    • 15 Pages
    Powerful Essays
  • Good Essays

    Constructing a Questionaire

    • 3089 Words
    • 13 Pages

    Constructing a Questionnaire The Steps in a Survey Project 1.Establish the goals of the project - What you want to learn? 2.Determine your sample - Who you will ask? 3.Choose interviewing methodology - How you will ask? 4.Create your questionnaire - What you will ask? 5.Pre-test the questionnaire, if practical - Test the questions. 6.Analyze the data - Produce the reports. Questionnaire Question Type 1 Dichotomous Questions When a question has two possible responses,…

    • 3089 Words
    • 13 Pages
    Good Essays
  • Satisfactory Essays

    Digital Audio

    • 573 Words
    • 3 Pages

    Digital Audio Digital Audio refers to the reproduction and the transmissions of a stored sound in a digital format. This includes things like CDs or mp3s and other forms of sound that can be stored on a computer. In contrast for instance say the telephone system, which is stored in a completely different format which is called the analogue system. In sound recording and reproduction systems, digital audio refers to a digital representation of the audio waveform for processing. Digital Audio came…

    • 573 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Audio Amplifier

    • 522 Words
    • 3 Pages

    Project – “Stereo Audio Compressor” Starting speech Audio compressors that use a light source to control a Light Dependent Resistor (LDR) are not new, and indeed there are many classic optical compressor designs. The design goal of the SOC-1.1 was to further enhance the attributes of optical compression to provide the user with alot more functionality as well as improve the compressor response to real world audio signals. We have carefully examined the characteristics of the LDR and developed…

    • 522 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Audio Mastering

    • 9603 Words
    • 39 Pages

    now own the audio equivalent of a Formula One Racing Car. Have you ever ridden in a finely-tuned racecar on a cross-country track with a professional driver? I have. It 's more exhilarating than any theme park ride. Every corner is carefully calculated. Every tap on the brake is just enough to make it around the curve without going off the road. Such great power requires great responsibility, and the same is true for owners of the Finalizer. Now you 're the driver, you can do an audio "wheelie" any…

    • 9603 Words
    • 39 Pages
    Powerful Essays
  • Satisfactory Essays

    Audio Production

    • 341 Words
    • 2 Pages

    chose the audio production and engineering relating to the Music field. Music is not only beats and rhymes; it is a statement of life, and now days a way to make a fortune. It relaxes, motivates and is a great hobby for the idol one. In addition to this Music has been around for more than a thousand years and has a very colossal impact on every existing culture while still developing with new innovative sounds, techniques and not to mention jobs. Today there are over 2 million jobs in the audio production…

    • 341 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Audio Vision

    • 291 Words
    • 2 Pages

    Audio-vision Main characteristics • The text (movie or audiovisual material) structures our vision. And not the other way around. • Moving Images tend to be vococentric or verbocentric. • Intensity of sounds (measured in db.) and different terms or planes (sound levels). • Synchronization points: when a visual occurrence coincides with an auditive occurrence. 1) A “hit” as a synchronization point; 2) An avoided synchronization point; 3) An elasticized synchronization point. • Implied synchronization…

    • 291 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Audio Visual

    • 17153 Words
    • 69 Pages

    Module Notes Compiled by: Akash Sharma Session Topics | Module Member | Roll No. | Colour, TV world milestones till 1956 | Aishwarya Nair | 629 | Role of spectator, Approved channels and Violations of the Code | Yash Thakur | 649 | Production Process | Ujjwal Sen | 625 | Credits, Codes and Guidelines for Downlinking | Sujay Kulkarni | 639 | Script Writing, Ministry of Information and Broadcasting, Prasar Bharati, Codes and Guidelines for Uplinking | Shagun Lidhoo | 711 | Direction…

    • 17153 Words
    • 69 Pages
    Good Essays
  • Good Essays

    Constructing Meaning

    • 1116 Words
    • 5 Pages

    Elements for comparison and contrast Payne & Gainey text Tsui text Description in my own words Evidence from the text (include direct quotes and page numbers) Description in my own words Evidence from the text (include direct quotes and page numbers) Explicit meaning The goal of the article is to provide instructors with a variety of strategies for engaging students to participate in classroom controversial discussions and enhancing their critical thinking skills at the collegiate…

    • 1116 Words
    • 5 Pages
    Good Essays