1 / 35

网站技巧

网站技巧. 1. 动态网页背景 2. 添加背景声音 3. 图像热点地图 4.Flash 文本和图像的添加 5. 翻转图片 6. 滚屏文字和图片的添加 7. 插入锚点和节点. Lesson 5-Sound. 声音. Overview. 介绍声音 Introduction to sound. 多媒体系统中的声音 Multimedia system sound. 数字化音频 Digital audio. MIDI 音乐 MIDI audio. 音频文件的各种形式 Audio file formats.

naida
Download Presentation

网站技巧

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 网站技巧 • 1.动态网页背景 • 2.添加背景声音 • 3. 图像热点地图 • 4.Flash文本和图像的添加 • 5.翻转图片 • 6.滚屏文字和图片的添加 • 7.插入锚点和节点

  2. Lesson 5-Sound 声音

  3. Overview • 介绍声音 Introduction to sound. • 多媒体系统中的声音Multimedia system sound. • 数字化音频Digital audio. • MIDI 音乐MIDI audio. • 音频文件的各种形式Audio file formats. • 向多媒体项目中加入多媒体Adding sound to multimedia project

  4. 声音的魅力 Introduction to Sound • 声音的定义。Vibrations in the air create waves of pressure that are perceived as sound. • 声波有不同的声强和频率。Sound waves vary in sound pressure level (amplitude) and in frequency or pitch. • 声学是物理学中研究声音的一个分支。‘Acoustics’ is the branch of physics that studies sound. • 声音的强度水平是用DB衡量的Sound pressure levels (loudness or volume) are measured in decibels (dB).

  5. 多媒体中的声音 Multimedia System Sound • 声音的魅力决定平庸的多媒体作品和引人入胜的专业作品之间的区别,错误的使用声音会消弱多媒体作品。 • 如何产生声音 • 如何自计算机上记录和编辑声音 • 如何将声音集成到多媒体项目中去

  6. 声音的定义 • 声音是一种压力波:当演奏乐器、拍打一扇门或者敲击桌面时,他们的振动会引起介质——空气分子有节奏的振动,使周围的空气产生疏密变化,形成疏密相间的纵波,这就产生了声波,这种现象会一直延续到振动消失为止。 • 声音作为波的一种,总可以被分解为不同频率不同强度正弦波的叠加。这种变换(或分解)的过程,称为傅立叶变换(Fourier Transform)。因此,一般的声音总是包含一定的频率范围。人耳可以听到的声音的频率范围在20到2万赫兹之间。高于这个范围的波动称为超声波,而低于这一范围的称为次声波。

  7. 声音 • 声音是多媒体系统中使用最多的信息 • 声音的三大属性:音调,音强,音色 • 声音分类: • 按用途分:语音(解说音)音乐(配乐)声效(掌声) • 按声音来源分:数字化声音 MIDI合成和利用声音素材库获取 • 按文件格式分:WAV MIDI CDA MP3等

  8. 多媒体中的声音 Multimedia System Sound • 系统声音 System sounds are assigned to various system events such as startup and warnings, among others. • Windows 系统中的声音格式和存放地In Windows, available system sounds include start.wav, chimes.wav, and chord.wav. • 多媒体系统中的声音大多是数字音频或者MIDI音乐。Multimedia sound is either digitally recorded audio or MIDI (Musical Instrumental Digital Interface) music.

  9. 数字音频 Digital Audio • 数字化声音就是采样后的声音Digital audio data is the actual representation of sound, stored in the form of samples. 是声音的真实表现以成千上万个真实的数值形式存储,这些数字化的数据描述了一个声音间隙的瞬息值

  10. 数字化声音 声音的模拟信息——采样——量化——编辑——声音的数字信息 • 影响声音质量的三要素: • 采样频率 • 采样精度 • 通道个数

  11. 数字音频 Digital Audio • 采样频率就是声音采样的时间间隔,也称为时间频率,单位KHZ/S samples represent the amplitude (or loudness) of sound at a discrete point in time. • 采样精度也称为幅度就是每一个样本的采样数,由采样时描述声音波形的比特数量决定,用BIT来表示。 • 频率和幅度决定数字化声音的质量,而与器件无关。Quality of digital recording depends on the sampling rate, (or frequency) that is, the number of samples taken per second.

  12. Digital Audio • 数字化过程中噪声和失真的产生The value of each sample is rounded off to the nearest integer (quantization). • 信噪比:正确信号的能量和噪声能量的比

  13. Digital Audio 准备数字音频Crucial aspects of preparing digital audio files are: • 模拟的声音素材数字化——录制在能够被计算机所识别的数字媒体上。 • 准备数字音频应关注 • Balancing the need for sound quality against available RAM and hard disk resource. • Setting appropriate recording levels to get a high-quality and clean recording.

  14. Digital Audio 1、文件大小与音质 • 数字录音文件大小的公式: • 存储容量(字节)=采样频率×采样精度/8×声道数×时间 • 样例: 44.1×103×16/8×2×60=10.584MB • 2、设置适当的录音水平,避免失真。 • 压缩技术使存储空间减少也同时带来声音的失真。Compression techniques reduce space but reliability suffers.

  15. 多媒体数字音频文件常用的几种格式 • 声音文件的格式是讲一段数字化声音的数据比特和字节纳入一个数据文件中。A sound file’s format is a recognized methodology for organizing data bits of digitized sound into a data file. • 有损压缩的格式主要有MP3, WMA, OGG, MP3pro, AAC, VQF, ASF等。 • WAV格式是微软公司开发的一种声音文件格式,也叫波形声音文件,是最早的数字音频格式,被Windows平台及其应用程序广泛支持。WAV格式支持许多压缩算法,支持多种音频位数、采样频率和声道,采用44.1kHz的采样频率,16位量化位数,因此WAV的音质与CD相差无几,但WAV格式对存储空间需求太大不便于交流和传播.

  16. 多媒体数字音频文件常用的几种格式 • 无损压缩的格式主要有APE, FLAC,WavPack,LPAC,WMALossless,AppleLossless,La,OptimFOG,Shoten等 • 在苹果机上,数字音频被存为AIFF or AIFC 格式On the Macintosh, digitized sounds may be stored as data files, resources, or applications such as AIFF or AIFC. • PC机上数字音频被存为WAV格式In Windows, digitized sounds are usually stored as WAV files. • 使用Microsoft sound system软件sound Finder可以转化AIF到WAV格式

  17. MIDI 和数字音频 MIDI Versus Digital Audio • MIDI是上个世纪80年代为电子音乐设备和计算机之间进行通信而开发的标准。允许不同制造商生产的音乐和声音合成器通过在彼此之间连接的电缆上发送消息来相互通信。 • 一个MIDI 文件是一组带有时间戳的命令,记录着音乐的动作。MIDI is device dependent while digitized audio is device independent. • MIDI 文件要比数字音频小MIDI files are much smaller than digitized audio. • MIDI 文件在高质量的MIDI设备支持下要比数字音频播放效果好,MIDI files sound better than digital audio files when played on a high-quality MIDI device.

  18. MIDI Audio • 由于MIDI 文件很小,可以被放入网页文件中使用。Since they are small, MIDI files embedded in web pages load and play promptly. • MIDI 的长度可以被无影响的改变, MIDI 数据支持完全编辑。Length of a MIDI file can be changed without affecting the pitch of the music or degrading audio quality. • 从事MIDI 制作要求有音乐功底,需要对乐谱、键盘和音符有深入了解。Working with MIDI requires knowledge of music theory.

  19. 多媒体计算机中MIDI声音的处理过程 MIDI 文件 管理 MIDI 编辑/ 播放 软件 声音 合成器 立体声 功放 作曲软件 扬声器 电子琴键盘 MIDI文件

  20. MIDI 音频 MIDI Audio • MIDI 是一段利用数字形式对乐谱的速记符号MIDI is a shorthand representation of music stored in numeric form. • MIDI 不是数字化的声音。It is not digitized sound. • 产生MIDI 音乐因仅仅需要声卡,而且还需要编曲器和声音合成器。 A sequencer software and sound synthesizer is required in order to create MIDI scores. • MIDI 与设备有关,他的播放性能依赖于终端用户系统的能力。MIDI is device dependent.

  21. MIDI合成 • FM合成既然MIDI文件只是一种对乐曲的描述,本身不包含任何可供回放的声音信息,那么一首首动听的电脑音乐又是如何被我们的声卡播放出来的哪?这就要通过形式多样的合成手段了。早先的ISA声卡普遍使用的是FM合成,既“频率调变”。它运用声音振荡的原理对MIDI进行合成处理。但由于技术本身的局限,加上这类声卡采用的大多数为廉价的YAMAHA OPL系列芯片,效果自然不好。 • 波表合成波表的英文名称为“WAVE TABLE”,从字面翻译就是“波形表格”的意思。其实它是将各种真实乐器所能发出的所有声音(包括各个音域、声调)录制下来,存贮为一个波表文件。播放时,根据MIDI文件纪录的乐曲信息向波表发出指令,从“表格”中逐一找出对应的声音信息,经过合成、加工后回放出来。由于它采用的是真实乐器的采样,所以效果自然要好于FM。一般波表的乐器声音信息都以44.1KHz、16Bit的精度录制,以达到最真实回放效果。理论上,波表容量越大合成效果越好。

  22. Digital Audio 1、编辑录制声音Once a recording had been completed, it almost always needs to be edited. • 基本的编辑声音包括多音轨、切边、拼接和组合、音量调节等。Basic sound editing operations include trimming, splicing and assembly, volume adjustments and working on multiple tracks.

  23. Digital Audio • 格式转换、重采样、淡出和淡隐、均衡、时间拉伸、数字信号处理Additional available sound editing operations include format conversion, resampling or downsampling, fade-ins and fade-outs, equalization, time stretching, digital signal processing, and reversing sounds.

  24. Audio File Formats • CD-ROM/XA 被开发用来读写CD,允许在一张盘上放置若干声音文件。CD-ROM/XA (Extended Architecture) format enabled several recording sessions to be placed on a single CD-R (recordable) disc. • CD的音频数据文件采用线性脉冲编码调制方法.cda。Linear Pulse Code Modulation is used for Red Book Audio data files on consumer-grade music CDs.

  25. Audio File Formats • 流媒体文件只需被缓存在计算机的RAM中就可以播放.ra .ram,它依赖网络连接的速度 • Adobe公司的Flash软件提供了声音集成和流失化的强大工具,包括MP3格式的声音。 • 苹果公司的Quicktime软件是一种能够将数字音频和视频信息交叉存取的文件格式.mov

  26. 音频的编码 • 数据量化以及数据转化统称为数据编码 • 一般音频信号处理中采用PCM脉冲编码调制来生成量化采样输出:直接对语音信号进行模数转换,只要采样频率足够高,量化位数足够多,就能使解码后恢复的语音信号有较高的质量。 • 另一种方法是差分脉冲编码调制DPCM:只传输语音预测值和样本值的差值,以此降低音频数据的编码率。 • 还有一种是自适应差分编码调制ADPCM:它是DPCM 方法的改进,通过调整量化步长,对不同的数模设置不同的量化步长,使得数据得到进一步的压缩。 • 每种压缩方案都要经历变换、失真和编码。

  27. MIDI Versus Digital Audio • MIDI文件的好处和缺点 • 数字音频的优点 • 选择MIDI或者数字音频

  28. 添加声音到多媒体项目Adding Sound to Multimedia Project • 文件格式是否和要处理的多媒体集成软件相匹配。File formats compatible with multimedia authoring software being used along with delivery mediums, must be determined. • 声音回放是否被客户所要求Sound playback capabilities offered by end user’s system must be studied.

  29. Adding Sound to Multimedia Project • 一些典型的声音:背景音乐、效果音和配音是一个多媒体项目所必需的。The type of sound, whether background music, special sound effects, or spoken dialog, must be decided. • 数字音频和MIDI 音乐在实际使用的时候要经常被拿来比较和考虑使用。Digital audio or MIDI data should be selected on the basis of the location and time of use.

  30. 专业音乐制作标准Professional Sound • 红皮书是高质量立体声CD音乐标准Red Book (or ISO 10149) standard is a standard for digitally encoding high-quality stereo. • 根据这个标准,数字音乐的采样深度和采样频率For this standard, the digital audio sample size is 16 bits and sampling rate is 44.1 KHz. • 高质量的声音需要大量数字音频信息会占据很大磁盘空间。The amount of digital sound information required for high-quality sound takes up a great deal of disk storage space.

  31. 制作技巧 • 音频录制 • 跟踪声音 • 测试和评估 • 版权问题

  32. Summary • 比较数字音频和MIDI 音频MIDI is a shorthand representation of music stored in numeric form. • 录制和编辑数字音频的重要步骤和因素Digital audio provides consistent playback quality. • 多媒体声音文件格式和如何使用MIDI files are much smaller than digitized audio. • 管理音频文件和集成到多媒体项目中应考虑的因素。MIDI files sound better than digital audio files when played on high-quality MIDI device.

More Related