Game Engine Architecture 13
【Game Engine Architecture 13】
1、describe an arbitrary signal x[n] as a linear combination of unit impulse。
每个信号都可以用 unit impulse 来表示,即原始的每一个数值 x[] 与 q[n-k] 的卷积和。
2、convolution(卷积)
下面公式被称为 convolution sum(卷积和):
3、Convolution in Continuous Time
everything works out in pretty much the same way. The only difference is that summations become integrals.
在连续信号中,连续函数变成了求和函数。
上面的式子叫作 convolution integral(卷积积分)。
4、Some Properties of Convolution
5、A Brief Review of Complex Numbers
复数相乘:
两个复数相乘,其 magnitude 等于两者magnitude积,其 arg 等于两者arg的和。
The fact that multiplication of complex numbers causes their angles (arguments) to add means that complex multiplication produces a rotation in the complex plane.
6、复数公式
multiplying j by itself is like rotating a unit vector by 90 degrees in the complex plane. In fact, multiplying any complex number by j has the effect of rotating it by 90 degrees.
7、The Complex Exponential and Euler’s Formula
For any complex number c with |c| = 1, the function f (n) = cn, with n taking on a sequence of increasing positive real values, will trace out a circular path in the complex plane.
The most general form of a real-valued sinusoidal signal is:
we can write Equation (14.10) in terms of complex numbers as follows?
8、The Fourier Series
let’s turn our attention again to the task of representing a signal as a sum of sinusoids. Doing this is easiest when the signal is periodic. In this case, we can write the signal as a sum of harmonically related sinusoids:
把信号表示成正弦和,并且使用复数表示正统和?
9、The Fourier Transform
In general, an arbitrary signal may contain components at any frequency, not just frequencies that are harmonically related. the discrete set of harmonic coefficients ak in Equation(14.14) becomes a continuum of values representing “how much” of each frequency
the signal contains.
每种信号都有任意的 frequency 信号组成(只是 weight不同)。14.14中的 a(k)指的就是 weight。
A new function X(w) whose independent variable is the frequency w rather than time t, and whose value represents the amount of each frequency present in the original signal x(t). We say that x(t) is the time domain representation of the signal, while X(w) is its frequency domain representation.
frequency 公式与 time 公式可以互相转换,这种转换叫做 Fourier transform(傅立叶变换)。
10、Bode Plots
When visualizing the Fourier transform, we often draw it using two plots. For example, we might plot its real and imaginary components. Or we might plot its magnitude and its argument (angle) on two different plots—a visualization known as a Bode plot (pronounced “Boh-dee”).
11、Fourier Transforms and Convolution
Sometimes it is more convenient to perform a convolution on the time axis using a system’s impulse response h(t), while at other times it’s more convenient to perform a multiplication in the frequency domain using the system’s frequency response H(w).
12、linear time-invariant
A time-invariant system is one for which a time shift in the input signal causes an equal time shift in the output signal. In other words, the behavior of the system does not change over time.
linear 指weight 加权求和,time-invariant 指与时间无关。
13、Filter
A filter is an LTI system that attenuates a selected range of input frequencies while leaving all other frequencies unaltered.
1)A low-pass filter retains low frequencies while attenuating high frequencies.
2)A high-pass filter does the opposite, retaining high frequencies and attenuating lower frequencies.
3)A band-pass filter attenuates both low and high frequencies but retains frequencies within a limited passband.
band-pass 减弱整个区间信号,但passband(区间)的信号保持。
4)A notch filter does the opposite, retaining low and high frequencies but attenuating frequencies within a limited stopband.
notch filter 保持整个区间信号,但stopband(区间)的信号减弱。
The equalizer (EQ) found on most high-fidelity audio equipment permits the user to adjust the amount of bass, mid-range and treble that is output. An EQ is really just a collection of filters tuned to different frequency ranges and applied in series to an audio signal.
14、Microphones
Different microphones have different sensitivity patterns, known as polar patterns.
1)omnidirectional,全方向麦
2)bidirectional,双向麦
3)cardioid,心形采样麦
15、Speaker Layouts: Stereo(立体声)
A stereo device such as an iPod, the sound system in your car or your grandpa’s portable “boom box” supports at least two speakers for the left and right stereo channels.
Some stereo systems also support a subwoofer(低音炮) or LFE (low-frequency effects) speaker. Such systems are sometimes called 2.1 systems—two for the left and right, and “dot one” for the LFE speaker.
Stereo 也被叫做 2.1 system,意思是2个speaker 加一个subwoofer低音炮。
16、Speaker Layouts: Surround Sound
Home theater surround sound systems typically come in two flavors: 5.1 and 7.1. A 7.1 system adds two additional speakers, surround left and surround right, which are intended to be placed directly to either side of the listener.
Dolby technologies 指的是 5.1、7.1 system。
17、amplifier(信号放大器)
18、Volume/Gain Controls(信号缩小器)
A volume control is basically an inverse amplifier, also known as an attenuator.
19、Digital Audio Technology
The distinction between analog and digital audio technologies corresponds exactly to the distinction between continuous-time and discrete-time signals.
20、Analog-to-Digital Conversion: Pulse-Code Modulation(模拟-数字调制器)
21、Shannon-Nyquist sampling theorem
In principle an analog signal can be recorded digitally without any loss of fidelity, provided that it is sampled at a frequency twice that of the highest-frequency component present in the original signal.
22、Reverb Regions
One common approach to modeling the wet characteristics of a play space is to annotate the game world with manually placed regions, each of which is tagged with appropriate reverb settings such as pre-delay, decay, density and diffusion.
把地图手动分块,每一块给予不同的 reverb 属性。
不同的区域可以做 cross-blend。
23、Obstruction, Occlusion and Exclusion
24、Accounting for Diffraction
可以使用 Multiple Raycast 来判定是否发生 diffraction。
25、Sound Portals in The Last of Us
we used a network of interconnected regions. There were two kinds of regions: rooms and portals. For each sound source, we found a path from the listener to the sound by using connectivity information provided by the sound designer when laying out the regions. If both the sound source and listener were in the same room, we’d use the tried and true method of performing obstruction/occlusion/exclusion analysis that we used on the Uncharted series. But if the sound source was in a room directly connected to the listener’s room via a portal, we would play the sound as if it were located in the portal region.
26、digital signal processor (DSP)
27、Audio Engine Architecture
28、The Audio Processing Pipeline
29、
30、
31、
32、
33、
34、
Game Engine Architecture 13的更多相关文章
- Game Engine Architecture 11
[Game Engine Architecture 11] 1.three most-common techniques used in modern game engines. 1)Cel Anim ...
- Game Engine Architecture 10
[Game Engine Architecture 10] 1.Full-Screen Antialiasing (FSAA) also known as super-sampled antialia ...
- Game Engine Architecture 9
[Game Engine Architecture 9] 1.Formatted Output with OutputDebugString() int VDebugPrintF(const char ...
- Game Engine Architecture 8
[Game Engine Architecture 8] 1.Differences across Operating Systems • UNIX uses a forward slash (/) ...
- Game Engine Architecture 7
[Game Engine Architecture 7] 1.SRT Transformations When a quaternion is combined with a translation ...
- Game Engine Architecture 6
[Game Engine Architecture 6] 1.Data-Parallel Computations A GPU is a specialized coprocessor designe ...
- Game Engine Architecture 5
[Game Engine Architecture 5] 1.Memory Ordering Semantics These mysterious and vexing problems can on ...
- Game Engine Architecture 4
[Game Engine Architecture 4] 1.a model of multiple semi-independent flows of control simply matches ...
- Game Engine Architecture 3
[Game Engine Architecture 3] 1.Computing performance—typically measured in millions of instructions ...
随机推荐
- ABP 相关基础知识
好文章: https://www.cnblogs.com/1zhk/p/5268054.html 关键字:Internal 限定的是只有在同一程序集中可访问,可以跨类 关键字:volatile 一个变 ...
- Spring Cloud Gateway的全局异常处理
Spring Cloud Gateway中的全局异常处理不能直接用@ControllerAdvice来处理,通过跟踪异常信息的抛出,找到对应的源码,自定义一些处理逻辑来符合业务的需求. 网关都是给接口 ...
- 用 cgroups 管理 cpu 资源
转自:http://xiezhenye.com/2013/10/用-cgroups-管理-cpu-资源.html 这回说说怎样通过 cgroups 来管理 cpu 资源.先说控制进程的 cpu 使用. ...
- vue系列--vue是如何实现绑定事件
一.前言 vuejs中的事件绑定,使用<v-on:事件名 = 函数名>来完成的,这里函数名是定义在Vue实例中的methods对象中的,Vue实例可以直接访问其中的方法. 二.事件绑定方式 ...
- 使用JavaScript几种简单的排序
前几天在工作碰到一个json对象排序的问题,一直认为JavaScript不能进行对象的排序,其实并不是,今天就来总结下常见的几种简单排序: 第一类 纯数字: var arrOld = [4,10,9, ...
- Create GUID / UUID in JavaScript?
Code function uuidv4() { return ([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g, c => (c ^ crypto.g ...
- eclipse打开本地文件所在目录位置的快捷键
在开发的过程中总是会遇到需要在本地文件夹找到该本地文件的情况,比如说要发送给同事什么的. 在使用Eclipse的过程中,大多数人都是先在Eclipse目录中定位到文件,然后通过在文件的右键属性中找到文 ...
- (转)MySQL中char(36)被认为是GUID导致的BUG及解决方案
有时候在使用Toad或在程序中,偶尔会遇到如下的错误: System.FormatExceptionGUID 应包含带 4 个短划线的 32 位数(xxxxxxxx-xxxx-xxxx-xxxx-xx ...
- 基于 HTML5 换热站可视化应用
换热站是整个热网系统中最核心的环节,它将一侧蒸汽或高温水通过热交换器换成可以直接进入用户末端的采暖热水.换热站控制系统是集中供热监控系统的核心部分,换热站控制系统既可独立工作,也可以接受调度中心的监督 ...
- Server SQL2008对文件的基础操作—01
1.一个文件的基本框架为:文件名.文件地址.文件大小.文件最大的大小.文件的增量(Filegrowth). 2.文件有mdf.ndf.ldf 三种文件的区别. 3.文件组可以进行文件的管理 FileG ...