Multimedia Authoring1 Introduction to Sound History A Brief History of Computer MusicA Brief History of Computer Music MIDI Analogue sound Digital audio.

Slides:



Advertisements
Similar presentations
Fundamentals of Audio Production. Chapter 6. 1 Fundamentals of Audio Production Chapter Six: Recording, Storing, and Playback of Sound.
Advertisements

Analog Representations of Sound Magnified phonograph grooves, viewed from above: When viewed from the side, channel 1 goes up and down, and channel 2 goes.
Introduction to Digital Audio
MULTIMEDIA TUTORIAL PART - III SHASHI BHUSHAN SOCIS, IGNOU.
Basic Audio Production
A Dan Turkel Production. What is sound?  Sound is a wave of pressure oscillation. Sound is measured in amplitude (the height of the wave, how loud it.
Digital Signal Processing
Sound in multimedia How many of you like the use of audio in The Universal Machine? What about The Universal Computer? Why or why not? Does your preference.
Sound can make multimedia presentations dynamic and interesting.
Part A Multimedia Production Rico Yu. Part A Multimedia Production Ch.1 Text Ch.2 Graphics Ch.3 Sound Ch.4 Animations Ch.5 Video.
I Power Higher Computing Multimedia technology Audio.
SWE 423: Multimedia Systems Chapter 3: Audio Technology (2)
5/4/20151 Lesson 5 Sound. 5/4/20152 Overview Introduction to sound. Multimedia system sound. Digital audio. MIDI audio. Audio file formats.
SIMS-201 Characteristics of Audio Signals Sampling of Audio Signals Introduction to Audio Information.
IT-101 Section 001 Lecture #8 Introduction to Information Technology.
Digital Audio.
Digital audio recording Kimmo Tukiainen. My background playing music since I was five first time in a studio at fourteen recording on my own for six months.
Image and Sound Editing Raed S. Rasheed Sound What is sound? How is sound recorded? How is sound recorded digitally ? How does audio get digitized.
SCA Introduction to Multimedia
Sound Pertemuan 6 Matakuliah: T0732 / Sistem Multimedia Tahun: 2007.
Chapter 2 Fundamentals of Data and Signals
Chapter 2: Fundamentals of Data and Signals. 2 Objectives After reading this chapter, you should be able to: Distinguish between data and signals, and.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
Advanced Lecture.  dynamic range The ratio of the loudest (undistorted) signal to that of the quietest (discernible) signal in a unit or system as expressed.
Fundamentals of Digital Audio. The Central Problem n Waves in nature, including sound waves, are continuous: Between any two points on the curve, no matter.
Digital Audio Multimedia Systems (Module 1 Lesson 1)
Representing Sound in a computer Analogue  Analogue sound is produced by being picked up by a transducer (microphone) and converted in an electrical current.
 Principles of Digital Audio. Analog Audio  3 Characteristics of analog audio signals: 1. Continuous signal – single repetitive waveform 2. Infinite.
Analogue and Digital Signals SL – Option C.1. Signals When talking about electronics we will talk about ‘signals’ –This is simply the transfer of information.
Introduction to Sound Sounds are vibrations that travel though the air or some other medium A sound wave is an audible vibration that travels through.
Audio Production Basics. Pros and Cons of Digital Recording Pros – Much easier for the average person. Much less cumbersome Will not deteriorate over.
Digital audio. In digital audio, the purpose of binary numbers is to express the values of samples that represent analog sound. (contrasted to MIDI binary.
School of Informatics CG087 Time-based Multimedia Assets Sampling & SequencingDr Paul Vickers1 Sampling & Sequencing Combining MIDI and audio.
Lab #8 Follow-Up: Sounds and Signals* * Figures from Kaplan, D. (2003) Introduction to Scientific Computation and Programming CLI Engineering.
1 1 Multimedia. 2 What is SOUND? Sound comprises the spoken word, voices, music and even noise. It is a complex relationship involving: a vibrating object.
Introduction to Interactive Media 10: Audio in Interactive Digital Media.
Data Communications & Computer Networks, Second Edition1 Chapter 2 Fundamentals of Data and Signals.
Lecture # 22 Audition, Audacity & Sound Editing Sound Representation.
Multimedia Technology Digital Sound Krich Sintanakul Multimedia and Hypermedia Department of Computer Education KMITNB.
COMP Representing Sound in a ComputerSound Course book - pages
Art 321 Sound, Audio, Acoustics Dr. J. Parker. Sound What we hear as sound is caused by rapid changes in air pressure! It is thought of as a wave, but.
Computer Some basic concepts. Binary number Why binary? Look at a decimal number: 3511 Look at a binary number: 1011 counting decimal binary
Media Representations - Audio
CHAPTER SEVEN SOUND. CHAPTER HIGHLIGHTS Nature of sound – Sine waves, amplitude, frequency Traditional sound reproduction Digital sound – Sampled – Synthesized.
Basics of Digital Audio Outline  Introduction  Digitization of Sound  MIDI: Musical Instrument Digital Interface.
Sound and audio. Table of Content 1.Introduction 2.Properties of sound 3.Characteristics of digital sound 4.Calculate audio data size 5.Benefits of using.
Multimedia Elements: Sound, Animation, and Video.
Analogue and Digital Signals SL – Option C.1 HL – Core 14.1.
Modication by tuti 1 LECTURE 7 THE USES OF DIGITAL AUDIO IN MULTIMEDIA.
Overview of Multimedia A multimedia presentation might contain: –Text –Animation –Digital Sound Effects –Voices –Video Clips –Photographic Stills –Music.
Introduction to SOUND.
More Meaningful Jargon Or, All You Need to Know to Speak Like a Geek Sound.
Audio / Sound INTRODUCTION TO MULTIMEDIA SYSTEMS Lect. No 3: AUDIO TECHNOLOGY.
1 Introduction to Information Technology LECTURE 6 AUDIO AS INFORMATION IT 101 – Section 3 Spring, 2005.
Analogue & Digital. Analogue Sound Storage Devices.
Sound and Digital Sound v © Allan C. Milne Abertay University.
Sound in Multimedia Psychology of sound what do you use it for? what techniques for its communication exist? Science of sound why does it exist? how it.
Data dan Teknologi Multimedia Sesi 05 Nofriyadi Nurdam.
Sound Pertemuan 11 & 12 Matakuliah: O Computer / Multimedia Tahun: Feb
Multimedia Sound. What is Sound? Sound, sound wave, acoustics Sound is a continuous wave that travels through a medium Sound wave: energy causes disturbance.
Digital Audio I. Acknowledgement Some part of this lecture note has been taken from multimedia course made by Asst.Prof.Dr. William Bares and from Paul.
Introduction to Digital Audio
Multimedia: making it Work
Multimedia Systems and Applications
Introduction to Multimedia
Analogue & Digital.
Chapter 5:- Sound Eyad Alshareef Eyad Alshareef.
Data Representation Keywords Sound
Fundamentals of Multimedia
Representing Sound 2.6 – Data Representation.
Presentation transcript:

Multimedia Authoring1 Introduction to Sound History A Brief History of Computer MusicA Brief History of Computer Music MIDI Analogue sound Digital audio

Multimedia Authoring2 MIDI Audio MIDI (Musical Instrument Digital Interface) Creating and playing MIDI music requires Sequencer software - to record and edit MIDI data Sound synthesizer (e.g. sound card) – to generate music MIDI keyboard (not necessary for playback only) MIDI is device dependent

Multimedia Authoring3 MIDI Audio General MIDI Included with each note to be played in a MIDI file is a patch number. This number defines which instrument is to play the sound. A GM – compatible patch map is most commonly used. 128 instruments and sound effects are included.

Multimedia Authoring4 MIDI Audio Strengths and Weaknesses of MIDI Files Compact size Why are MIDI files so compact? Sequence of commands containing instructions about how to generate music (some similarities with sheet music) Simple to change the instrument playing the sound Cannot be used to generate arbitrary sounds Instrumental music only Use MIDI if Digital audio not suitable due to lack of memory/bandwidth Have high quality sound source Have control over playback Don’t need spoken dialog

Multimedia Authoring5 Analogue Sound What is a Sound Wave? Animation courtesy of Dr. Dan Russell, Kettering University intro.html

Multimedia Authoring6 Analogue Sound

Multimedia Authoring7 Analogue Sound

Multimedia Authoring8 Analogue Sound Characteristics of Sound Waves Wavelength; this is the distance from the crest of one wave to the crest of the next. Frequency; this is the number of waves that pass a point in each second. Amplitude; this is the measure of the amount of energy in a sound wave.

Multimedia Authoring9 Analogue Sound Rapid vibrations of air molecules create a high-pitched sound (treble); a slower rate of vibration creates a low-pitched sound (bass) (Beggs, Josh and Thede, Dylan, 2001). Frequency

The frequency of a sound tells us how fast the air is moving, and is measured in Hertz (Hz). Most people can hear frequencies in the range 100 Hz Hz. 60 Hz | 100 Hz | 440Hz | 500 Hz | Hz | Hz | Hz | Hz | Hz Human ears are most sensitive in a band from Hz to Hz, and being able to hear in this range is important to being able to understand speech Hz | Hz | Hz A few people can hear very high frequencies above Hz Hz Multimedia Authoring10 Analogue Sound

Multimedia Authoring11 Analogue Sound Amplitude Schmidt-Jones, C. Amplitude and Dynamics, Connexions Web site. Jan 5, The size of a wave (how much it is "piled up" at the high points) is its amplitude. For sound waves, the bigger the amplitude, the louder the sound.

Multimedia Authoring12 Analogue Sound Level The level of sound, known as volume, is measured in decibels (dB) Hz : maximum level 0.0 dB Hz : half power -6.0 dB Hz : very quiet dB Hz : getting too loud (starting to distort) +6.0 dB Use the VU (volume) meter in GarageBand so that the loudest part of your pieces approach, or just get into, the red range.

Multimedia Authoring13 Analogue Sound Analogue Recording and Playback A direct representation of sound waves are stored. For example, Thomas Edison's phonograph recorded sound on tinfoil wrapped around a cardboard cylinder. A horn focused the sound waves onto a thin membrane attached to a needle. As the cylinder rotated, the needle cut a continuous groove into the tinfoil. The air pressure variations of the sound waves caused the diaphragm and needle to move up and down, varying the depth of the groove to create a recording. Vinyl records use basically the same principle, except the needle moves from side to side. To playback, the needle was placed at the start of the groove and the cylinder rotated. As the needle traced the path of the groove around the cylinder, the varying depth of the groove moved it up and down. The needle caused the diaphragm to move the same amount as it did when the recording was made, reproducing the original sound waves.

Multimedia Authoring14 Analogue Sound Analogue Audio Signals Analogue audio signals are the electronic version of a groove on a record. Variations in voltages on a wire are like the variations in the depth (or width) of a groove. They both represent the air pressure variations of sound. Microphones convert air pressure variations of sound waves into a varying voltage sound signal. Magnetic tape records sound by representing variations in sound waves as variations in the amount of magnetism stored in a metallic coating on a thin strip of plastic tape. Speakers have a coil of wire into which the sound signal is fed. The coil is surrounded by a magnet. Variations in the signal cause the coil to move and a diaphragm attached to the coil creates air pressure variations to form sound waves.

Multimedia Authoring15 Digital Sound Digitising Sound We can digitise sound from any source - natural or prerecorded. In digital audio, sound is represented by a sequence of numbers that correspond to the signal level at a predetermined interval. The signal is made up of bits, where 0 represents low (off) and 1 high (on - close to maximum voltage). To hear the original sound, digital signals are converted back to analog as speakers recreate sound waves using a digital to analog (D/A) converter e.g. there is a D/A in CD players and sound cards.

Multimedia Authoring16 Digital Sound If we digitise sound, we are sampling sound. The process converts an analog signal to a digital by using an analog to digital (A/D) converter. The quality of digital recordings depend on the sampling rate and the bitdepth. Every nth of a second, a sample of sound is taken and stored as digital information in bits and bytes. Sampling Rate: frequency measured in kilohertz Bitdepth: how many numbers are used to represent the value of each sample - also known as sample size, resolution, or dynamic range. The more often you take a sample and the more data you store about that sample, the finer the resolution and quality when played back. Sound Samples

Multimedia Authoring17 Digital Sound How Sampling Works Figure 5-2, Vaughan (2008) NB. The original waveform cannot be reconstructed if the sampling frequency is too low!

Multimedia Authoring18 Digital Sound Sound Sampling Examples 4000 Hz Hz sample rate = Hz Hz sample rate = Hz Hz sample rate = Hz Hz sample rate = Hz Hz sample rate = Hz Hz sample rate = Hz

Multimedia Authoring19 Digital Sound Professional recording studios use Hz sampling frequency and mix it down to CD quality. What is the sampling rate that gives CD quality? To record a certain frequency we need at least (but preferably more than) two samples for each period to accurately record the peaks and troughs. So we need a rate at least twice as high as the highest frequency to be recorded. What is the highest frequency people are likely to hear? What sample rate is just greater than twice that frequency? If we use a sample rate of Hz, will we be able to hear Hz? Using this sample rate, we will be able to record more than four samples for each Hz period. Therefore, the chance of losing high frequencies dramatically reduces. The three sampling frequencies most often used in multimedia are: Hz 2. Hz 3. Hz Some equipment and software allows up to Hz and this will probably soon become the professional standard. The advantage of the higher sampling rates are much better sound quality. Suggest a disadvantage. Sound Samples

Multimedia Authoring20 Digital Sound The resolution of a digital signal is the number of distinct integer values available to represent the voltage level of an analog signal. The exact voltage of a sample is rounded off to the nearest integer. The more integers the higher the resolution and so the more accurately the voltage can be represented. CD audio uses 16 bits per sample (16-bit resolution). How many possible integer values? Professional recording studios use systems with 24-bit resolution. High sampling rates have little effect if the resolution is too low. Resolution

Multimedia Authoring21 Digital Sound

Multimedia Authoring22 Digital Sound Because computers process integers much more efficiently than floating point (decimal) numbers, the value of each sample is rounded to the nearest integer. Because the voltage of an analog signal varies continuously, the values measured for most samples will not be whole numbers. So the A/D converter rounds the value of each sample to the nearest whole number. The range of possible values is determined by the resolution of the signal. Quantization

Multimedia Authoring23 Digital Sound Clipping: If the amplitude is greater than the intervals available, clipping of the top and bottom of the wave occurs. This can greatly distort it. The maximum level is 0 dB. Other levels are negative. If the average level of a signal goes above zero it is clipped. It is usual to set average signal levels a bit below maximum to allow for unexpected peaks. Unwanted background hissing: can be produced by quantization. Quantization noise - noise generated by (bad) quantization. The first digital pianos did not sell well - not much memory so not very dynamic. Also, there was a rough edge at the end of samples. The conversion of a piano sample (that slowly fades away) with levels to 8 bits (how many levels) gave a very poor result. Remedy - dithering While sampling the piano, the soundcard adds a little noise to the signal (3-6 dB). This helps the signal become a little louder. We do not hear the noise, which is very soft and does not change as much as the recorded signal - ears overlook it. Problems with Quantization

Multimedia Authoring24 Digital Sound Quantization Figure 4-2, Vaughan (2011)

Multimedia Authoring25 Digital Sound The bit-rate is the number of bits per second used to represent a signal. It has a direct correlation to file size and quality. e.g. Bit rate of uncompressed audio: bit rate = sampling rate * resolution * channels e.g. 44,100 * 16 * 2 = 1,411,200 bps Since the quality of your audio is based on the quality of your recording and not the quality of the device that your end user will play the audio, digital audio is said to be device independent. Bit Rate

Multimedia Authoring26 Digital Sound The bit-rate is the number of bits per second used to represent a signal. It has a direct correlation to file size and quality. e.g. Bit rate of uncompressed audio: bit rate = sampling rate * resolution * channels e.g. 44,100 * 16 * 2 = 1,411,200 bps Since the quality of your audio is based on the quality of your recording and not the quality of the device that your end user will play the audio, digital audio is said to be device independent. Bit Rate

Multimedia Authoring27 Digital Sound Space required for stereo digital audio (uncompressed) Bit Depth Sample Rate (Hz) Bit Rate (Mbit/sec) File Size of one stereo minute (MB) File size of a three minute song (MB) 1644,1001, , ,

Multimedia Authoring28 Digital Sound 1.When we press the record button, the soundcard starts a very accurate stopwatch (sample rate). 2.low pass, anti-aliasing filter: very high frequencies that sound card cannot handle cut are off (maximum frequency that can be recorded at a certain sample rate is half that rate - called the Nyquist frequency) reduces the sound quality without it, the sound would be more seriously damaged (become unrecognizable) low pass - lets the low frequencies pass through anti-aliasing - smoothes, blurs filter - takes away some part and leaves the rest 3.Every time stopwatch finishes a cycle, the analog to digital converter (ADC) in the soundcard looks at the filtered input signal and calculates how loud it as at that exact moment and transforms the loudness level to the nearest digital number, which is stored in memory or secondary memory. Digitizing Process

Multimedia Authoring29 Multimedia Authoring References A brief history of computer music Sound Waves Digital Audio How analogue and digital recording works Vaughan, T. (2011) Multimedia: Making It Work, 8 th Ed., New York: McGraw-Hill