SlideShare ist ein Scribd-Unternehmen logo
1 von 37
LECTURE 7

THE USES OF DIGITAL AUDIO IN
       MULTIMEDIA

          Prepared by
       Razia Nisar Noorani


                               1
Objective

q   What is sound?
     • Waveforms and attributes of sound
q   Capturing digital audio
     • Sampling
q   MIDI (Musical Instrument Digital
    Interface)




                                           2
Sound
   Sound comprises the spoken word, voices, music and
    even noise.

   It is a complex relationship involving a vibrating object
    (sound source), a transmission medium (usually air), a
    receiver (ear) and a perceptor (brain). Example
    banging drum.

   As the sound vibrates it bumps into molecules of the
    surrounding medium causing pressure waves to travel
    away from the source in all directions


                                                                3
Sound
   So, Sound are rapid vibrations that are transmitted as
    variations in air pressure.




                                                             4
Waveforms
   Sound waves are manifest as waveforms
      A waveform that repeats itself at regular intervals is

       called a periodic waveform
      Waveforms that do not exhibit regularity are called

       noise

   The unit of regularity is called a cycle
      This is known as Hertz (or Hz) after Heinrich Hertz

         One cycle = 1 Hz

         Sometimes written as kHz or kiloHertz (1 kHz =

          1000 Hz)

                                                                5
Waveforms

    Time for one cycle

                           distance
                         along wave
     Cycle




                                      6
The characteristics of sound waves
   Sound is described in terms of two characteristics:
      Frequency

      Amplitude (or loudness)




   Frequency
      the rate at which sound is measured

      Number of cycles per second or Hertz (Hz)

      Determines the pitch of the sound as heard by our

       ears
      The higher frequency, the clearer and sharper the

       soundthe higher pitch of sound

                                                           7
The characteristics of sound waves
   Amplitude
      Sound’s intensity or loudness

      The louder the sound, the larger amplitude.




   In addition, all sounds have a duration and successive
    musical sounds is called rhythm




                                                             8
The characteristics of sound waves

 Amplitude           Time for one cycle

             pitch                          distance
                                          along wave
                      Cycle




                                                       9
Example waveforms


                         Piano



                                 Pan flute




Snare drum

                                        10
Capture and playback
                  of digital audio
Air pressure
 variations                                            Digital to
                                                       Analogue
                                                       Converter
                                       Converts
                                       back into
Captured via                            voltage       DAC
microphone


                        Signal is
                     converted into
                          binary
Analogue             (discrete form)
to Digital     ADC    0101001101       Air pressure
Converter             0110101111        variations

                                                                11
The Analogue to Digital
              Converter (ADC)
   An ADC is a device that converts analogue signals into
    digital signals

   An analogue signal is a continuous value
      It can have any single value on an infinite scale




   A digital signal is a discrete value
      It has a finite value (usually an integer)




   An ADC is synchronised to some clock


                                                             12
The Analogue to Digital
              Converter (ADC)
   It will monitor the continuous analogue signal at a set rate
    and convert what it sees into a discrete value at that
    specific moment in time

   The process to convert the analogue to digital sound is
    called Sampling. Use PCM (Pulse Code Modulation)




                                                               13
Digital sampling
Sampling frequency




                     14
Digital sampling
Sampling frequency




                     15
Sampling
   Two parameters:

    Sampling Rate
       Frequency of sampling
       Measure in Hertz
       The higher sampling rate, higher quality sound but size storage is
        big.
       Standard Sampling rate:
        - 44.1 KHz for CD Audio
        - 22.05 KHz
        - 11.025 KHz for spoken
        - 5.1025 KHz for audio effect


                                                                         16
Sampling

Size sample
The resolution of a sample is the number of bits it uses
to store a given amplitude value, e.g.
   8 bits (256 different values)
   16 bits (65536 different values)
   A higher resolution will give higher quality but will require more
    memory (or disk storage)




                                                                         17
Quantisation
   Samples are usually represented the audio sample
    as a integers(discrete number) or digital

         15




         0



                    S a m p le p o in t s
                                                       18
Calculating the size
                 of digital audio
   The formula is as follows:


    rate × duration × resolution × number of channels
                             8
   The answer will be in bytes
   Where:
      sampling rate is in Hz

      Duration/time is in seconds

      resolution is in bits (1 for 8 bits, 2 for 16 bits)

      number of channels = 1 for mono, 2 for stereo, etc.


                                                             19
Calculating the size
                 of digital audio
   Example:
    Calculate the file size for 1 minute, 44.1 KHz, 16 bits,
    stereo sound

    rate × duration × resolution × number of channels
                             8
   Where:
     sampling rate is 44,100 Hz

     Duration/time is 60 seconds

     resolution is 16 bits

     number of channels for stereo is 2




                                                               20
Calculating the size
          of digital audio

rate × duration × resolution × number of channels
                         8

             44100 * 60 * 16 *2
                       8




                                                21
Digital audio editing software
   One of the most powerful and professional PC-based
    packages is a tool called Sound Forge




                                      http://www.sonicfoundry.com/




                                                               22
Editing Digital Audio
   Trimming
   Splicing and assembly
   Volume adjustments
   Format conversion
   Resampling or downsampling
   Fade ins and fade outs
   Equalization
   Time Stretching
   Digital Signal processing
   Reversing Sounds

                                     23
Editing Digital Audio
   Simple audio editing software allows:
       Recording of digital audio segments
       Trimming
       Splicing and assembly
       Volume adjustments of the entire segment
       Reversing Sounds
       Copy, cut, paste and delete segments of digital audio


   Others audio editing software:
       COOL Edit Pro
       Gold Wave
       PROSONIQ SonicWORX
       Samplitude Studio                                       24
Audio formats
   Depend on O/S. For examples:

       AIFF (Audio Interchange File Format)
       SOU
          For Macintosh




       .WAV
          Waveform file format. For Windows/Microsoft




       .VOC
          Sound Blaster Card

                                                         25
What is WAV?
q   WAV is an audio file format that was developed
    by Microsoft.
q   It is so wide spread today that it is called a
    standard PC audio file format.
q   A Wave file is identified by a file name extension
    of WAV (.wav).
q   Used primarily in PCs, the Wave file format has
    been accepted as a viable interchange medium
    for other computer platforms, such as
    Macintosh.
                                                         26
What is WAV?
q   This allows content developers to freely move
    audio files between platforms for processing,
q   For example. The Wave file format stores
    information about
    • the file's number of tracks (mono or stereo),
    • sample rate
    • bit depth




                                                      27
What is WAV?
q   Pros
q   Can be played by nearly all Windows
    applications that support sound
q   Fast decoding
q   Cons
q   Very large file size




                                          28
MIDI (Musical Instrument Digital
                Interface)
   MIDI is a standard for specifying a musical performance

   Rather than send raw digital audio, it sends instructions
    to musical instruments telling them what note to play, at
    what volume, using what sound, etc.

   The synthesiser that receives the MIDI events is
    responsible for generating the actual sounds. Example:
    Keyboard Piano



                                                                29
MIDI sequencers
q   A MIDI sequencer
    allows musicians to
    edit and create
    musical
    compositions like a
    word processor
     • Cut and paste
     • Insert / delete




                                        30
MIDI Versus Wav
   Quality recording, MIDI depend to the tools
   Audio .wav easier to create compare than MIDI

   MIDI Advantages
       File Size small
       Size Storage also small


   MIDI Advantages
       Playback
       Cost and Skill



                                                    31
How audio can be used effectively
Examples of uses of audio:

   Cautions and warnings
    It is a good medium for alerting users to critical
    information. Some uses include:
      Sounding an alarm when a limit is reached

      Alerting users when data is entered incorrectly




   Music and Sound Effects
    These make multimedia interaction more real. Some
    uses include:

                                                         32
How audio can be used effectively
        Musical background for a video segment
        Birds Songs accompanying photographs in biological
         field training.

   Sound-related data.
    Some uses include:
      Helping mechanics diagnose engine trouble

      Training medical students to recognize different

       breathing sounds



                                                              33
How audio can be used effectively
   Direct voice communication.
    Some uses include:
      Leaving a voice message for other users of an

       application
      Consulting with an expert during a troubleshooting

       procedure.




                                                            34
Advantages and Disadvantages
            of using audio
    Sound adds life to any multimedia application and plays
    important role in effective marketing presentations.

   Advantages

       Ensure important information is noticed

       Add interest

       Can communicate more directly than other media

                                                              35
Advantages and Disadvantages
            of using audio
   Disadvantages

       Easily overused

       Requires special equipment for quality production

       Not as memorable as visual media




                                                            36
Summary

   There are two main types of digital audio
      Sampled audio

          Captured by sampling an analogue waveform at a

           set rate
      MIDI data

          Instructions on how to perform some musical

           composition
   Sampled audio requires more storage space than MIDI
    information


                                                            37

Weitere ähnliche Inhalte

Was ist angesagt?

Introduction to Video Signals
Introduction to Video SignalsIntroduction to Video Signals
Introduction to Video SignalsDevashish Raval
 
Lecture# 7 midi file format
Lecture#  7 midi file formatLecture#  7 midi file format
Lecture# 7 midi file formatMr SMAK
 
Digital communication
Digital communicationDigital communication
Digital communicationmeashi
 
Representasi audio dan video
Representasi audio dan videoRepresentasi audio dan video
Representasi audio dan videoZulkifli Yunus
 
Transform coding
Transform codingTransform coding
Transform codingNancy K
 
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORM
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORMA seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORM
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORMमनीष राठौर
 
Video Compression, Part 2-Section 2, Video Coding Concepts
Video Compression, Part 2-Section 2, Video Coding Concepts Video Compression, Part 2-Section 2, Video Coding Concepts
Video Compression, Part 2-Section 2, Video Coding Concepts Dr. Mohieddin Moradi
 
Video Compression Part 1 Video Principles
Video Compression Part 1 Video Principles Video Compression Part 1 Video Principles
Video Compression Part 1 Video Principles Dr. Mohieddin Moradi
 
Audio format
Audio formatAudio format
Audio formatavid
 
Analogue & Digital
Analogue & DigitalAnalogue & Digital
Analogue & Digitalk13086
 
Chapter 6 : VIDEO
Chapter 6 : VIDEOChapter 6 : VIDEO
Chapter 6 : VIDEOazira96
 
Audio compression
Audio compression Audio compression
Audio compression Darshan IT
 

Was ist angesagt? (20)

Introduction to Video Signals
Introduction to Video SignalsIntroduction to Video Signals
Introduction to Video Signals
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Lecture# 7 midi file format
Lecture#  7 midi file formatLecture#  7 midi file format
Lecture# 7 midi file format
 
Digital communication
Digital communicationDigital communication
Digital communication
 
Representasi audio dan video
Representasi audio dan videoRepresentasi audio dan video
Representasi audio dan video
 
Jpeg
JpegJpeg
Jpeg
 
Transform coding
Transform codingTransform coding
Transform coding
 
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORM
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORMA seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORM
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORM
 
Video Compression, Part 2-Section 2, Video Coding Concepts
Video Compression, Part 2-Section 2, Video Coding Concepts Video Compression, Part 2-Section 2, Video Coding Concepts
Video Compression, Part 2-Section 2, Video Coding Concepts
 
Digital Audio
Digital AudioDigital Audio
Digital Audio
 
Video Compression Part 1 Video Principles
Video Compression Part 1 Video Principles Video Compression Part 1 Video Principles
Video Compression Part 1 Video Principles
 
Audio format
Audio formatAudio format
Audio format
 
Dc unit 2
Dc unit 2Dc unit 2
Dc unit 2
 
Analogue & Digital
Analogue & DigitalAnalogue & Digital
Analogue & Digital
 
Chapter 6 : VIDEO
Chapter 6 : VIDEOChapter 6 : VIDEO
Chapter 6 : VIDEO
 
MPEG/Audio Compression
MPEG/Audio CompressionMPEG/Audio Compression
MPEG/Audio Compression
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
 
HDR and WCG Principles-Part 1
HDR and WCG Principles-Part 1HDR and WCG Principles-Part 1
HDR and WCG Principles-Part 1
 
Audio compression
Audio compression Audio compression
Audio compression
 
JPEG Image Compression
JPEG Image CompressionJPEG Image Compression
JPEG Image Compression
 

Andere mochten auch (20)

Multimedia chapter 4
Multimedia chapter 4Multimedia chapter 4
Multimedia chapter 4
 
Multimedia tools (sound)
Multimedia tools (sound)Multimedia tools (sound)
Multimedia tools (sound)
 
calculate audio file size
calculate audio file sizecalculate audio file size
calculate audio file size
 
Audio editing ppt
Audio editing pptAudio editing ppt
Audio editing ppt
 
Multimedia
MultimediaMultimedia
Multimedia
 
Audio file format
Audio file formatAudio file format
Audio file format
 
Chapter 7 Sound
Chapter 7 SoundChapter 7 Sound
Chapter 7 Sound
 
Audio formats
Audio formatsAudio formats
Audio formats
 
Powerpoint: Video and Audio
Powerpoint: Video and AudioPowerpoint: Video and Audio
Powerpoint: Video and Audio
 
Multimedia
MultimediaMultimedia
Multimedia
 
Audio media
Audio mediaAudio media
Audio media
 
Editing techniques
Editing techniquesEditing techniques
Editing techniques
 
Ppt on audio file formats
Ppt on audio file formatsPpt on audio file formats
Ppt on audio file formats
 
Multimedia authoring tools
Multimedia authoring toolsMultimedia authoring tools
Multimedia authoring tools
 
multimedia element
multimedia elementmultimedia element
multimedia element
 
Chap65
Chap65Chap65
Chap65
 
Sound
SoundSound
Sound
 
Sound editing.
Sound editing.Sound editing.
Sound editing.
 
Sampling rate bit depth
Sampling rate bit depthSampling rate bit depth
Sampling rate bit depth
 
Methods and principles of sound design and production
Methods and principles of sound design and productionMethods and principles of sound design and production
Methods and principles of sound design and production
 

Ähnlich wie Lecture6 audio

Chapter 02 audio recording - part i
Chapter 02   audio recording - part iChapter 02   audio recording - part i
Chapter 02 audio recording - part iNazihah Ahwan
 
Sampling rate bit depth_lossey lossless
Sampling rate bit depth_lossey losslessSampling rate bit depth_lossey lossless
Sampling rate bit depth_lossey losslessJonny Williams
 
The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion processDJNila
 
UNDERSTANDING SOUND, IMAGES AND COLOR
UNDERSTANDING SOUND, IMAGES AND COLORUNDERSTANDING SOUND, IMAGES AND COLOR
UNDERSTANDING SOUND, IMAGES AND COLORNahumQuiros
 
Audio125 wk1-review-digital-audio-specs-and-acoustics
Audio125 wk1-review-digital-audio-specs-and-acousticsAudio125 wk1-review-digital-audio-specs-and-acoustics
Audio125 wk1-review-digital-audio-specs-and-acousticsRaffiel203
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversionDJShirlee
 
Fundamentals of multimedia priya singh.pptx
Fundamentals of multimedia priya singh.pptxFundamentals of multimedia priya singh.pptx
Fundamentals of multimedia priya singh.pptxKARANPATEL770617
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversionFirman Bachtiar
 
Multimedia Systems by Sahil Punni
Multimedia Systems by Sahil PunniMultimedia Systems by Sahil Punni
Multimedia Systems by Sahil PunniSahil Punni
 
Digital Electronics for Audio
Digital Electronics for AudioDigital Electronics for Audio
Digital Electronics for Audiojazztothebone
 
Magazine Article
Magazine ArticleMagazine Article
Magazine Articlephele1994
 

Ähnlich wie Lecture6 audio (20)

Chapter 02 audio recording - part i
Chapter 02   audio recording - part iChapter 02   audio recording - part i
Chapter 02 audio recording - part i
 
M1L1-2.ppt
M1L1-2.pptM1L1-2.ppt
M1L1-2.ppt
 
Sound
SoundSound
Sound
 
Sampling rate bit depth_lossey lossless
Sampling rate bit depth_lossey losslessSampling rate bit depth_lossey lossless
Sampling rate bit depth_lossey lossless
 
05 audio
05 audio05 audio
05 audio
 
Soundpres
SoundpresSoundpres
Soundpres
 
The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion process
 
Digital audio
Digital audioDigital audio
Digital audio
 
UNDERSTANDING SOUND, IMAGES AND COLOR
UNDERSTANDING SOUND, IMAGES AND COLORUNDERSTANDING SOUND, IMAGES AND COLOR
UNDERSTANDING SOUND, IMAGES AND COLOR
 
Sound digitalisation
Sound digitalisationSound digitalisation
Sound digitalisation
 
Audio125 wk1-review-digital-audio-specs-and-acoustics
Audio125 wk1-review-digital-audio-specs-and-acousticsAudio125 wk1-review-digital-audio-specs-and-acoustics
Audio125 wk1-review-digital-audio-specs-and-acoustics
 
Sound.pptx
Sound.pptxSound.pptx
Sound.pptx
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversion
 
Fundamentals of multimedia priya singh.pptx
Fundamentals of multimedia priya singh.pptxFundamentals of multimedia priya singh.pptx
Fundamentals of multimedia priya singh.pptx
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversion
 
Multimedia Systems by Sahil Punni
Multimedia Systems by Sahil PunniMultimedia Systems by Sahil Punni
Multimedia Systems by Sahil Punni
 
Audio-1
Audio-1Audio-1
Audio-1
 
Audio
AudioAudio
Audio
 
Digital Electronics for Audio
Digital Electronics for AudioDigital Electronics for Audio
Digital Electronics for Audio
 
Magazine Article
Magazine ArticleMagazine Article
Magazine Article
 

Mehr von Mr SMAK

Fyp list batch-2009 (project approval -rejected list)
Fyp list batch-2009 (project approval -rejected list)Fyp list batch-2009 (project approval -rejected list)
Fyp list batch-2009 (project approval -rejected list)Mr SMAK
 
Assigments2009
Assigments2009Assigments2009
Assigments2009Mr SMAK
 
Evaluation of cellular network
Evaluation of cellular networkEvaluation of cellular network
Evaluation of cellular networkMr SMAK
 
Common protocols
Common protocolsCommon protocols
Common protocolsMr SMAK
 
Cellular network
Cellular networkCellular network
Cellular networkMr SMAK
 
Lecture 6.1
Lecture  6.1Lecture  6.1
Lecture 6.1Mr SMAK
 
Lecture 6
Lecture  6Lecture  6
Lecture 6Mr SMAK
 
Parallel architecture
Parallel architectureParallel architecture
Parallel architectureMr SMAK
 
Lecture 3
Lecture 3Lecture 3
Lecture 3Mr SMAK
 
Lecture 2
Lecture 2Lecture 2
Lecture 2Mr SMAK
 
Lecture 1
Lecture 1Lecture 1
Lecture 1Mr SMAK
 
Lecture 6
Lecture  6Lecture  6
Lecture 6Mr SMAK
 
Lecture 6.1
Lecture  6.1Lecture  6.1
Lecture 6.1Mr SMAK
 
Chapter 2 ASE
Chapter 2 ASEChapter 2 ASE
Chapter 2 ASEMr SMAK
 
Structure of project plan and schedule
Structure of project plan and scheduleStructure of project plan and schedule
Structure of project plan and scheduleMr SMAK
 
Proposal format
Proposal formatProposal format
Proposal formatMr SMAK
 
Proposal announcement batch2009
Proposal announcement batch2009Proposal announcement batch2009
Proposal announcement batch2009Mr SMAK
 
List ofsuparco projectsforuniversities
List ofsuparco projectsforuniversitiesList ofsuparco projectsforuniversities
List ofsuparco projectsforuniversitiesMr SMAK
 
Fyp timeline & assessment policy batch 2009
Fyp timeline & assessment policy batch 2009Fyp timeline & assessment policy batch 2009
Fyp timeline & assessment policy batch 2009Mr SMAK
 

Mehr von Mr SMAK (20)

Fyp list batch-2009 (project approval -rejected list)
Fyp list batch-2009 (project approval -rejected list)Fyp list batch-2009 (project approval -rejected list)
Fyp list batch-2009 (project approval -rejected list)
 
Assigments2009
Assigments2009Assigments2009
Assigments2009
 
Week1
Week1Week1
Week1
 
Evaluation of cellular network
Evaluation of cellular networkEvaluation of cellular network
Evaluation of cellular network
 
Common protocols
Common protocolsCommon protocols
Common protocols
 
Cellular network
Cellular networkCellular network
Cellular network
 
Lecture 6.1
Lecture  6.1Lecture  6.1
Lecture 6.1
 
Lecture 6
Lecture  6Lecture  6
Lecture 6
 
Parallel architecture
Parallel architectureParallel architecture
Parallel architecture
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Lecture 6
Lecture  6Lecture  6
Lecture 6
 
Lecture 6.1
Lecture  6.1Lecture  6.1
Lecture 6.1
 
Chapter 2 ASE
Chapter 2 ASEChapter 2 ASE
Chapter 2 ASE
 
Structure of project plan and schedule
Structure of project plan and scheduleStructure of project plan and schedule
Structure of project plan and schedule
 
Proposal format
Proposal formatProposal format
Proposal format
 
Proposal announcement batch2009
Proposal announcement batch2009Proposal announcement batch2009
Proposal announcement batch2009
 
List ofsuparco projectsforuniversities
List ofsuparco projectsforuniversitiesList ofsuparco projectsforuniversities
List ofsuparco projectsforuniversities
 
Fyp timeline & assessment policy batch 2009
Fyp timeline & assessment policy batch 2009Fyp timeline & assessment policy batch 2009
Fyp timeline & assessment policy batch 2009
 

Kürzlich hochgeladen

Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 

Kürzlich hochgeladen (20)

Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 

Lecture6 audio

  • 1. LECTURE 7 THE USES OF DIGITAL AUDIO IN MULTIMEDIA Prepared by Razia Nisar Noorani 1
  • 2. Objective q What is sound? • Waveforms and attributes of sound q Capturing digital audio • Sampling q MIDI (Musical Instrument Digital Interface) 2
  • 3. Sound  Sound comprises the spoken word, voices, music and even noise.  It is a complex relationship involving a vibrating object (sound source), a transmission medium (usually air), a receiver (ear) and a perceptor (brain). Example banging drum.  As the sound vibrates it bumps into molecules of the surrounding medium causing pressure waves to travel away from the source in all directions 3
  • 4. Sound  So, Sound are rapid vibrations that are transmitted as variations in air pressure. 4
  • 5. Waveforms  Sound waves are manifest as waveforms  A waveform that repeats itself at regular intervals is called a periodic waveform  Waveforms that do not exhibit regularity are called noise  The unit of regularity is called a cycle  This is known as Hertz (or Hz) after Heinrich Hertz  One cycle = 1 Hz  Sometimes written as kHz or kiloHertz (1 kHz = 1000 Hz) 5
  • 6. Waveforms Time for one cycle distance along wave Cycle 6
  • 7. The characteristics of sound waves  Sound is described in terms of two characteristics:  Frequency  Amplitude (or loudness)  Frequency  the rate at which sound is measured  Number of cycles per second or Hertz (Hz)  Determines the pitch of the sound as heard by our ears  The higher frequency, the clearer and sharper the soundthe higher pitch of sound 7
  • 8. The characteristics of sound waves  Amplitude  Sound’s intensity or loudness  The louder the sound, the larger amplitude.  In addition, all sounds have a duration and successive musical sounds is called rhythm 8
  • 9. The characteristics of sound waves Amplitude Time for one cycle pitch distance along wave Cycle 9
  • 10. Example waveforms Piano Pan flute Snare drum 10
  • 11. Capture and playback of digital audio Air pressure variations Digital to Analogue Converter Converts back into Captured via voltage DAC microphone Signal is converted into binary Analogue (discrete form) to Digital ADC 0101001101 Air pressure Converter 0110101111 variations 11
  • 12. The Analogue to Digital Converter (ADC)  An ADC is a device that converts analogue signals into digital signals  An analogue signal is a continuous value  It can have any single value on an infinite scale  A digital signal is a discrete value  It has a finite value (usually an integer)  An ADC is synchronised to some clock 12
  • 13. The Analogue to Digital Converter (ADC)  It will monitor the continuous analogue signal at a set rate and convert what it sees into a discrete value at that specific moment in time  The process to convert the analogue to digital sound is called Sampling. Use PCM (Pulse Code Modulation) 13
  • 16. Sampling  Two parameters: Sampling Rate  Frequency of sampling  Measure in Hertz  The higher sampling rate, higher quality sound but size storage is big.  Standard Sampling rate: - 44.1 KHz for CD Audio - 22.05 KHz - 11.025 KHz for spoken - 5.1025 KHz for audio effect 16
  • 17. Sampling Size sample The resolution of a sample is the number of bits it uses to store a given amplitude value, e.g.  8 bits (256 different values)  16 bits (65536 different values)  A higher resolution will give higher quality but will require more memory (or disk storage) 17
  • 18. Quantisation  Samples are usually represented the audio sample as a integers(discrete number) or digital 15 0 S a m p le p o in t s 18
  • 19. Calculating the size of digital audio  The formula is as follows: rate × duration × resolution × number of channels 8  The answer will be in bytes  Where:  sampling rate is in Hz  Duration/time is in seconds  resolution is in bits (1 for 8 bits, 2 for 16 bits)  number of channels = 1 for mono, 2 for stereo, etc. 19
  • 20. Calculating the size of digital audio  Example: Calculate the file size for 1 minute, 44.1 KHz, 16 bits, stereo sound rate × duration × resolution × number of channels 8  Where:  sampling rate is 44,100 Hz  Duration/time is 60 seconds  resolution is 16 bits  number of channels for stereo is 2 20
  • 21. Calculating the size of digital audio rate × duration × resolution × number of channels 8 44100 * 60 * 16 *2 8 21
  • 22. Digital audio editing software  One of the most powerful and professional PC-based packages is a tool called Sound Forge http://www.sonicfoundry.com/ 22
  • 23. Editing Digital Audio  Trimming  Splicing and assembly  Volume adjustments  Format conversion  Resampling or downsampling  Fade ins and fade outs  Equalization  Time Stretching  Digital Signal processing  Reversing Sounds 23
  • 24. Editing Digital Audio  Simple audio editing software allows:  Recording of digital audio segments  Trimming  Splicing and assembly  Volume adjustments of the entire segment  Reversing Sounds  Copy, cut, paste and delete segments of digital audio  Others audio editing software:  COOL Edit Pro  Gold Wave  PROSONIQ SonicWORX  Samplitude Studio 24
  • 25. Audio formats  Depend on O/S. For examples:  AIFF (Audio Interchange File Format)  SOU  For Macintosh  .WAV  Waveform file format. For Windows/Microsoft  .VOC  Sound Blaster Card 25
  • 26. What is WAV? q WAV is an audio file format that was developed by Microsoft. q It is so wide spread today that it is called a standard PC audio file format. q A Wave file is identified by a file name extension of WAV (.wav). q Used primarily in PCs, the Wave file format has been accepted as a viable interchange medium for other computer platforms, such as Macintosh. 26
  • 27. What is WAV? q This allows content developers to freely move audio files between platforms for processing, q For example. The Wave file format stores information about • the file's number of tracks (mono or stereo), • sample rate • bit depth 27
  • 28. What is WAV? q Pros q Can be played by nearly all Windows applications that support sound q Fast decoding q Cons q Very large file size 28
  • 29. MIDI (Musical Instrument Digital Interface)  MIDI is a standard for specifying a musical performance  Rather than send raw digital audio, it sends instructions to musical instruments telling them what note to play, at what volume, using what sound, etc.  The synthesiser that receives the MIDI events is responsible for generating the actual sounds. Example: Keyboard Piano 29
  • 30. MIDI sequencers q A MIDI sequencer allows musicians to edit and create musical compositions like a word processor • Cut and paste • Insert / delete 30
  • 31. MIDI Versus Wav  Quality recording, MIDI depend to the tools  Audio .wav easier to create compare than MIDI  MIDI Advantages  File Size small  Size Storage also small  MIDI Advantages  Playback  Cost and Skill 31
  • 32. How audio can be used effectively Examples of uses of audio:  Cautions and warnings It is a good medium for alerting users to critical information. Some uses include:  Sounding an alarm when a limit is reached  Alerting users when data is entered incorrectly  Music and Sound Effects These make multimedia interaction more real. Some uses include: 32
  • 33. How audio can be used effectively  Musical background for a video segment  Birds Songs accompanying photographs in biological field training.  Sound-related data. Some uses include:  Helping mechanics diagnose engine trouble  Training medical students to recognize different breathing sounds 33
  • 34. How audio can be used effectively  Direct voice communication. Some uses include:  Leaving a voice message for other users of an application  Consulting with an expert during a troubleshooting procedure. 34
  • 35. Advantages and Disadvantages of using audio Sound adds life to any multimedia application and plays important role in effective marketing presentations.  Advantages  Ensure important information is noticed  Add interest  Can communicate more directly than other media 35
  • 36. Advantages and Disadvantages of using audio  Disadvantages  Easily overused  Requires special equipment for quality production  Not as memorable as visual media 36
  • 37. Summary  There are two main types of digital audio  Sampled audio  Captured by sampling an analogue waveform at a set rate  MIDI data  Instructions on how to perform some musical composition  Sampled audio requires more storage space than MIDI information 37

Hinweis der Redaktion

  1. SCA 3103 - Introduction to Multimedia 17 March 2012 Lecture 7
  2. SCA 3103 - Introduction to Multimedia 17 March 2012 Lecture 7
  3. SCA 3103 - Introduction to Multimedia 17 March 2012 Lecture 7
  4. SCA 3103 - Introduction to Multimedia 17 March 2012 Lecture 7