Professional Documents
Culture Documents
Objective
What is sound? Waveforms and attributes of sound Capturing digital audio Sampling MIDI (Musical Instrument Digital Interface)
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
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
Example Waveforms
Piano
Snare drum
Pan flute
10
Captured via microphone Signal is converted into binary (discrete form) 0101001101 0110101111
DAC
ADC
Sampling
Two parameters:
1. Sampling Rate
Frequency of sampling Measure in Hertz The higher sampling rate, higher quality sound but size storage is big. Standard Sampling rate:
12
Sampling
2. 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)
13
16
17
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
20
21
MIDI Sequencers
A MIDI sequencer allows musicians to edit and create musical compositions like a word processor Cut and paste Insert / delete
22
MIDI Disadvantages
Playback Cost and Skill
23
24
Sound-related data. Some uses include: Helping mechanics diagnose engine trouble Training medical students to recognize different breathing sounds
25
26
--28
29
Objective
Analogue video What is digital video? Calculating the size of digital video Compression techniques Digital video formats Video capture hardware Digital video editing Consumer desktop video
30
Analog video
Video information that is stored using television video signals, film, videotape or other non-computer media. Each frame is represented by a fluctuating voltage signal known as an analogue wave form or composite video. Composite analogue video has all the video components: brightness, colour and synchronization Then, combined into one signal for delivery
31
Analog video
Usage : television Problems: colour blending, low clarity, high generation lost, difficult to edit
32
33
34
35
at least 15 fps
36
37
38
Compression Techniques
Since the size of raw digital video is so prohibitively large we need some means to compress the information Video compression and decompression program, known as Codecs Lossy compression techniques cause some information to be lost from the original image Redundant information
Example: Image and video
Compression Techniques
Lossless compression techniques do not lose information throughout the compression and decompression process Example use in text images Exactly same before and after compression Technique is to identify repeating words and assign them a code. Decompression, the code would be changed back to the actual word.
41
42
MPEG Video
Named after the Moving Picture Experts Group who devised the compression and file formats There are a number of MPEG formats: MPEG-1 is a format used for low quality video (generally displayed on computers) MPEG-1 Layer 3 is the popular encoding mechanism for MP3 audio MPEG-2 is used for digital TV broadcasts and DVDs MPEG-4 is a new format for multimedia presentations Can require separate hardware to decode higher quality MPEG video data
43
Only the difference between the current and next frame needs to be stored This is called intraframe coding
44
QuickTime
Developed by Apple, Inc. Primarily for playback without any hardware assistance Can achieve compression ratios of 25 to 200:1 The QuickTime format can also store audio, graphics, 3D and text making it more much versatile for multimedia applications
45
Microsoft AVI
Audio Video Interleave format Interleaving is a technique used to embed two or more things into the same stream of information In every chunk of information you will find some video data and some audio data
8, 16 or 24 bits
47
48
49
50
53
Objective
What is an animation? Animation categories Animation Special Effects
54
Animation
Such animation is made from a series of stills and relies on something called persistence of vision. Persistence of vision is the phenomenon were an object on the eyes retina remains for a brief time after viewing. This means that a series of still images which vary slightly, if shown rapidly will give the illusion of movement.
55
Animation
If each of the eight pictures below were shown at the same point in rapid succession, the result would be a rotating arrow.
The pictures shown below are stills of the rotating Ford logo from the Ford Motor Company site.
56
Animation
TV gives the illusion of continuous movement by showing the stills at the rate of 30 frames per second. Feature films are filmed at a rate of 24 frames per second but shown at a rate of 48 frames per second. Today, most animation is performed by computer.
Examples are Bugs, Toy Story, Jurassic Park etc.
The computer will produce a wire frame of the scene, then apply textures and light effects before moving onto the production of the next frame, each of which may take hours or even days to produce.
57
Animation Categories
Two categories : Traditional Animation All frame in an animation had to be drawn by hand Computer Graphics Animation The use of computers to create animations.
58
Traditional Animation
Different techniques for creating animation by hand: Key frames Cell Animation
Rotoscoping: An animation technique for tracing images of live action, often a part of motion capture
59
Morphing
The creator can usually specify the number of intermediate frames to be produced as well the the number of key points. Both the number of the key points and number of frames will impact on the time taken to produce the sequence of frames.
62
Morphing
The diagrams show start and end frames and the intermediate frames produced by morphing software
Morphing software:
Photo Morph, Hijact Morph Elastic Reality
63
64
65
66