ReverbPreset constructor

const ReverbPreset({
  1. required String name,
  2. double meanFreePath = 0.1,
  3. double t60 = 0.3,
  4. double lateReflectionsLfRolloff = 1.0,
  5. double lateReflectionsLfReference = 200.0,
  6. double lateReflectionsHfRolloff = 0.5,
  7. double lateReflectionsHfReference = 500.0,
  8. double lateReflectionsDiffusion = 1.0,
  9. double lateReflectionsModulationDepth = 0.01,
  10. double lateReflectionsModulationFrequency = 0.5,
  11. double lateReflectionsDelay = 0.03,
  12. double gain = 0.5,
})

Create a preset.

Implementation

const ReverbPreset({
  required this.name,
  this.meanFreePath = 0.1,
  this.t60 = 0.3,
  this.lateReflectionsLfRolloff = 1.0,
  this.lateReflectionsLfReference = 200.0,
  this.lateReflectionsHfRolloff = 0.5,
  this.lateReflectionsHfReference = 500.0,
  this.lateReflectionsDiffusion = 1.0,
  this.lateReflectionsModulationDepth = 0.01,
  this.lateReflectionsModulationFrequency = 0.5,
  this.lateReflectionsDelay = 0.03,
  this.gain = 0.5,
});