Hi Oriol,Checkout pyaudio. It isn't the most sophisticated audio library, it actually is pretty low level, but it gets the job done. You would then naturally be able to block until the audio file is done playing.
On 1/14/2015 1:38 AM, Oriol Gómez wrote:
Hi all, Any of you developers here familiar with audio libraries that support python? I'm trying to find out if there would be a way for me to queue multiple files for playing for my new reminders addon, because speaking the time is done in multiple files. I think making a thread and having it check if a file is playing before playing the next would be a solution, but maybe there is an easier solution that I'm missing? Thoughts? Thanks ---------------------------------------------------------------- NVDA add-ons: A list to discuss add-on code enhancements and for reporting bugs. Community addons are available from: http://addons.nvda-project.org To send a message to the list: nvda-addons@xxxxxxxxxxxxx To change your list settings/unsubscribe: //www.freelists.org/list/nvda-addons To contact list moderators: nvda-addons-moderators@xxxxxxxxxxxxx
----------------------------------------------------------------NVDA add-ons: A list to discuss add-on code enhancements and for reporting bugs.
Community addons are available from: http://addons.nvda-project.org To send a message to the list: nvda-addons@xxxxxxxxxxxxx To change your list settings/unsubscribe: //www.freelists.org/list/nvda-addons To contact list moderators: nvda-addons-moderators@xxxxxxxxxxxxx