Can anything be done about Crackling/Static ocassionally when playing? #558
-
Expected ResultsNo crackling. Observed ResultsCrackling every 10-30 seconds on most tabs Steps to ReproducePlaying most tabs will produce this. Also I'd be thankful if you could feel me in on this question -> #553 Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 37 replies
-
I cannot confirm that there is a general bug in alphaTab which would cause this. To me it rather sounds your specific setup is suffering of performance issues (your device or your page). I recommend opening a Discussion where you provide more insight on your precise setup and tests you have done. |
Beta Was this translation helpful? Give feedback.
-
I should have been more detailed. It should happen somewhere in the first 2-3 lines |
Beta Was this translation helpful? Give feedback.
-
@Danielku15 Not sure if this is what exactly @MDoder97 is experiencing: on my end when accessing the tutorial on the official website, the tab can't be played smoothly on one of my Android devices, meaning I could hear the glitches here and there, and also the tab is not played at a consistent BPM. On iOS and PC it works great. The spec of my Android device is not very bad I assume:
Weirdly, I have an older Android device on which the playback works fine.
I also try to turn off the cursor completely by setting I did a basic profiling but can't see anything that's causing the poor performance. Please see below the profiling screenshot. I did it through Though maybe not helpful, here's a short video to demonstrate the issue. Let me know if you need any further info to hunt down the issue. Happy to provide more info. Also do you still plan to work on #480? I'm not very familiar with the Web Audio API, but if there's anything I can contribute or sponsor please let me know. Thanks again for your efforts on this project! |
Beta Was this translation helpful? Give feedback.
-
FYI that I experienced similar issue on my OnePlus 7 Pro phone. Cracks are heard every 5s. Disabling cursor does reduce the amount of cracks. |
Beta Was this translation helpful? Give feedback.
-
I integrated today the improvements and various improvements and fixes are now available via 1.3.0-alpha.127 It combines various fixes which should solve most of the performance issues and improves the playback via audio worklets. Changes are roughly:
https://demo.alphatab.net/crm/crackling/ is running using the updated build if you like to do some further testing. |
Beta Was this translation helpful? Give feedback.
I integrated today the improvements and various improvements and fixes are now available via 1.3.0-alpha.127 It combines various fixes which should solve most of the performance issues and improves the playback via audio worklets. Changes are roughly:
https://demo.alphatab.net/crm/crackling/ is running using the updated build if …