subprocess.call(['say','testing'])but it doesn't work for calling a library. if someone could help me, that would be great.
speech to text in python (mac)
Page 1 of 14 Replies - 1825 Views - Last Post: 15 March 2011 - 01:13 PM
#1
speech to text in python (mac)
Posted 14 March 2011 - 08:00 PM
I know that a mac has a speech to text library but I can't figure out how to call it. I have already used the text to speech program, but it's a program, not a library. I have been using this kind of code
Replies To: speech to text in python (mac)
#2
Re: speech to text in python (mac)
Posted 15 March 2011 - 07:27 AM
Try providing the full path to "say". /usr/bin/say.
#3
Re: speech to text in python (mac)
Posted 15 March 2011 - 10:17 AM
it says that this is it's path: /System/Library/Frameworks/AppKit.framework
event with that path, this line of code doesn't work
I'm getting my info from http://developer.app.../Reference.html
what am I doing wrong?
event with that path, this line of code doesn't work
subprocess.call('/System/Library/Frameworks/AppKit.framework/NSObject')
I'm getting my info from http://developer.app.../Reference.html
what am I doing wrong?
#4
Re: speech to text in python (mac)
Posted 15 March 2011 - 11:48 AM
Worked fine for me with /usr/bin/say on Snow Leopard.
#5
Re: speech to text in python (mac)
Posted 15 March 2011 - 01:13 PM
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote





|