diff --git a/samples/KristofferStrube.Blazor.WebAudio.WasmExample/Pages/Drums.razor b/samples/KristofferStrube.Blazor.WebAudio.WasmExample/Pages/Drums.razor index 7f374e4..2802d66 100644 --- a/samples/KristofferStrube.Blazor.WebAudio.WasmExample/Pages/Drums.razor +++ b/samples/KristofferStrube.Blazor.WebAudio.WasmExample/Pages/Drums.razor @@ -128,7 +128,7 @@ var midFrequencyModulator = await OscillatorNode.CreateAsync(JSRuntime, context, new() { Frequency = 87 }); var midFrequencyModulatorAmplifier = await GainNode.CreateAsync(JSRuntime, context, new() { Gain = 375 }); var midFrequencyCarrier = await OscillatorNode.CreateAsync(JSRuntime, context, new() { Frequency = 625 }); - var midFrequencyBandPassFilter = await BiquadFilterNode.CreateAsync(JSRuntime, context, new() { Type = BiquadFilterType.Bandpass, Frequency = 625, Q = 1 }); + var midFrequencyBandPassFilter = await BiquadFilterNode.CreateAsync(JSRuntime, context, new() { Type = BiquadFilterType.Bandpass, Frequency = 625, Q = 10 }); var midFrequencyGain = await GainNode.CreateAsync(JSRuntime, context, new() { Gain = 0 }); await midFrequencyModulator.ConnectAsync(midFrequencyModulatorAmplifier); var carrierFrequency = await midFrequencyCarrier.GetFrequencyAsync(); @@ -139,7 +139,7 @@ await midFrequencyModulator.StartAsync(); await midFrequencyCarrier.StartAsync(); var midGain = await midFrequencyGain.GetGainAsync(); - await midGain.LinearRampToValueAtTimeAsync(0.1f, time + 0.2); + await midGain.LinearRampToValueAtTimeAsync(0.05f, time + 0.2); await midGain.LinearRampToValueAtTimeAsync(0, time + 0.3); }