Comments (7)
I can provide some feedback here, maybe try to revive this issue a little bit. Using Airpods pro 2 on Android, Bluetooth delay is consistently around 300ms (0.3 of a second).
However the piece's sound delay ranges from half a second to sometimes multiple seconds. This inconsistency in timing leads me to believe that the majority of this delay stems from the app itself.
I was able to get this delay on video with a screen capturer. Because of the inconsistent timings of piece sounds, I'll share a few moments of long delays, and shorter delays.
Here's a long delay: these only happen occasionally, maybe 5% of the time.
https://github.com/lichess-org/mobile/assets/108140722/36b6eb38-adc5-44f1-be06-23116726f7fb
Here's a medium delay, these happen frequently, yet sporadically:
https://github.com/lichess-org/mobile/assets/108140722/2daab366-f072-43ad-b112-645b043ed081
Finally, here are some examples where delay isn't really present:
https://github.com/lichess-org/mobile/assets/108140722/8c04ecab-db50-417b-99ca-6653d830ed1e
All of these examples were taken from the same game while using Airpods pro 2 on Android 14.
from mobile.
To add to this, I have noticed the same trend, where the longer the interval between when a move was last played and the next move, the larger the delay heard. The large delay, as shown above, was played after 11 seconds of thinking.
from mobile.
If it's coming from the app, no idea where it comes from. But this where to look at: https://github.com/lichess-org/flutter-soundpool
from mobile.
Two ideas that I saw there were sound cache issues, and Bluetooth going into a low power state, and having to wake up, causing a delay.
I was able to replicate the delay by waiting around 15 seconds before making a move. The longer I waited the more delay I could get.
https://github.com/lichess-org/mobile/assets/108140722/c379bb36-a48e-4f27-a088-0d2b3e5be5b2
from mobile.
Hey i would like to pick this if its open for a public contribution
from mobile.
Sure. Do you have an idea on how to fix this?
from mobile.
I believe that gathering logs and data initially would be beneficial to better understand the issue. Obtaining specific benchmarks or error logs could significantly streamline the problem-solving process here.
from mobile.
Related Issues (20)
- Move Notation preference setting not followed in new app HOT 3
- App is not compatible (Google Play)
- Puzzles: show next correct move HOT 3
- Export tags cleared after putting app in background
- Add piece animation speed setting HOT 6
- Stuck offline "lichess.org is not reachable. Failed to fetch" HOT 2
- Please add the symmetric chess set HOT 1
- "Create a game" should display more info about the game being created
- Opt-out Piece magnification
- add button to jump to game screen from lichess TV
- Tactics Trainer: different fontsize for single-digit rating diff
- out of date ratings on profile HOT 2
- Canβt view imported games HOT 9
- Coordinate system in the new android app HOT 1
- Tournament Section HOT 1
- Feat: Add support for offline study and annotations
- Puzzle streak success flashes times played
- El texto se sale del borde de la pantalla HOT 1
- Support conditional premove HOT 1
- 3D Chess Pieces
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobile.