pub enum ReflectionsSimulationParameters {
Convolution {
baked_data_identifier: Option<BakedDataIdentifier>,
},
Parametric {
reverb_scale: [f32; 3],
baked_data_identifier: Option<BakedDataIdentifier>,
},
Hybrid {
reverb_scale: [f32; 3],
hybrid_reverb_transition_time: f32,
hybrid_reverb_overlap_percent: f32,
baked_data_identifier: Option<BakedDataIdentifier>,
},
TrueAudioNext {
baked_data_identifier: Option<BakedDataIdentifier>,
},
}Expand description
Reflections simulation parameters for a source.
Variants§
Convolution
Multi-channel convolution reverb.
Fields
baked_data_identifier: Option<BakedDataIdentifier>The optional identifier used to specify which layer of baked data to use for simulating reflections for this source.
Parametric
Parametric (or artificial) reverb, using feedback delay networks.
Fields
reverb_scale: [f32; 3]The reverb decay times for each frequency band are scaled by these values.
Set to [1.0, 1.0, 1.0] to use the simulated values without modification.
baked_data_identifier: Option<BakedDataIdentifier>The optional identifier used to specify which layer of baked data to use for simulating reflections for this source.
Hybrid
A hybrid of convolution and parametric reverb.
Fields
reverb_scale: [f32; 3]The reverb decay times for each frequency band are scaled by these values.
Set to [1.0, 1.0, 1.0] to use the simulated values without modification.
hybrid_reverb_transition_time: f32This is the length (in seconds) of impulse response to use for convolution reverb. The rest of the impulse response will be used for parametric reverb estimation only. Increasing this value results in more accurate reflections, at the cost of increased CPU usage.
hybrid_reverb_overlap_percent: f32This is the amount of overlap between the convolution and parametric parts.
To ensure smooth transitions from the early convolution part to the late parametric part, the two are cross-faded towards the end of the convolution part.
For example, if hybrid_reverb_transition_time is 1.0, and hybrid_reverb_overlap_percent is 0.25, then the first 0.75 seconds are pure convolution, the next 0.25 seconds are a blend between convolution and parametric, and the portion of the tail beyond 1.0 second is pure parametric.
baked_data_identifier: Option<BakedDataIdentifier>The optional identifier used to specify which layer of baked data to use for simulating reflections for this source.
TrueAudioNext
Multi-channel convolution reverb, using AMD TrueAudio Next for GPU acceleration.
Fields
baked_data_identifier: Option<BakedDataIdentifier>The optional identifier used to specify which layer of baked data to use for simulating reflections for this source.
Trait Implementations§
Source§impl Clone for ReflectionsSimulationParameters
impl Clone for ReflectionsSimulationParameters
Source§fn clone(&self) -> ReflectionsSimulationParameters
fn clone(&self) -> ReflectionsSimulationParameters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more