1 Digital Audio Storage Formats. 2 Formats  There are many different formats for storing and communicating digital audio:  CD audio  Wav  Aiff  Au.

Slides:



Advertisements
Similar presentations
Multimedia: Digitised Sound Data Section 3. Sound in Multimedia Types: Voice Overs Special Effects Musical Backdrops Sound can make multimedia presentations.
Advertisements

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.
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.
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.
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.
Musical Instrument Digital Interface. MIDI Basics First introduced in 1983.
Audio 1 Subject:T0934 / Multimedia Programming Foundation Session:8 Tahun:2009 Versi:1/0.
Audio 2 Subject:T0934 / Multimedia Programming Foundation Session:9 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.
MIDI. Musical Instrument Digital Interface Specification for physically connecting different devices, and for communicating between them. Designed for.
Musical Instrument Digital Interface. MIDI Musical Instrument Digital Interface Enables electronic musical instruments, such as keyboard controllers,
1 Revision. 2 Multimedia Systems 1  Lecture 1 - The Physics of Sound  Lecture 2 - The Java Sound API  Lecture 3 - Input Transducers (Microphones) 
Java Audio.
Music Processing Roger B. Dannenberg. Overview  Music Representation  MIDI and Synthesizers  Synthesis Techniques  Music Understanding.
EE2F2 - Music Technology 5. MIDI. A Musical Interface Early synthesisers were often modular designs Sounds were built up by patching together several.
Chapter 9 Audio.
MIDI One choice for adding sounds to multimedia applications is the use of digital audio soundfiles This can become very memory intensive, however, for.
M I D I Musical Instrument Digital Interface The MIDI protocol — a “language” that lets synthesizers, computers and other devices talk to each other.
Midi files Here we look at another way of dealing with sound on a computer the use of Midi files. The the Midi file differs from the “wav” file, because.
Introduction to Interactive Media 10: Audio in Interactive Digital Media.
MIDI. A protocol that enables computers, synthesizers, keyboards, and other musical devices to communicate with each other. Instead of storing actual.
TA212 The Technology of Music Steve Wells. Tutorial 4 TMA04 –cutoff date January 22nd Block 4 Part 1 –starts February 15th TA212 The Technology of Music.
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.
Signal Digitization Analog vs Digital Signals An Analog Signal A Digital Signal What type of signal do we encounter in nature?
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.
Anatomy of a Sound File v © Allan C. Milne Abertay University.
Multimedia Technology and Applications Chapter 2. Digital Audio
Chapter 15 Recording and Editing Sound. 2Practical PC 5 th Edition Chapter 15 Getting Started In this Chapter, you will learn: − How sound capability.
CMSCDHN1114/CMSCD1011 Introduction to Computer Audio
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 9 This presentation © 2004, MacAvon Media Productions 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.
MIDI Musical Instrument Digital Interface. MIDI A data communications protocol that describes a means for music systems and related equipment to exchange.
File Format. Graphics file Format GIF (Graphics Interchange Format) JPEG (Joint Photographic Experts Group) PNG (Portable Network Graphics) TIFF (Tag.
2015/11/141 Audio I/O Speaker : Wei-Shin Pan DATE :
Virtual Instruments and Sequencing. Proses Pembuatan Lagu/Musik TrackingMixingMastering.
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.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 4: Sound.
Theme: Multimedia Sound ProductionUFCFY Multimedia Sound Production.
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.
1 Sound in Java Summary: r Sound API Basics r MIDI JavaSound - Part of the UIT User Interface Toolkit.
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.
MIDI. MIDI, which means: Musical Instrument Digital Interface, is a digital communications protocol. In August of 1983, music manufacturers agreed on.
By :- Ishank Ranjan Akash Gupta. Audio & Audio File Formats Audio is an electrical or other representation of sound. An audio file format is a file format.
Music and Audio Computing I A Prof. Marcelo M. Wanderley Week 8.
MIDI Musical Instrument Digital Interface Musical sound can be generated, unlike other types of sounds. The Musical Instrument Digital Interface standard.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 4: Sound.
Yongchang, Kai, Justin, Rama
Chapter 15 Recording and Editing Sound
Objective % Explain concepts used to create digital audio.
Multimedia Systems and Applications
Multimedia: Digitised Sound Data
Creating Simple Music By Keith Lynn
CSC 320 – Music Instrument Digital Interface (MIDI) and Digital Audio, Spring 2017 April 2017 Dr. Dale Parson.
Objective % Explain concepts used to create digital audio.
Sound Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman
Digital Audio Application of Digital Audio - Selected Examples
Chapter 9 Audio.
Presentation transcript:

1 Digital Audio Storage Formats

2 Formats  There are many different formats for storing and communicating digital audio:  CD audio  Wav  Aiff  Au  MP3

3 WAVE  Waveform Audio (wave or.wav) is a file format in which Windows stores sounds as waveforms  The WAVE format is a subset of RIFF (Resource Interchange File Format) used for storing digital audio  Basic.wav files store information in PCM format with no compression

4.wav  Wave files contain 3 parts:  Descriptor  Format information  Data

5 Chunk Descriptor  ChunkID - Contains the letters “RIFF” in ASCII form  ChunkSize - This is the size of the entire file in bytes minus 8 bytes for the two fields not included in this count: ChunkID and ChunkSize  Format - Contains the letters “WAVE” in ASCII from

6 Format Sub-chunk  Subchunk1ID - Contains the letters “fmt”  Subchunk1Size - 16 for PCM. This is the size of the rest of the sub-chunk which follows this number  AudioFormat - PCM = 1 (i.e. Linear quantization). Values other than 1 indicate some form of compression  ByteRate - SampleRate * NumChannels * BitsPerSample / 8  BlockAlign - NumChannels * BitsPerSample / 8 The number of bytes for one sample

7 Data Sub-chunk  Subchunk2ID - Contains the letters “data”  Subchunk2Size –  NumSamples * NumChannels * BitsPerSample / 8  This is the number of bytes in the data  Data - The actual PCM sound data  8-bit samples are stored as unsigned bytes, ranging from 0 to bit samples are stored as 2’s-complement signed integers, ranging from to 32767

8.au  Sun’s audio file format  File is composed of three parts:  24-byte header  variable-length annotation block  contiguous segment of audio data

9 Header Information  Magic Number - 4 bytes - “.snd”  hdr_size - 4 bytes - offset to start of audio data  data_size - 4 bytes - data length, in bytes (optional)  encoding - data encoding type code  sample_rate - samples per second  channels - number of interleaved channels

10 AIFF  Apple’s Audio Interchange File Format  RIFF (and thus.wav) is derived from AIFF  File is split into:  Header, Common and Data Chunk ChunkID - Contains the letters “FORM" in ASCII. ChunkSize - This is the size of the entire file in bytes minus 8 bytes for the two fields not included in this count: ChunkID and ChunkSize. Format - Contains the letters “AIFF”  Common chunk – information on data format  Data chunk – PCM audio data

11 MIDI  Musical Instrument Digital Interface  Serial interface standard for interfacing between electronic instruments (31.25Kbits uni-directional)  Involves communicating sound events rather than sampled audio

12 MIDI  The information transmitted between MIDI devices is in a form called a MIDI message, which encodes aspects of sound such as: note played, note number, velocity sustain pedal, breath controllers, aftertouch, pitch bend, modulation

13 MIDI Message Format  Control messages are sent as groups of bytes, preceded by one start bit and followed by a stop bit

14 MIDI Message Format  There are two basic types of MIDI message byte  Status byte (starts with a ‘1’)  Data byte (starts with a ‘0’) 1sssnnnn 0xxxxxxx 0yyyyyyy 8 bits StatusData 1Data 2

15 MIDI Message Format

16 MIDI  There are sixteen basic MIDI channels and instruments can usually be set to receive on one (omni off) or all (omni on)  General MIDI sets the standard for the ordering and naming of sounds Group1-8 Piano65-72 Reed 9-16 Chromatic Percussion Pipe Organ Synth Lead Guitar Synth Pad Bass Synth FX Strings Ethnic Instruments Ensemble Percussive Instrms Brass Sound effects Plus 47 percussive sounds

17 MIDI  Using MIDI for transferring music can be problematic  Even with general MIDI the output depends on the quality and type of synthesiser used  Not so good for Hi-Fi  Very good for multimedia or games sound effects and music

18 MIDI Sequencers  Capable of storing a number of “tracks” of MIDI information and manipulating them

19 MIDI Sequencers

20 MIDI Sequencers

21 Fin