Presentation is loading. Please wait.

Presentation is loading. Please wait.

Overview of Multimedia A multimedia presentation might contain: –Text –Animation –Digital Sound Effects –Voices –Video Clips –Photographic Stills –Music.

Similar presentations


Presentation on theme: "Overview of Multimedia A multimedia presentation might contain: –Text –Animation –Digital Sound Effects –Voices –Video Clips –Photographic Stills –Music."— Presentation transcript:

1 Overview of Multimedia A multimedia presentation might contain: –Text –Animation –Digital Sound Effects –Voices –Video Clips –Photographic Stills –Music

2 Overview of Sound Digital 數碼 versus Analogue 模擬 Conversion from Analogue to Digital –Sound Levels –Sampling Frequency Sound Quality Format

3 Digital 數碼 versus Analogue 模擬 Simulate sound with mechanical tracks or magnetical device Distorts when transmitting Simulate sound with a series of digits Some means to compensate the distortion, therefore No distortion when transmitting

4 Digital Audio Capture Analog (continuous) signal digital (discrete) signal Audio casette Audio CD

5 When the amplitude of the analog signal is sampled at the instant, it is converted into a digital signal consisting of a number of digits. It is an approximation.

6 Factors affecting the conversion process 1) Number of bits used to represent different amplitudes of a sound signal The greater the number of bits, the better the approximation. 4 bits  2 4 = 16 levels 8 bits  2 8 = 256 levels 16 bits  2 16 = 65536 levels (for CD player)

7 Factors affecting the conversion process 2) The sampling frequency (number of samples taken in one second) The higher the sampling frequency, the better the approximation. Nyquist's sampling theorem If sampling frequency > 2  highest frequency, the signal can be reconstructed with no distortion.

8 Sound Quality Telephone quality speech –Range: 300 to 3400 Hz –sampling frequency = 8000 Hz > 2  3400 Hz CD quality sound –Up to 20 kHz –sampling frequency = 44.1 kHz > 2  20 kHz Audio frequency (AF): The band of frequencies (approximately 20 Hz to 20 kHz) that, when transmitted as acoustic waves, can be heard by the normal human ear.band

9 Factors affecting the conversion process 3) Number of channels One channel: mono Two channels: stereo file size of stereo sound file = 2  file size of the mono sound file.

10 Bit rate = (number of bits / second) at the output = number of bits used in sampling  sampling frequency  number of channel A Common Measure of Sound Quality

11 Example of bit rate calculation For CD, number of bits: 16 channel: 2 (stereo) sampling frequency: 44.1 kHz Bit rate = 16  2  44.1k = 1411 Kbits / second = 176 Kbytes / second A song of 4 minutes long= 176 Kbytes  4  60 = 41 Mbytes

12 Example of bit rate calculation For telephone quality speech, number of bits: 8 channel: 1 (mono) sampling frequency: 8 kHz Bit rate = 8  1  8k = 64 Kbits / second = 8 Kbytes / second

13 Compression Sound files are too large to transmit and save Different means to compress the files are therefore needed Still reasonable sound quality is to be maintained.

14 Common audio file formats MIDI (Musical Instrument Digital Interface) MP3 (MPEG-1 Audio Layer-3) (*.mp3) Wave file (*.wav) Windows Media Audio (*.wma) RealAudio and Shockwave (*.rm)

15 MIDI (Musical Instrument Digital Interface) designed for recording and playing back music on digital synthesizers. records information about how music is produced: note-ons, note-offs, key velocity, pitch bend and other methods of controlling a synthesizer. Advantage: very small file size. Disadvantage: lack of specific sound control.

16 MP3 (MPEG-1 Audio Layer-3) (*.mp3) a standard technology and format for compressing a sound sequence into a very small file (about 1:12) while preserving the original level of sound quality. reduces data about sound that most listeners cannot perceive.

17 Wave file (*.wav) audio file format created by Microsoft. become a standard PC audio file format for everything from system and game sounds to CD-quality audio.

18 Windows Media Audio (*.wma) Used in Windows Media Player Use different compression rates 品質 位元速率 (Kbps) 每 650 MB 或 74 分鐘長 的 CD 之磁碟空間 (MB) 最小大小 4822 小 6428 中 9642 中高 12856 高 16069 最佳品質 19286

19 RealAudio and Shockwave (*.rm) designed to allow real-time playback of audio directly from a Web site.

20 ENDEND


Download ppt "Overview of Multimedia A multimedia presentation might contain: –Text –Animation –Digital Sound Effects –Voices –Video Clips –Photographic Stills –Music."

Similar presentations


Ads by Google