Sound and Video - PowerPoint PPT Presentation

1 / 21
About This Presentation
Title:

Sound and Video

Description:

MP3. Good for short sound effects (correct/incorrect response, ... Embedded can be .mp3, .wav, .aiff . . . Still worth the effort. Sandbox issues. Utah State ... – PowerPoint PPT presentation

Number of Views:54
Avg rating:3.0/5.0
Slides: 22
Provided by: aew2
Category:
Tags: aiff | sound | video

less

Transcript and Presenter's Notes

Title: Sound and Video


1
Sound and Video
2
Topics
  • Sound
  • Timeline
  • ActionScript
  • Sound Design for Instruction
  • Video
  • FLVPlayback Component
  • Flash Video Encoder

3
Sound design (Bishop Cates, 2001)
  • Music
  • Set mood/control pacing
  • Keep short
  • Narration
  • Text lt narration
  • Environmental sounds
  • Inverse length relationships
  • First person (immersion)
  • Feel free to exagerate

4
Sound design (cont.)
  • Referential sound
  • Metaphor reinforcement
  • Feedback/consistency (audio syntax)
  • Learner control
  • On/off
  • Replay

5
Sound formats supported by Flash
6
Impacts on file size
Sample Rate (kHz)
Sample Size (bits)
7
Sound compression in Flash
Adapted from CS3 help file
8
Issues with sound
  • Action Script is preferred control mechanism.
  • Event vs. Stream

9
Sound in the timeline
  • Effects (mostly custom effects)
  • Export settings/compression

10
Sound using ActionScript 3.0
  • Embedded sounds
  • Linkage names
  • Custom class
  • Sound class
  • SoundChannel class
  • SoundTransform class
  • Alternative
  • Loaded Sounds (Sound class)

11
Things to know about sound
  • Limited to 32 sound channels
  • If importing at run time, has to be .mp3
  • Embedded can be .mp3, .wav, .aiff . . .
  • Still worth the effort.
  • Sandbox issues

12
Sound using ActionScript 3.0
  • Example (simple)
  • // create a new instance of an embedded sound
  • // that uses the linkage name quietlySnd (this
    is
  • // your custom class)
  • var backMusicquietlySnd new quietlySnd()
  • // if youre happy with the sound as is
  • backMusic.play()

13
Sound using ActionScript 3.0
  • Example (if you need to tweak things)
  • var quietlySoundquietlySnd new quietlySnd()
  • // associate the sound with a sound channel,
    tell it to play
  • var quietlyChannelSoundChannel
    quietlySound.play()
  • // associate that sound channel with a
    SoundTransform.
  • var quietlyTransformSoundTransform new
    SoundTransform()
  • // update things like the volume with that sound
    transform.
  • quietlyTransform.volume .5
  • // apply the sound transform to the channel.
  • quietlyChannel.soundTransform quietlyTransform

14
Sound object (linkage name)
  • Example (if you need to tweak things)
  • var quietlySoundquietlySnd new quietlySnd()
  • // associate the sound with a sound channel,
    tell it to play
  • var quietlyChannelSoundChannel
    quietlySound.play()
  • // associate that sound channel with a
    SoundTransform.
  • var quietlyTransformSoundTransform new
    SoundTransform()
  • // update things like the volume with that sound
    transform.
  • quietlyTransform.volume .5
  • // apply the sound transform to the channel.
  • quietlyChannel.soundTransform quietlyTransform

15
Sound object instance
  • Example (if you need to tweak things)
  • var quietlySoundquietlySnd new quietlySnd()
  • // associate the sound with a sound channel,
    tell it to play
  • var quietlyChannelSoundChannel
    quietlySound.play()
  • // associate that sound channel with a
    SoundTransform.
  • var quietlyTransformSoundTransform new
    SoundTransform()
  • // update things like the volume with that sound
    transform.
  • quietlyTransform.volume .5
  • // apply the sound transform to the channel.
  • quietlyChannel.soundTransform quietlyTransform

16
Sound Channel instance
  • Example (if you need to tweak things)
  • var quietlySoundquietlySnd new quietlySnd()
  • // associate the sound with a sound channel,
    tell it to play
  • var quietlyChannelSoundChannel
    quietlySound.play()
  • // associate that sound channel with a
    SoundTransform.
  • var quietlyTransformSoundTransform new
    SoundTransform()
  • // update things like the volume with that sound
    transform.
  • quietlyTransform.volume .5
  • // apply the sound transform to the channel.
  • quietlyChannel.soundTransform quietlyTransform

17
Sound Transform instance
  • Example (if you need to tweak things)
  • var quietlySoundquietlySnd new quietlySnd()
  • // associate the sound with a sound channel,
    tell it to play
  • var quietlyChannelSoundChannel
    quietlySound.play()
  • // associate that sound channel with a
    SoundTransform.
  • var quietlyTransformSoundTransform new
    SoundTransform()
  • // update things like the volume with that sound
    transform.
  • quietlyTransform.volume .5
  • // apply the sound transform to the channel.
  • quietlyChannel.soundTransform quietlyTransform

18
Supported Video
Adapted from CS3 help file
-Direct X 9.0 -Quicktime 7 (mac), Quicktime 6.5
(pc)
19
Video
  • Live stream
  • Flash Communication Server MX
  • http//www.macromedia.com/devnet/mx/flashcom/artic
    les/odopod.html
  • .FLV (external/internal)
  • Factors that affect video size
  • Frames per second
  • Picture quality
  • Dimensions (height/width)
  • Compression Algorithm

20
Video compression in Flash
Adapted from CS3 help file
21
Video and Sound
  • FLV component plays and persists
  • Sound Channels play until stopped
  • Timeline controlled sounds
Write a Comment
User Comments (0)
About PowerShow.com