[Mono-list] Mac Speech Synthesizer and SoundPlayer

McKinnon Chris crmckinnon at shaw.ca
Wed Dec 24 20:35:03 UTC 2014


I’ve posted an archive of a "Mac SpeechSynthesizer and SoundPlayer” project on DropBox.  I’ve been working on this for a while and I’ve come to the conclusion that I probably won’t finish it without help:
https://www.dropbox.com/s/1qc0dozzqmhsemw/SpeechSynthesizer.zip?dl=0 <https://www.dropbox.com/s/1qc0dozzqmhsemw/SpeechSynthesizer.zip?dl=0>

The original motivation for this work was to get the Telerik Captcha control working on the Mac platform.  I knew Mac OS X had a built-in speech synthesizer that could be utilized to provide this functionality.  In order to access this functionality, I built wrapper classes for the necessary AudioToolbox, CoreFoundation, and SpeechSynthesis API calls.

Along the way, I noticed that the SoundPlayer class did not work on OS X.  I’ve implemented the basic functionality to play a file and play a stream but I haven’t implemented all features supported by the SoundPlayer class.

I’ve tried to match existing .NET class functionality and behaviour whenever possible.  I’ve also tried to unit test where appropriate but more could be written.  I believe the code should be compatible with OS X 10.8 on-ward, but that’s a guess.

This would be my first contribution to the mono project.  How would work like this be integrated typically?


Chris McKinnon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20141224/4b44b72f/attachment.html>

More information about the Mono-list mailing list