Audio doesn't play immediately on button press, and never if released very quickly
See attached video for a demonstration
I haven't looked into the code to see why this might be the case, and I'm not a very good Android developer but without looking at the code my headcanon is that maybe you're creating an audio context on each button press and when I release the button before it can play the tone it destroys that audio context and you don't hear anything as a result
GitHub is being weird about file uploads right now so
https://media.discordapp.net/attachments/336927725820444674/1037117634828840990/Recording_2022-11-01-17-29-31.mp4
Here, I compressed the video down enough to embed in the GH issue.
https://user-images.githubusercontent.com/3847441/201979036-b53fc962-2c54-4db9-a875-069bc27578c7.mp4