When you press e
it will play the sound, which is fine. But when you try to press it while the sound is active it waits until the sound is done to play it again. I need the sounds to be played at the same time.
import tkinter
from playsound import playsound
root = tkinter.Tk()
def key_pressed(event):
playsound('sound.wav')
root.bind("<Key>", key_pressed)
root.mainloop()