@omz this works! Thank you so much!
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Latest posts made by jpython6
-
RE: Speech/Sound Module Q's
import speech, sound, time
sound.Recorder("audio").record()
time.sleep(3)
sound.Recorder("audio").stop()
text = speech.recognize("audio.m4a")I'm also unable to play back the audio using sound.Player, so it's probably me doing something wrong.
-
Speech/Sound Module Q's
I'm attempting to convert speech to text using speech's new recognize function, but when I pass a .m4a audio file (recorded using sound.recorder) through the recognize function, it gives a "corrupt" error. Am I using the wrong kind of audio file or something like that?