PhantomSDR Support Forum

General Category => PhantomSDR Bugs => Topic started by: Hendrik on Jan 16, 2026, 09:54 AM

Title: Noise reduction (NR) button disabled at the booth digital s-meter releases
Post by: Hendrik on Jan 16, 2026, 09:54 AM
At the booth analog s-meter modes the NR is fine working.
Title: Re: Noise reduction (NR) button disabled at the booth digital s-meter releases
Post by: Emmanuel SV1BTL on Jan 16, 2026, 11:25 AM
Yes, you are right! Sorry for this.
Fixed versions are already uploaded.

If you don't want to download fixed versions for any reason, please follow these instructions:

For both App_digital_smeter.svelte & App_V2_digital_smeter.svelte (line ~1507, after function toggleBackendNoiseGate) add:
  function handleNRChange() {
    NREnabled = !NREnabled;
    if (audio) {
      // Wire NR toggle to client-side audio.js and server-side decoder
      audio.nrEnabled = NREnabled;
      if (audio.decoder && typeof audio.decoder.set_nr === "function") {
        audio.decoder.set_nr(NREnabled);
      }
    }
  }

recompile as usual.
Title: Re: Noise reduction (NR) button disabled at the booth digital s-meter releases
Post by: Hendrik on Jan 16, 2026, 01:38 PM
I've integrated the new 'App__digital_smeter_.svelte' and 'App__v2_digital_smeter_.svelte', recompiled all and the 'NR' button is back on stage.

Many thanks for your very fast reaction and the new files.

Have a great, 'noise free' weekend!
Hendrik