Extreme delay between keypress and sound output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Extreme delay between keypress and sound output

I have a file here in which I want to play various MIDI notes by pressing buttons. My problem is that there is a significant delay between the moment when the button is pressed and the sound is played. How can I minimize this delay so that the sounds play as soon as the buttons are pressed, and not a perceived one to two seconds later? I'm really struggling to find an answer to what adjustments I can make to solve the problem. Perhaps someone can provide me with some helpful tips for resolving this issue. https://code.sololearn.com/Wm184rbL0TJA/?ref=app

2nd Sep 2023, 10:28 AM
Jan Markus
1 Answer
+ 4
Mirielle Thank you very much. Now it works just like I wanted to do it. You have saved my Saturday afternoon with your help. 🙂👍
2nd Sep 2023, 12:10 PM
Jan Markus