Carnegie Mellon. Carnegie Mellon Sound Carnegie Mellon Sound Sampling Basics Common Sampling Rates 8KHz (Phone) or 8.012820513kHz (Phone, NeXT) 11.025kHz.

Slides:



Advertisements
Similar presentations
3.01C Multimedia Elements and Guidelines 3.01 Explore multimedia systems, elements and presentations.
Advertisements

Multimedia: Digitised Sound Data Section 3. Sound in Multimedia Types: Voice Overs Special Effects Musical Backdrops Sound can make multimedia presentations.
Sampled Audio. We store digitised audio samples. This is the main audio data. In a file (e.g..wav format) we also need some header information. We will.
Digital Audio Teppo Räisänen LIIKE/OAMK. General Information Auditive information is transmitted by vibrations of air molecules The speed of sound waves.
Multimedia Authoring1 Introduction to Garageband Garageband is both a: MIDI sequencer Digital audio recorder Garageband: Real Instruments Tracks displayed.
1 CMSHN1114/CMSCD1011 Introduction to Computer Audio Lecture 5: Digital audio formats Dr David England School of Computing and Mathematical Sciences
A stereo audio file 1. Audio Channels Number of audio channels determines number of waveforms in a recording Two relevant types of recording Stereo recording.
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.
4.1Different Audio Attributes 4.2Common Audio File Formats 4.3Balancing between File Size and Audio Quality 4.4Making Audio Elements Fit Our Needs.
2 Information Processing
1. Digitization of Sound What is Sound? Sound is a wave phenomenon like light, but is macroscopic and involves molecules of air being compressed and expanded.
Podcasting in the Classroom Presented by: Jason Arruzza, AIS.
4.2 Multimedia Elements Audio 1. Learning Outcomes: At the end of the lesson, students should be: a) describe the purpose of using audio in multimedia.
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.
Preparing Audio for the Internet - Nick Kereakos - MPR Topics Covered: Topics Covered:  Static Audio Files  Audio Streams  Automation.
Audio 2 Subject:T0934 / Multimedia Programming Foundation Session:9 Tahun:2009 Versi:1/0.
I Power Higher Computing Multimedia technology Audio.
Carnegie Mellon © Copyright 2000 Michael G. Christel and Alexander G. Hauptmann.
Digital Representation of Audio Information Kevin D. Donohue Electrical Engineering University of Kentucky.
1 Digital Audio Storage Formats. 2 Formats  There are many different formats for storing and communicating digital audio:  CD audio  Wav  Aiff  Au.
M P 3. A means of compressing digital sound files which, at CD quality, require some nine megabytes per minute. MP3 applies existing knowledge, about.
Digital Audio Agenda Digital Audio Concepts  What’s it all about Creating Audio  Equipment Demos and practice time  Best way to learn = explore  Guides.
Sound and Speech Recognition. © Copyright 2002 Michael G. Christel and Alexander G. Hauptmann 2 Carnegie Mellon What is Sound ? Acoustics is the study.
© Copyright 2002 Michael G. Christel and Alexander G. Hauptmann 1 Carnegie Mellon.
Week 6 – Digital Sound. Sound – Digital Audio Waveform –Digital sampling of electrical signal –Analogue to digital conversion –Digital data stores the.
1 Audio Compression Multimedia Systems (Module 4 Lesson 4) Summary: r Simple Audio Compression: m Lossy: Prediction based r Psychoacoustic Model r MPEG.
Introduction to Digital Audio
Representation of Data in Computer Systems
 Continuous sequence of vibrations of air  (Why no sound in space? Contrary to Star Wars etc.)  Abstraction of an audio wave:  Ear translates vibrations.
Introduction to Interactive Media 10: Audio in Interactive Digital Media.
Sound Editing Techniques & Programs Combine Images with Audio.
By Frankie, K. F. Yip Chapter 6 Speech. By Frankie, K. F. YipLecture 6 - Sound2 Sound Waves.
1 Week 10: Audio Recording. 2 Overview  What is sound?  What does analogue mean?  Analogue-to-Digital conversion  Key terms in digital audio  Compression.
Audio Coding and Standards
Digital Music to Sheet Music Hugh Smith. Abstract Electronic music has been steadily expand- ing over the past years. Many file formats have come into.
Audio. Why Audio Essential tool for – Interface – Narrative – Setting & Mood.
Audio and Video CGS Some Common Audio Formats Format Use Extension MIDI instrumental music.mid MPEG songs.mp3 RealAudio live broadcasts.ra Wave.
CHAPTER SEVEN SOUND. CHAPTER HIGHLIGHTS Nature of sound – Sine waves, amplitude, frequency Traditional sound reproduction Digital sound – Sampled – Synthesized.
AUDIO MEDIA 1 Created } “Borrowed” } Microphone MIDI keyboard CD’s & flash drives Internet Audio Sources 2.
Signal Digitization Analog vs Digital Signals An Analog Signal A Digital Signal What type of signal do we encounter in nature?
Sound or Audio, whichever you prefer –MIDI Files.midi or.mid (Musical Instrument Digital Interface) use for instrumental music. –This format is supported.
Sound on the Web. Using Sound on a Web Site Conveying information  pronounce a word or describe a product Set a mood  music to match the web page scene.
Overview of Multimedia A multimedia presentation might contain: –Text –Animation –Digital Sound Effects –Voices –Video Clips –Photographic Stills –Music.
3.01C Multimedia Elements and Guidelines 3.01 Explore multimedia systems, elements and presentations.
1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education.
Adding Audio to Your Web Site Adventures in Information February 17, 1999 presented byEileen Flick, ISD.
Anatomy of a Sound File v © Allan C. Milne Abertay University.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 9 This presentation © 2004, MacAvon Media Productions Sound.
Digital Sound Actual representation of sound Stored in form of thousands of individual numbers (called samples) Not device dependent Stored in bits.
Sound Conversion Chilin Shih University of Illinois — Urbana Champaign E-MELD Conference 2003 July 11 th -13th LSA Institute Michigan State University.
Carnegie Mellon © Copyright 2000 Michael G. Christel and Alexander G. Hauptmann Sound.
Digital Music to Sheet Music Hugh Smith. Abstract Electronic music has been steadily expand- ing over the past years. Many file formats have come into.
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.
Multimedia and weBLOGging Grade 7-9 | Cahaya Bangsa Classical School (C) 2010 Digital Media Production Facility 04 – Audio Basic.
Digital Audio III. Sound compression (I) Compression of sound data requires different techniques from those for graphical data Requirements are less stringent.
Music files in PowerPoint 2007? By Ashley Wiger.
Audio Streaming © Nanda Ganesan, Ph.D.. Audio File Features Audio file is a record of captured sound that can be played back –The WAV File is an example.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2014.
Audio Formats. Digital sound files must be organized and structured so that your media player can read them. It's just like being able to read and understand.
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Multimedia: Digitised Sound Data
3.01C Multimedia Fair Uses Guidelines and Elements
Multimedia: making it Work
3.01C Multimedia Elements and Guidelines
3.01C Multimedia Fair Uses Guidelines and Elements
3.01C Multimedia Fair Uses Guidelines and Elements
3.01C Multimedia Elements and Guidelines
3.01C Multimedia Fair Uses Guidelines and Elements
Presentation transcript:

Carnegie Mellon

Carnegie Mellon Sound

Carnegie Mellon Sound Sampling Basics Common Sampling Rates 8KHz (Phone) or kHz (Phone, NeXT) kHz (1/4 CD std) 16kHz (G.722 std) 22.05kHz (1/2 CD std) 44.1kHz (CD, DAT) 48kHz (DAT) Bits per Sample 8 or 16 Number of Channels mono/stereo/quad/ etc.

Carnegie Mellon Common Sound File Formats Mulaw (Sun, NeXT).au RIFF Wave (MS WAV).wav MPEG Audio Layer (MPEG).mp2.mp3 AIFC (Apple, SGI).aiff.aif HCOM (Mac).hcom SND (Sun, NeXT).snd VOC (Soundblaster card proprietary standard).voc AND MANY OTHERS!

Carnegie Mellon What’s in a Sound File Format Header Information Magic Cookie Sampling Rate Bits/Sample Channels Byte Order Endian Compression type Data

Carnegie Mellon Example File Format (NIST SPHERE) NIST_1A 1024 sample_rate -i channel_count -i 1 sample_n_bytes -i 2 sample_byte_format -s2 10 sample_sig_bits -i 16 sample_count -i sample_coding -s3 pcm sample_checksum -i end_head

Carnegie Mellon WAVe file format (Microsoft) RIFF A collection of data chunks. Each chunk has a 32-bit Id followed by a 32-bit chunk length followed by the chunk data. 0x00 chunk id 'RIFF' 0x04 chunk size (32-bits) 0x08 wave chunk id 'WAVE' 0x0C format chunk id 'fmt ' 0x10 format chunk size (32-bits) 0x14 format tag (currently pcm) 0x16 number of channels 1=mono, 2=stereo 0x18 sample rate in hz 0x1C average bytes per second 0x20 number of bytes per sample 1 = 8-bit mono 2 = 8-bit stereo or 16-bit mono 4 = 16-bit stereo 0x22 number of bits in a sample 0x24 data chunk id 'data' 0x28 length of data chunk (32-bits) 0x2C Sample data

Carnegie Mellon Mu-Law u-LAW (or mu-LAW) is sgn(x) y= ln( 1+ u |x|) ln(1+u) u=100 or 255, A=87.6, mp = Peak message value,

Carnegie Mellon Compression u-LAW sihttp://shuttle.nasa.gov/askmcc/answers/lence detection ADPCM (adaptive, delta PCM, 24/32/40 kbps) LPC-10E (Linear Predictive Coding 2.4kb/s) CELP 4.8Kb/s - builds on LPC GSM (European Cell Phones, RPE-LPC) 1650 bytes/sec (at 8000 samples/sec) RealAudio (builds on CELP, GSM, proprietary) MPEG Audio Layers (builds on ADPCM) Layer-2: From 32 kbps to 384 kbps - target bit rate of 128 kbps Layer-3: From 32 kbps to 320 kbps - target bit rate of 64 kbps Complex compression, using perceptual models

Carnegie Mellon Sound Editing GoldWave - –requires a sound card. –digital audio sound player, recorder and editor –can load, play and edit many different file formats.wav,.au,.voc,.snd –displays separate graphics for the left and right channels –very easy to use –good sound quality Others: WHAM, Cool Edit, SOX, WINPLANY, Digital Audio Playback Facility, MOD4Win, etc.

Carnegie Mellon Tips for Audio on the Web There is no generic audio standard on the Web Few systems on the Web have 16-bit sound capabilities Listening to 16-bit sounds on an 8-bit system results in strange effects Users will be annoyed if they spend a lot of time downloading a sound and they can’t play it Distribute only 8-bit sounds on your Web page Or, provide different sound files in both 8- and 16-bits Record in the highest sampling rate and size you can, and then process down to 8-bit Keep file size small downsampling to 8-bit use a lower sampling rate use mono sounds Describe what format those sounds are in WAVE, AIFF, or other format Providing the file size in the description is a politeness to help estimate download times If you need high sound quality and have large audio files: Use a smaller sound clip in m-law format as a preview or for those who can’t to listen to the higher-quality sample. Check out

Carnegie Mellon Space Requirements Storage Requirements for One Minute of Sound

Carnegie Mellon References (conversion tool) ip

Carnegie Mellon Sound That’s all for today