jks
About
- Username
- jks
- Joined
- Visits
- 35,583
- Last Active
- Roles
- Member, Administrator, Moderator
- Points
- 600
Reactions
-
missing samples [not just a Kiwi problem]
So I would guess this is an issue with Windows and Chrome/Edge not being able to deliver the Javascript realtime requirements for the resampler. The fact that you're not getting any Kiwi under/overruns and the Qlen is stable kind of confirms that.
This entire project is built on the idea that browsers live up to their promise of providing stable, well documented platforms for delivering content/media. And over the years I've been constantly disappointed in the delivery on that promise. I guess I shouldn't be surprised.
-
missing samples [not just a Kiwi problem]
I need to know the answers to these questions: How are you recording? Browser audio through a virtual sound card to an app? Kiwi record function to a browser downloaded file? Kiwirecorder Python app to a file or netcat stream?
I looked at a couple of Kiwi (one local, one far) by using the Kiwi record function (record button left of mute button) which downloads a .wav file at the approx. 12 kHz sample rate. Doing so factors out the Javascript code that does upsampling from 12 kHz to the native audio rate the OS is expecting (e.g. 44.1 or 48 kHz). I looked through an entire minute of samples in each case and didn't see anything amiss.
Under/overruns of the resample buffer are reported in the control panel, "Stat" tab, "Audio" line. The system audio rate is shown followed by the audio queue size. If the size goes to zero there's an underrun and if it goes too high an overrun. But usually such an even produces a very large disturbance in the audio. Not just a few msec of drop.
-
missing samples [not just a Kiwi problem]
This has been a problem in the past, but is not known to be an issue currently.
The most sensitive test of dropped samples is to run the FAX extension. The slightest dropped sample will cause the image to become progressively more shifted (i.e. lines looking broken) as the image rendering proceeds. I tried this just now on several Kiwi running the most recent software version and all seemed well. An example image is below. All those lines should not have any offsets or breaks. The 400 pixel tall FAX viewport at 120 LPM represents 3.33 min of reception. So no dropped samples over that time period.
Have you tried different browsers? One factor in the audio is that the browser's scheduling of the Javascript audio processing must not have any realtime performance hits. Otherwise samples can be lost. But that's a browser problem not a Kiwi problem.
The audio and waterfall use completely different mechanisms and so any glitching should not be correlated. If they are that may point to network issues.
-
Is my KiwiSDR about to fail?
Yes, it is possible the Ethernet on the Beagle is beginning to fail. Specifically the Ethernet PHY chip. There was trouble with this some years ago that seemed to be a bad batch of PHY chips, although this was never conclusively proven.
You could consider replacing the Beagle with a new Seeed BeagleBone Green. Roughly $50 USD + VAT. Be careful not to use any other Beagle type. Specifically not the Seeed BeagleBone Green Wireless. It is not physically compatible with the Kiwi board. If you can find the older BeagleBone Black that will work also. But make sure it is a "rev C" board that has 4 GB eMMC (not 2 GB).
-
"Content-Length" and "Transfer-Encoding" headers sent at the same time, breaking Nginx proxy [fixed]