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、

原文地址:https://www.cnblogs.com/tekkaman/p/11179907.html