[−][src]Crate dbap
An implementation of Distance-Based Amplitude Panning as published by Trond Lossius, 2009.
Structs
Speaker | A speaker within the DBAP space calculation. |
SpeakerGains | An iterator yielding the gain for each given speaker, given their weights and distance from the source position. |
Traits
Scalar | Scalar values compatible with the DBAP algorithm, used to represent distances, coefficients, weights, etc. |
Functions
a_coefficient | A coefficient calculated from the rolloff |
blurred_distance_2 | The same as a regular distance function but applies a subtle |
k_coefficient |
|
v_speaker_relative_amplitude | The relative amplitude for a speaker where: |
Type Definitions
DefaultScalar | The default scalar type used to represent the space. |