Introduction (Konsep Dasar Audio Digital)

Slides:



Advertisements
Similar presentations
MULTIMEDIA TUTORIAL PART - III SHASHI BHUSHAN SOCIS, IGNOU.
Advertisements

Tamara Berg Advanced Multimedia
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.
Audio 1 Subject:T0934 / Multimedia Programming Foundation Session:8 Tahun:2009 Versi:1/0.
Chapter 5-Sound.
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.
Speech Compression. Introduction Use of multimedia in personal computers Requirement of more disk space Also telephone system requires compression Topics.
Comp 1001: IT & Architecture - Joe Carthy 1 Review Floating point numbers are represented in scientific notation In binary: ± m x 2 exp There are different.
Digital Audio.
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.
3. Audio Technology - Copyright © Denis Hamelin - Ryerson University Audio Technology.
Chapter 5-Sound.
5. Multimedia Data. 2 Multimedia Data Representation  Digital Audio  Sampling/Digitisation  Compression (Details of Compression algorithms – following.
Digital Audio Multimedia Systems (Module 1 Lesson 1)
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.
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.
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.
Multimedia Technology Digital Sound Krich Sintanakul Multimedia and Hypermedia Department of Computer Education KMITNB.
By Frankie, K. F. Yip Chapter 6 Speech. By Frankie, K. F. YipLecture 6 - Sound2 Sound Waves.
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.
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.
Signal Digitization Analog vs Digital Signals An Analog Signal A Digital Signal What type of signal do we encounter in nature?
Multimedia Elements: Sound, Animation, and Video.
Modication by tuti 1 LECTURE 7 THE USES OF DIGITAL AUDIO IN MULTIMEDIA.
Multimedia Technology and Applications Chapter 2. Digital Audio
CMSCDHN1114/CMSCD1011 Introduction to Computer Audio
Introduction to SOUND.
Sound element Week - 11.
Digital Audio IV MIDI Overview. Sending MIDI Information I. Serial Transmission A. Single cable to move data B. Slower than parallel, but is less expensive.
Audio / Sound INTRODUCTION TO MULTIMEDIA SYSTEMS Lect. No 3: AUDIO TECHNOLOGY.
Sound Representation Digitizing Sound Sound waves through Air Different Voltages Voltage converted to numbers.
Audio Technology introduction Iwan Sonjaya,MT What is sound? Sound is a physical phenomenon caused by vibration of material (ex.: violin). As the matter.
Sound (Suara) Kuliah 04.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 4: Sound.
CSCI-100 Introduction to Computing Hardware Part II.
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.
1. What is Sound? Sound is a wave phenomenon like light, but is macroscopic and involves molecules of air being compressed and expanded under the action.
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.
Audio Revamped Version. Introduction All sound waves are analog in nature, made of an unbroken line without individually distinguishable pieces or components.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 4: Sound.
MIDI Musical Instrument Digital Interface A digital communication protocol allowing devices to send and/or respond to instructions.
TOPIC 4 - SOUND.
Multimedia: making it Work
Sound (Suara) Kuliah 04.
Multimedia Systems and Applications
Introduction to Multimedia
Sound (Suara) Kuliah 04.
Sound (Suara) Kuliah 04.
Multimedia: making it Work
Chapter 5:- Sound Eyad Alshareef Eyad Alshareef.
Sound (Suara) Kuliah 04.
Multimedia Fundamentals(continued)
The MIDI Standard A.
Representing Sound 2.6 – Data Representation.
Assist. Lecturer Safeen H. Rasool Collage of SCIENCE IT Dept.
Introduction to Digital Audio
Recap In previous lessons we have looked at how numbers can be stored as binary. We have also seen how images are stored as binary. This lesson we are.
Digital Audio Application of Digital Audio - Selected Examples
Presentation transcript:

Introduction (Konsep Dasar Audio Digital) Audio Technology Introduction (Konsep Dasar Audio Digital) Iwan Sonjaya,MT 0816 956 829 iwankuliah@gmail.com www.iwankuliah.wordpress.com

What is sound? Sound is a physical phenomenon caused by vibration of material (ex.: violin). As the matter vibrates, pressure variations are created in the air around it. The pressure waves propagate in the air. When a wave reaches the human eardrums, a sound is heard. Ear: receive 1-D waves. Cochlea: convert to frequency dependent nerve firings, sent to the brain.

Suara (Sound) Fenomena fisik yang dihasilkan oleh getaran benda Getaran suatu benda yang berupa sinyal analog dengan amplitudo yang berubah secara kontinyu terhadap waktu

The wave form occurs repeatedly at regular interval or periods The wave form occurs repeatedly at regular interval or periods. A sound with a recognizable periodicity is called music. Non-periodic sounds called noises. period Air pressure amplitude time A sound frequency is the reciprocal value of its period. The frequency represents the number of periods per seconds and is measured in hertz (Hz). A kHz describes 1000 oscillations per second or 1000 Hz.

Frequency Ranges The frequency range is divided into: Infrasonic: 0 to 20 Hz Audio-sonic: 20Hz to 20 kHz (Human hearing frequency) Ultrasonic: 20kHz to 1 GHz Hypersonic: 1GHz to 10 THz In multimedia we are concerned with sounds in the audiosonic range.

Frequency-Change of pitch

Amplitude-determines The amplitude of the sound is the displacement of the air pressure from its quiescent state, which humans perceive subjectively as loudness or volume. Sound pressure levels are measured in (db). OR The amplitude of a sound is a measuring unit used to deviate the pressure wave from its main value. 0 db - no sound 20 db - rustling of paper 35 db - quiet home 70 db - noisy street 130 db – pain threshold Amplitude-determines loudness of sound

Amplitude-change volume

Audio Representation on Computers A computer measures the amplitude of the waveform at regular time intervals It then generates a series of sampling values. The mechanism that converts an audio signal into digital samples is the analog-to-digital converter (ADC). A digital-to-analog converter (DAC) is used to achieve the opposite conversion. Audio Sampling Determine number of samples per second; At each time interval determine the amplitude; Stored the sample rate and the individual amplitudes. Sampling Rate: The number of samples per second. The CD standard rate of 44100 Hz means that the wave form is sampled 44100 times per second.

Quantization: is a value of the sample Quantization: is a value of the sample. The resolution of a sample value depends on the number of bits used in measuring the height of the waveform. The sampled waveform with a 3 bits quantization results in only eight possible values: 0.75, 0.50, 0.25, 0.00, - 0.25, - 0.50, -0.75 and -1. An 8 bit quantization yields 256 possible values, 16 bit result in over 65536 values. Quantization introduces noise The lower quantization, the lower quality of the sound.

File size versus quality 1: Sampling at higher rates more accurately captures the high frequency content. 2: Audio resolution determines the accuracy with which a sound can be digitized. 3: Using more bits yields a recording that sounds more like its original. 4: High sample rate with high resolution = large files. Here are the formulas for determining the size (in bytes) of a digital recording: For monophonic recording: Sampling rate * duration of recording in second * bit resolution / 8 For stereo recording: Sampling rate * duration of recording in second * bit resolution / 8 * 2 Thus the formula for a 10 second recording at 22.05 KHz, 8 bit resolution would be: 22050 * 10 * 8/8 * 1 = 220, 500 bytes A ten second stereo recording at 44.1 KHz, 16 bit resolution would be : 44100 * 10 * 16 / 8 * 2 = 1,764, 000 bytes 3D Sound Projection: The shortest path between sound source and the auditor is called the direct sound path. All other sound paths are reflected which means they are temporarily delayed before they reach the auditor's ear.

MIDI ( Musical Instrument Digital Interface ) versus digital audio The MIDI is a small piece that plugs directly into the computer’s serial port and allows the transmission of music signals. Note that: MIDI does not produce sound, only produce the parameters that are needed to be sent to the device that translates those numbers into sound. Physical Specification: 1: 5 pin DIN a - pin 2: ground b - pins 4 and 5: data c - pins 1 and 3: unconnected 2: Shielded twisted pair of 50 feet max length Electrical Specification: 1: Asynchronous serial interface. 2: 8 data bits, 1 start bit, and 1 stop bit 3: Logic 0 is current ON 4: Rise and fall time <= 2 msec Data format has instrument specification, notion of beginning and end of note, frequency and sound volume. This data grouped into MIDI messages that specify a musical event.

A message contains 1 to 2 or 3 bytes. 1: First byte is status byte used to transmit message to a specific channel. 2: Remaining bytes are data bytes: The number of data bytes is dependent on status byte. MIDI standard specifies 16 channels and identifies 128 instruments. For example, 0 is for piano, 40 for violin, 73 for the flute, etc. Q1: Does one channel correspond to one instrument? If an instrument is defined as a MIDI device, then typically yes, one channel will send information to one of the instruments in the MIDI chain. If, on the other hand, instrument is defined as the sound patch or voice being played (i.e. piano, tuba, violin), then yes, one MIDI channel carries voice message information for a single patch only. Q2: Can a user define a new instrument? No. MIDI contains only control information. The instrument heard depends entirely on the MIDI device used to decode the stream. Q3: Can physical modeling be included? No. physical modeling cannot be represented using MIDI protocol.

Q4: What goes through the MIDI cable? 1: Timed pulses of electricity – 31250 per second Voltage Time voltage: lo hi lo hi lo hi lo hi lo hi lo hi lo 1 1 0 1 0 0 0 1 1 0 1 0 1 0 0 0 1 1 0 0 1 bits: 2: MIDI Data Encoding bits: 1 1 0 1 0 0 0 1 1 0 1 0 1 0 0 0 1 1 0 0 1 byte stop bit start bit

Q4: Talk about the MIDI messages ? MIDI messages are divided into two different types: 1: Channel Message: Channel messages go only to specified devices. A - Channel voice messages that describe music by defining pitch, amplitude, duration and other sound qualities. B - Channel mode messages determine the way that a receiving MIDI device responds to channel voice messages. 2: System Message: System message go to all devices in a MIDI system because no channel number are specified. A - System real time messages are short and simple consisting of only one byte. These message synchronize the timing of MIDI devices in performance; therefore, it is important that they be sent at precisely the time they are required. B - System common message are commands that are used to play a song. These messages enable you to select a song, find a common starting place in the song and tune all the synthesizers. C - System exclusive message allow MIDI manufactures to create customized MIDI message to send between their MIDI devices.

MIDI versus digital audio In contrast to MIDI data, digital audio data are the actual representation of sound, stored in the form of thousands of individual samples (i.e. MIDI data are device dependent; digital audio are not). MIDI data has several advantage: 1. MIDI data are much more compact than digital audio files, and the size of the MIDI file is completely independent on playback quality. In general MIDI files will be 200 to 1000 times smaller than digital audio files. 2. Because MIDI files are small, they don’t take up as much RAM, disk space, and CPU resources. 3. MIDI data are completely editable. Now for disadvantage: 1. Because MIDI data do not represent sound but musical instruments, you can certain that playback will be accurate only if the MIDI playback device is identical to the device used for production. 2. MIDI can not easily be used to playback spoken dialog. MIDI Devices: 1. Sound generator: The principal purpose of the generator is to produce an audio signal that becomes sound when fed into a loudspeaker. 2. Microprocessor: The microprocessor communicates with the keyboard to know what notes the musician is playing, and with control panel to know what commands the musician wants o send to the microprocessor. 3. Keyboard: The sound intensity of a tone depends on the speed and acceleration of the key pressure. 4: Control panel: The control panel controls those functions that are not directly concerned with notes and duration. 5. Memory: Memory is used to store patches for sound generator and setting on the control panel.

Coding Methods

Kesawah Naik Bis....

Wahhhh ... materi kuliah hari ini sudah habis....

Terimakasih….. Untuk mahasiswa/i yang tidak ngantuk dan tetap konsentrasi Mengikuti Perkuliahan ini.