Re: need help with using speech in threads in python

Thanks so much! I actually did fix this by using a queue to pass speech messages to the main thread.
As far as performance, I'm mainly using threads to avoid blocking the WX UI that I'm using. There is a series of functions that poll the flight simulator for instrument data. I put that function in it's own thread.
It's essentially just a loop that runs constantly and puts messages in the queue  when things change.
The project is at:
http://www.github.com/jfayre/talking-flight-monitor
All the new code for the UI is in the dev branch. The master branch hasn't been updated with the UI yet.

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : jfayre via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : jfayre via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector

Reply via email to