Alright, thank you so much, you helped a lot.
After a few hours I realized that this code is not optimised so I decided to make an array of sound devices and then, using random number, pick one out of the array and play it.
Tbh, I have no idea on how to get the exact device out of array
1 Like