May-12-2020, 04:38 AM
I am trying to play sound(recorded sound of message in message box) with message box.
playsound('myrecord.wav')
messagebox.askquestion('Information',info)
But in this case sound is playing first and after completion of this task, message box appears.
messagebox.askquestion('Information',info)
playsound('myrecord.wav')
And in this case message box appears first and then sound plays after disappearing of message box.
But i want to play recorded sound with message box at the same time.
How can i achieve it?
playsound('myrecord.wav')
messagebox.askquestion('Information',info)
But in this case sound is playing first and after completion of this task, message box appears.
messagebox.askquestion('Information',info)
playsound('myrecord.wav')
And in this case message box appears first and then sound plays after disappearing of message box.
But i want to play recorded sound with message box at the same time.
How can i achieve it?