We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33f7c38 commit 5cfeef3Copy full SHA for 5cfeef3
Voicelab/VoicelabWizard/InputTab.py
@@ -106,9 +106,11 @@ def onclick_play(self):
106
if self.soundfile[-3:].lower() != "wav":
107
tmp_praat_object = parselmouth.Sound(self.soundfile)
108
tmp_praat_object.save("tmp.wav", "WAV")
109
- #print(self.soundfile)self.sound = QSound(self.soundfile)
110
self.sound = QSound("tmp.wav")
111
- self.sound.play()
+ QSound.play(self.sound)
+ else:
112
+ self.sound = QSound(self.soundfile)
113
114
except:
115
pass
116
0 commit comments