refined
This commit is contained in:
@@ -16,11 +16,11 @@ namespace FluidSim.Core
|
||||
private readonly OrthonormalMixer mixerL, mixerR;
|
||||
private readonly LowPassFilter[] filterL, filterR;
|
||||
|
||||
public float DryMix { get; set; } = 1.0f;
|
||||
public float EarlyMix { get; set; } = 0.5f;
|
||||
public float TailMix { get; set; } = 0.9f;
|
||||
public float Feedback { get; set; } = 0.55f; // safe range 0.7‑0.9
|
||||
public float DampingFreq { get; set; } = 6000f; // Hz
|
||||
public float DryMix { get; set; } = 1.0f; // direct sound unchanged
|
||||
public float EarlyMix { get; set; } = 0.12f; // very little early reflection (ground bounce)
|
||||
public float TailMix { get; set; } = 0.18f; // subtle diffuse tail
|
||||
public float Feedback { get; set; } = 0.35f; // lower feedback – outdoor doesn't ring
|
||||
public float DampingFreq { get; set; } = 2500f; // air absorption – high frequencies die quickly
|
||||
|
||||
public OutdoorExhaustReverb(int sampleRate)
|
||||
{
|
||||
@@ -118,7 +118,7 @@ namespace FluidSim.Core
|
||||
public float Process(float drySample)
|
||||
{
|
||||
var (l, r) = ProcessStereo(drySample);
|
||||
return (l + r) * 0.5f;
|
||||
return MathF.Tanh((l + r) * 0.5f);
|
||||
}
|
||||
|
||||
// ========== Helper classes ==========
|
||||
|
||||
Reference in New Issue
Block a user