1 1 introduction to computer science بسم الله الرحمن الرحيم multimedia level -9...

29
1 1 Introduction to Computer Science ن م ح ر ل ه ا ل ل م ا س ب م ي ح ر ل اMULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education College of Science and Arts, Mohayel Aseer

Upload: megan-ray

Post on 01-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

11

Introduction to Computer Science

بسم الله الرحمن الرحيم

MULTIMEDIA LEVEL -9

King Khalid UniversityKingdom of Saudi Arabia

Ministry of Higher EducationCollege of Science and Arts, Mohayel Aseer

Page 2: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

2

CHAPTER 2Multimedia Elements

Page 3: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

3

Multimedia Elements Text Graphics Animation Audio Video Menus

Hyperlinks Virtual

Reality

Page 4: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

4

Multimedia Elements: TextText should be:

Appropriate for the target audience.Easy to read.

Serif typefaces are preferred for printed material.Sans serif typefaces are preferred for on-screen

display.Formatted consistently throughout the

presentation.

Page 5: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

5

Multimedia Elements: GraphicsGraphics are an important part of the

communication process.They can be used to:

Highlight informationSet a mood or toneProvide examplesServe as backgrounds

The two types of graphic used in multimedia are raster and vector.Vector graphics are made up of arcs

and lines..Raster graphics are made of dots.

Page 6: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

6

Multimedia Elements: Graphics

When using graphics, the multimedia designer must:Determine the best balance between the size and

quality.Use appropriate graphics for the intended purpose and

audience.Choose appropriate file formats

Standard for the internet: JPEG (Joint Photographer Experts Group)GIF (Graphics Interchange file format) PNG (Portable Network Graphics)

Most popularTIFF - Tagged Image File FormatBMP – BitmapPCX - Windows PaintPICT - Macintosh

Page 7: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

7

Multimedia Elements: Graphics

Graphics editing programs allow designers to draw, paint, or edit images.

A combination of different graphic programs may be used in creating multimedia titles.

Page 8: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

8

Multimedia Elements: Animation

2-D and 3-D animations are useful in multimedia in the areas of entertainment, education, and training.

They can be used to create simplified illustrations of a simulation or dramatization.

They can be much easier to understand because they are less complex than video.

2-D animations have smaller file sizes that video files which means quicker loading or downloading of the files.

Page 9: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

9

Multimedia Elements: Sound

Sounds in multimedia titles could include:Music.Narrations.Sound effects.Original recordings.

Sound waves are vibrations that are created when we speak.

Sound waves are analog signals because they are continuous, fluctuating waves with no interruptions.

Page 10: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

10

Multimedia Elements: Sound

Computers are digital machines, meaning that they represent data with 1s and 0s.

To use sound on the computer, the sound waves must be converted from analog to digital form, or digitized.

This conversion process is called sampling.

Page 11: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

11

SamplingSampling is a means of reproducing a

continuous event, such as sound or motion, by recording many fragments of it.

It involves taking “snapshots” of a sound wave in rapid intervals.

These samples, or bits of information, are saved as numbers to allow the computer to process them.

Page 12: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

12

Sample RateThe sample rate is the number of samples

taken per second. It is typically expressed in hertz (Hz), or

samples per second.16,000 samples per second = 16 kHz44,100 samples per second = 44.1 kHz

(CD quality sound)

Page 13: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

13

Sample Rate (continued)

The higher the sampling rate, the more samples taken per second.

This means:The digital sound will more closely match the

analog sound.The quality of the audio will be better.

Page 14: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

14

Sample SizeSample size is the number of bits used to

store one sample.

It is also called resolution.

The more bits used per sample, the closer the digital copy sounds to the original analog sound.

The larger the sample size, the bigger the file size but the better the quality of the sound.

CD-quality sound has a sample size of 16 bits.

Page 15: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

15

Sample Size (continued)

Sample size can be changed in Windows Sound Recorder by clicking on the File Menu and then clicking on Properties.

It can be set for:RecordingPlayback

Page 16: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

16

Audio File Size is Determined By:

Sampling rate – the number of samples per second.

Sample size – the number of bits used to save one sample.

Channels recorded – mono or stereo.

Page 17: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

17

Audio File Formats

AU – (Audio) file created by Sun Microsystems and used on computers running the UNIX operating system.

MP3 – (Mpeg-1 Audio Layer 3) very compressed file that is popular for music stored on portable players and on the Internet because it can reproduce near-CD quality audio in small file sizes.

MIDI – (Musical Instrument Digital Interface) file format for creating and/or playing music with instruments using synthesizers and sound cards.

Page 18: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

18

Audio File Formats (continued)

WAV – (Waveform) file format developed jointly by IBM and Microsoft as the native format for Windows sound files.Produces high-quality sound.Generates large file sizes because it is

uncompressed.Commonly used to edit sound which is then saved in

a different compressed format for distribution.WMA (Windows Media Audio) proprietary file

format developed by Microsoft originally to compete with the .MP3 format.Produces high-quality sound.More compressed than .WAV files.

Page 19: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

19

Multimedia Elements: Video

Videos allow the audience to view actual events instead of just reading about or listening to them.

Sources for videos include web sites and stock film companies.

Page 20: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

20

Multimedia Elements: Video

Videos can be used in:CD-ROMSGamesPresentationsVideo simulationsVideoconferencesWebsites.

Videos vary in quality.

Page 21: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

21

The Video Format

The file format of the video determines:

Which programs can open and play it.

How much storage space it occupies.

How fast it travels over an Internet connection.

Page 22: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

22

Video File Formats

AVI (Audio Video Interleave)Windows format, plays in Windows Media PlayerVery good quality, even at smaller resolutionsLarge file size – not recommended for delivering

video over the Internet.Popular format for videos stored on a computer.

MOV (Movie)Apple format, plays in the QuickTime PlayerVery good qualityPopular format for videos downloaded from the

Internet.

Page 23: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

23

Video File Formats

MPEG (Moving Pictures Expert Group) The standard for compression and storage of audio and

motion video for use on the World Wide Web.Creates video small file sizes.Popular format for videos downloaded from the

Internet.Its biggest advantage is that It will play in many different

media players.

RM (RealMedia)Plays in the RealPlayer player.Typically contains a movie clip.Popular format for streaming video viewed over the

Internet.Real Player is generally supported by many different

computers and operating systems.

Page 24: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

24

Video File Formats

WMV (Windows Media Video)Proprietary video format developed by Microsoft.Plays in Windows Media Player.Popular format for streaming video viewed over the

Internet.

FLV (Flash Video)New file format widely used on the Internet.Plays in Adobe Flash Player.Very small file size.Popular format for streaming video viewed over the

Internet

Page 25: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

25

Multimedia Element: Virtual RealityVirtual Reality

In multimedia, it can be used to show an environment that surrounds users so that they become part of the experience OR

To provide a 3-D representation of an environment or scene for demonstration.

Page 26: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

26

Multimedia Elements: Availability

Stock clips of animation, sound, and video are: Available for free or for a fee:

On CD’s which can be purchased.In presentation software programs.On web sites.

Made available by vendors (for sale) or individuals (created as a hobby).

Available in several formats such as MPEG1, Quicktime or Streaming Quicktime.

Page 27: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

27

Review

Guidelines for using copyrighted multimedia elements include:

TextMotion mediaIllustrationsMusicInternetNumerical data setsCopying and distributionAlteration limitationsCitations

Page 28: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

28

Review (Continued)

Multimedia Elements:TextGraphicsAnimation AudioVideoVirtual Reality

Page 29: 1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education

29

Exercise(A) Define the following.1) Sounds 2) Sampling 3) Sample Size 4) MP3 5) MIDI 6)

Video 7) .avi video 8) .mov video format 9) FLV video 10) Virtual Reality(B) Write short answers for the following.1) How should the text be in multimedia?2) Why can one use graphics?3) How many types of graphics are used in multimedia?4) What should designer keep in mind while using graphics?5) Write down any four image formats.6) Which factors determine audio file size?7) Write a note on WAV audio format.8) Which important factors does a video file format determine?9) Write a note on MPEG video format.(C) Write detailed answers for the following.1) Explain animations.2) Explain sample rates.