2 Sound Audio System

Multimedia Computing · Unit 2 · 6 hrs

Sound /Audio System

Exam-focused notes for Sound /Audio System (Multimedia Computing, CSC330): what the TU syllabus asks and how it has actually been tested, with 2 solved past questions from this unit.

Sound /Audio System in short

Sound is a continuous, time-dependent medium, so this chapter looks at how a computer captures a sound wave, converts it into a digital signal, and generates, analyses and transmits speech, the most structured kind of sound a multimedia system has to handle.

Sound /Audio System: notes

Concepts of Sound System

Sound is a physical phenomenon produced by the vibration of matter and transmitted through the air as a wave of alternating high and low pressure; when such a wave reaches the human ear, it is heard as sound. Two quantities describe a sound wave. Frequency is the reciprocal of the period, the time taken for the waveform to repeat its shape once, and is measured in Hertz (Hz), one cycle per second: $$ f = \frac{1}{T}. $$

Human hearing covers roughly 20 Hz to 20 kHz; below this range lies infrasound, and above it lies ultrasound (20 kHz to 1 GHz) and then hypersound, so a multimedia system normally only needs to reproduce sound within the audible range. Amplitude is the loudness of the sound, measured as the displacement of the air-pressure waveform from its resting mean.

To store sound in a computer, a transducer first converts the pressure wave into a voltage signal, and the resulting analogue signal is converted to digital form by sampling: the amplitude of the wave is measured at regular time intervals, called the sampling rate, and each measured amplitude is a sample. The sample values are then quantized, that is, rounded to one of a fixed number of discrete levels set by the number of bits used per sample; an 8-bit quantization allows 256 possible amplitude levels. Coarser quantization gives lower sound quality and finer quantization gives higher quality. For lossless digitization, the sampling rate must be at least twice the highest frequency present in the signal (the Nyquist rate).

Worked example (CD-quality audio). Audio file size is computed as sample rate times bit depth times number of channels times duration. For CD-quality audio, sampled at 44.1 kHz with 16-bit quantization in stereo (2 channels), one minute of uncompressed audio requires $$ \begin{aligned} \text{Size} &= 44{,}100\ \text{Hz} \times \frac{16\ \text{bits}}{8\ \text{bits/byte}} \times 2\ \text{channels} \times 60\ \text{s} \ &= 44{,}100 \times 2 \times 2 \times 60\ \text{bytes} \ &= 10{,}584{,}000\ \text{bytes} \ &= 10{,}335.94\ \text{KB} \ &\approx 10.09\ \text{MB}. \end{aligned} $$

Hardware that performs this conversion in both directions, using an analogue-to-digital converter (ADC) for input and a digital-to-analogue converter (DAC) for output, is called sound hardware.

What this unit covers

  • Concepts of Sound System
  • Music and Speech
  • Speech Generation
  • Speech Analysis
  • Speech Transmission

Speech Generation

2081 · 5 marks

How can you generate the speech in multimedia system? Explain. [5]

Show solved answer

Speech Generation in Multimedia Systems

Introduction

Speech generation (also called speech synthesis) is the process by which a computer system produces human-like spoken output from text or other input data. It is a key component of multimedia systems, as speech is a time-dependent (continuous) medium that is perceived through hearing.


Components of a Speech Synthesis System

Speech synthesis uses time-dependent sound concatenation. The major components are:

Text --> Transcription --> Sound Script --> Synthesis --> Speech
         (letter-to-phone rules)  (Sound Transfer Dictionary of Expectations)

1. Text Input

  • The process begins with raw text as input.
  • This text needs to be converted into a form that can be spoken.

2. Transcription (Letter-to-Phone Rules)

  • The text is transcribed using letter-to-phone rules.
  • These rules map written characters/words to their corresponding phonetic representations.
  • For example, the word "phone" is mapped to the sounds /f/, /o/, /n/.

3. Sound Transfer / Dictionary of Expectations

  • A dictionary of expectations is used to handle ambiguous or irregular pronunciations.
  • It stores pre-defined phonetic mappings for known words.
  • This step resolves ambiguities that simple letter-to-phone rules cannot handle.

4. Sound Script

  • A sound script is generated, which is a structured phonetic description of what needs to be spoken.
  • It includes information about phonemes, stress, intonation, and timing.

5. Synthesis

  • The sound script is passed to the synthesis engine.
  • The synthesis engine combines phonetic units (phonemes or syllables) to produce continuous speech.
  • This is done using time-dependent sound concatenation, where pre-recorded or mathematically modeled sound units are joined together.

6. Speech Output

  • The final output is audible speech, which is played through a speaker (a presentation/output medium).

AspectDetail
Medium typeTime-dependent (continuous) medium
PerceptionHeard through speakers (output presentation medium)
Frequency rangeWithin the range of human hearing
StorageStored digitally on hard disk, CD-ROM, etc.
TransmissionTransmitted over coaxial cable, fiber optics, or free air

Summary

Speech generation in a multimedia system involves converting text into phonetic representations using letter-to-phone rules and a dictionary of expectations, forming a sound script, and then synthesizing it into audible speech through concatenation of sound units. Since speech is a continuous/time-dependent medium, its correct rendering requires careful synchronization and digital representation, which are core characteristics of any multimedia system.

Open this answer on its own page →

2080 · 5 marks

How speech is generated? Describe. [5]

Speech generation is the computer-generated simulation of human speech. It refers to the process by which computers produce or synthesize speech that resembles natural human voice. --- The following are the fundamental concepts involved in speech generation: Component Description ----------------...

Open this answer on its own page →