Uh... Speech recognition. Duh. For like, Siri.
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.
Best posts made by jbap
-
RE: UI launching a scene
You might be able to use a SceneView. Maybe it's just me, but I couldn't understand your question clearly. So this might not be the answer. But oh well.
You can create a SceneView:
sv = ui.SceneView()
Add your scene as a parameter of "sv", then use
main_view.add_subview(sv)
in your function.
Your button calls the function, the just clear the main_view and call the line above. -
Google Maps API
Just wondering if there if there is anyway to embed google maps into a ui. I would prefer not to have the website open in a Webview or webbrowser, but have it embedded in a ui. I don't want the search or the pop ups on Google maps website. I'm trying to create an app that will save a list of locations and give them back to you as you drive along. I would also like Google Maps Api in Pythonista, because that would help greatly in determining which saved location is closest.
-
RE: Save audio files from speech
Look at omz's Audio Recorder.py,
https://gist.github.com/omz/9882a00abf59c6009fa4
copy and save as audio.py
Change lines 63-74 to:if started_recording: import speech, sound speech.say('Whatever you want it to say') #time.sleep(however many seconds long is the recording) #im not sure if say() is asynchronous, if so, uncomment last line msg(recorder, None, 'stop') msg(recorder, None, 'release') #sound.play_effect(os.abspath('Recording.m4a')) #uncomment last line if you want it to play again