Audio Editor: Directivity – Arma Reforger
Lou Montana (talk | contribs) m (moar TODO) |
Lou Montana (talk | contribs) (Add images) |
||
Line 1: | Line 1: | ||
Directivity is a property of sound sources whereby the perceived "color" of a sound is dependent on which way the sound source is facing with respect to the listener. | Directivity is a property of sound sources whereby the perceived "color" of a sound is dependent on which way the sound source is facing with respect to the listener. | ||
Typically, the more off-axis the listener is positioned with respect to the sound source's direction, the more "dark" the sound is perceived to the listener due to the attenuation of high frequencies. | Typically, the more off-axis the listener is positioned with respect to the sound source's direction, the more "dark" the sound is perceived to the listener due to the attenuation of high frequencies. | ||
[[File:armaR-sound_directivity_fig_1.jpg|thumb|left|500px|Figure 1: Illustration of the directivity of a human voice. The sound is most clear when the listener is positioned on the axis of the "direction vector"]] | |||
{{Clear}} | |||
== Implementation == | == Implementation == | ||
Line 14: | Line 14: | ||
Figure 2 illustrates how the rolloff of the filter transitions from 0 to maxRolloff (in this case 20 dB/dec) based on the listener's angle WRT the on-axis of the sound source. | Figure 2 illustrates how the rolloff of the filter transitions from 0 to maxRolloff (in this case 20 dB/dec) based on the listener's angle WRT the on-axis of the sound source. | ||
[[File:armaR-sound_directivity_fig_2.jpg|thumb|left|500px|Figure 2: Filter rolloff (using maxRolloff = 20) as a function of the listener's angle WRT the on-axis of the sound source]] | |||
{{Clear}} | |||
As no direct implementation of a variable-rolloff lowpass filter exists in the digital domain, it has been decided to approximate the target filter's response with a single high-shelf biquad filter, whose parameters were tuned to fit the target's responses as closely as possible. | As no direct implementation of a variable-rolloff lowpass filter exists in the digital domain, it has been decided to approximate the target filter's response with a single high-shelf biquad filter, whose parameters were tuned to fit the target's responses as closely as possible. | ||
Figure 3 illustrates the responses of the modeled filter (colored lines) compared to the corresponding target responses (grey dotted lines) across the full range of possible listener angles (WRT source direction). | Figure 3 illustrates the responses of the modeled filter (colored lines) compared to the corresponding target responses (grey dotted lines) across the full range of possible listener angles (WRT source direction). | ||
[[File:armaR-sound_directivity_fig_3.jpg|thumb|left|500px|Figure 3: Modeled vs target filter responses]] | |||
{{Clear}} | |||
== Usage == | == Usage == | ||
Latest revision as of 22:56, 19 March 2024
Directivity is a property of sound sources whereby the perceived "color" of a sound is dependent on which way the sound source is facing with respect to the listener. Typically, the more off-axis the listener is positioned with respect to the sound source's direction, the more "dark" the sound is perceived to the listener due to the attenuation of high frequencies.
Implementation
The directivity effect can be modeled using a low-pass filter with a fixed cutoff frequency and variable rolloff, which is modulated by the angle between the listener and the sound source's direction. Thus, the filter's behaviour can be fully defined with the following parameters:
- fc: the filter's cutoff frequency
- maxRolloff: the maximum filter's rolloff, in dB/decade, when the listener is positioned directly behind the sound source (180 degrees off axis)
Figure 2 illustrates how the rolloff of the filter transitions from 0 to maxRolloff (in this case 20 dB/dec) based on the listener's angle WRT the on-axis of the sound source.
As no direct implementation of a variable-rolloff lowpass filter exists in the digital domain, it has been decided to approximate the target filter's response with a single high-shelf biquad filter, whose parameters were tuned to fit the target's responses as closely as possible.
Figure 3 illustrates the responses of the modeled filter (colored lines) compared to the corresponding target responses (grey dotted lines) across the full range of possible listener angles (WRT source direction).
Usage
The directivity feature can be accessed in the audio editor via the "Frequency" node. The "Directivity" section of the node provides the user control over the parameters listed above for controlling the filter's behaviour.