PolyluteDocs polylute.app

Troubleshooting

Noise, “shh”, crackling or a short gap

What to try if the DAC hisses, crackles or drops out for a moment, what Polylute does about it on its own, and how to capture it for us.

On this page

In short

  • Polylute watches how the DAC keeps time. If the DAC gets that wrong, Polylute restarts the connection by itself, and keeps the music going. You may hear a short gap while it does.
  • Noise can have other causes too: a cable, a port, an adapter, or the DAC itself. We cannot tell which one from the sound.
  • If it keeps happening, turn on Detailed logging before you listen, then share the log.

Symptom

  • A hiss (“shh”) that was not in the recording, or crackling.
  • A very short gap or dropout in the music, then it carries on.
  • A burst of noise, mostly at the start of a song, or after you plug in the DAC or change the sample rate.

Why

A USB DAC keeps its own clock, and tells Polylute how fast it wants audio. If the DAC reports a wrong speed, or gets stuck on one, the sound can hiss or break up. Polylute watches for that. It ignores readings that make no sense, and when the DAC clearly gets stuck, it restarts the connection step by step. It never gives up and it does not silence or pause your music to do it. The price is a short gap while a step runs.

We have seen a DAC clock go wrong on one DAC in development, and Polylute now checks for it. That does not mean it is the reason for the noise you hear. Noise has other causes, and we do not guess which one yours is.

What Polylute does by itself

  1. It ignores readings that make no sense.

    If the DAC reports a speed that is far from normal, Polylute does not follow it and uses a healthy recent value instead.

  2. If the DAC is clearly stuck, it restarts the audio interface.

    Same position, same volume. You may hear a short gap.

  3. If that does not help, it resets the USB connection.

    It claims the DAC again and puts the volume back to what it was, before music goes on.

  4. If that does not help, it closes and reopens the stream and the DAC.

    And it tries again later, for as long as the problem lasts.

The numbers behind each step are in the box below. The full story: When a DAC misbehaves.

Fix

  1. Unplug the DAC, wait a moment, and plug it back in.

    This resets the DAC’s own state as well as Polylute’s.

  2. Try another cable, another adapter or no hub.

    Use a cable that carries data and is not too long. If your DAC is powered by the phone, a low battery or a weak adapter can matter.

  3. Does it depend on the song?

    Try a file with another sample rate. Note whether the noise follows one file, one rate, or starts only after a rate change. Tell us which.

  4. Try the DAC with another source if you can.

    If the noise follows the DAC to another phone or a computer, look at the DAC and its cable first.

  5. Capture it with Detailed logging.

    Open Settings › System › Maintenance and find Detailed logging. Turn on Record what the app does, play until it happens, then tap Share log and send it to us. Note the time you heard the noise. Steps and privacy details are in Report a problem.

    The Maintenance page scrolled to Detailed logging. It shows the switch Record what the app does, the switch Include song titles and file paths, a list of what is written and not written, and the Share log and Delete log rows.
    Detailed logging. Both switches are off until you turn them on.
For the curiousThe numbers behind the recovery
  • Readings beyond about ±2 % of normal are never followed; a speed more than about ±0.5 % off for 5 seconds is not followed either.
  • The DAC counts as stuck when its feedback is beyond about ±4.5 % for about 200 ms.
  • Each recovery step gets a 4 second verdict before the next one.
  • The stream is reopened with retries after 30, 90 and then 300 seconds while the fault lasts, with 30 seconds between episodes.
  • The USB buffer holds about 128 ms of audio, which is why a gap, when it happens, is short.

Still stuck

How the USB output keeps time with the DAC: The USB transport.

Tested on HONOR LGN-NX3 with SNOWSKY Melody