From a07981e1721a497a4542ac9ab63032b3ccbd1952 Mon Sep 17 00:00:00 2001 From: grm Date: Mon, 3 Mar 2025 19:51:46 +0200 Subject: ws updating webapge --- src/synth_engine_v2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/synth_engine_v2.c') diff --git a/src/synth_engine_v2.c b/src/synth_engine_v2.c index 4d9721c..7db9a6f 100644 --- a/src/synth_engine_v2.c +++ b/src/synth_engine_v2.c @@ -271,7 +271,7 @@ make_sample(synth_t * synth, unsigned int sample_rate, int frame) // band stop for high freqs //sample = bw_band_stop(synth->fff2, sample); - //if (synth->clamp) sample = clamp(sample, -1, 1); + if (synth->clamp) sample = clamp(sample, -1, 1); // autogain if (synth->autogain && (sample >= 1 || sample <= -1)) { @@ -424,7 +424,7 @@ sound_gen(const void *inputBuffer, void *outputBuffer, get_frame(buffer, synth, frame); } - smooth_buffer(buffer, framesPerBuffer, 0.1f); + //smooth_buffer(buffer, framesPerBuffer, 0.1f); // output buffer for( unsigned long i=0; i