Closed zoofiftyfive closed 9 months ago
Thank you for finding this problem. It is now fixed with this commit. I have also added printing of measured levels with this commit.
Thanks Pavel for the super quick response.
I have tested the new commit and can confirm it is now working perfectly.
Cheers
The fixed version is now in the new release.
Description of the setup:
Description of the problem:
After upgrading from alpine-3.17 image to the alpine-3.18 image the default measure-level tool included in the image does not appear to be showing any level indication via the LED's.
Also I had a modified version of measure-level tool that printed output to the console at a set interval. This version also no longer works correctly with alpine-3.18 image. The output now prints thousands of lines per second with channel 1 being a static level figure and channel 2 not showing any level information at all.
It would be great to have this tool working again and even better would be if the tool could be enhanced (officially) to print the output to the console. I suspect printing to console would be more useful for the majority of users compared with using the on device LED's.
The code I was using successfully with alpine-3.17 is below. The main enhancement came from "darksidelemm", I just added sequence count info, datetime, console colours and adjusted the time interval range from 1-30 to 0.1-30 seconds. Note I'm not familiar with C so there are likely issues with the modifications I've made which is why an official version that prints to console would be great.
Steps to reproduce the problem:
For the modified measure-level tool that I am using, it previously output to console at a set interval ranging from 0.1 to 30 seconds. However regardless of what I use to run the modified measure-level tool, the output now has thousands of records after running for just 1 second (sample below shows over 5000 records in short time).
5565, 2024-01-27 01:09:46, RX1: -42.11 dBFS, RX2: -inf dBFS 5566, 2024-01-27 01:09:46, RX1: -42.11 dBFS, RX2: -inf dBFS 5567, 2024-01-27 01:09:46, RX1: -42.11 dBFS, RX2: -inf dBFS 5568, 2024-01-27 01:09:46, RX1: -42.11 dBFS, RX2: -inf dBFS 5569, 2024-01-27 01:09:46, RX1: -42.11 dBFS, RX2: -inf dBFS 5570, 2024-01-27 01:09:46, RX1: -42.11 dBFS, RX2: -inf dBFS 5571, 2024-01-27 01:09:46, RX1: -42.11 dBFS, RX2: -inf dBFS 5572, 2024-01-27 01:09:46, RX1: -42.11 dBFS, RX2: -inf dBFS 5573, 2024-01-27 01:09:46, RX1: -42.11 dBFS, RX2: -inf dBFS 5574, 2024-01-27 01:09:46, RX1: -42.11 dBFS, RX2: -inf dBFS 5575, 2024-01-27 01:09:46, RX1: -42.11 dBFS, RX2: -inf dBFS