-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vario sound stutter #34
Comments
Hello, we noticed the same problem. Regards |
@iglesiasmarianod Sorry for the long delay.
I have trouble believing there are any more problems in variod, so I suspect that it's bogus info coming out of sensord. |
@hpmax don´t worry and thanks for your reply, I've been pretty busy too so I wasn´t able to investigate a little further this issue. |
Hi @hpmax, I updated my OV to the latest stable releases. Sensord 0.3.5 and variod 0.3.1. The stutter continues. |
@iglesiasmarianod I have a completed and (mostly) functioning second gen board. I'm putting my efforts into developing new software for that (and resolving some minor hardware issues). At present the software will simply replace sensord and variod and hence may still be vulnerable to the FIFO buffer emptying although the new board has an ESP32 on it, which should be able to do real time audio synthesis preventing the issue you're seeing. Unfortunately, I have a ways to go before I am at that point. |
I've tested the lastest sensord and variod and the problem is still there. |
@iglesiasmarianod This freezing behavior sounds like it is more likely in variod or pulsation. I don't have a good answer for you other than to say that all three daemons (pulsation, sensord and variod) seem susceptible to it and it's made worse if the daemons are run as daemons. If you explicitly run them in "regular" mode (-f in variod/sensord, and some other option for pulseaudio) and then background them they seem much less inclined to exhibit that behavior. It seems Max Kellerman has made a bunch of posts on meta-openvario and may be interested in figuring out a way to fix this. Perhaps check with him. As for "ready" that's a moving target. I have working hardware (haven't tried installing a differential pressure or the POM block) although the new 12V->5V converter doesn't work. I have not used nor tested the ESP32 or audio amplifier. I have updated sensord to use the LPS22 instead of MS5611 although code quality isn't where it should be. It recognizes the LSM6DSM but doesn't use it. It recognizes the MMC5983MA and reads days but doesn't use it. I have added support for one of the two new differential pressure sensors. But it should be usable as a drop in replacement for the old sensorboard with my updated software. |
I'll serach Max's posts to read them. |
@iglesiasmarianod I am convinced it is OS related. I don't believe its a code issue. As for ESP32... at present, I'm bypassing the ESP32 and running everything through sensord. I have no real experience doing ESP32 development and I wanted to reduce the number of variables for testing the hardware and new algorithms as quickly as possible. |
@hpmax tested hardknott and seems the problem is not present. |
I built the latest image and vario has a strange behaviour in my device. Every couple of seconds sound seems to freeze on a frequency, then it repeats the last played frequencies before correcting itself.
If sound where numbers and you expect 1, 2, 3, 4, 5 you get 1, 2, 3, 3, 3, 1, 2, 3, 4, 5.
Could not reproduce the problem with sensord_0.3.4 (stable version).
I've attached an audio file. You can hear the stutter around 4 secs and 15 secs.
Vario.mp4
The text was updated successfully, but these errors were encountered: