Граф коммитов

1 Коммитов

Автор SHA1 Сообщение Дата
moljac 475b097c30 GH-12 Text To Speech initial version (#181)
* initial commit

* merge with master

* Tests and missing method copied from the branch

* Android text splitting fixes

* awaitable Initialization methods

* Android reworked - initialize and speak in single method

* removed tweaks for work on Mac and garbage VS4Mac added

* uwp parameters done

* Android TTS with parameters

* TTS iOS parameters

* Refactor TTS code

- Simplify implementations
- Implement remaining pitch/speakrate/volume normalizations
- Implement cancel token logic
- Refact to use public api in shared.cs and platform invocations in platformname.cs

* Adjust slider ranges to match max/min settings

* Simplify TTS demo text

* Move enums into TextToSpeech

Don't really want Pitch, Volume, and SpeakRate enums to be at the root namespace level, so moved them into TextToSpeech.

* Fix sln folders

* Added docs for Text to Speech

* Clean up pitch/volume/speak rate and normalization

* Make 1.0 volume default in tts sample

* Removed accidental / invalid enum value

* Cleanup iOS and UWP apis to queue up message. Added samples to do multiple lines of text queued. Refactored how we throw exceptions.

* A few changes to the API
 - removed redundant code
 - removed enums

* Use TaskCompletionSource<bool> instead of <object>

* Updated docs

* Removing unnecessary changes

* Reverting some changes

* Cleanup random object in tcs.

* cleanup tcs on iOS

* Re-use semaphoreslim :) bring things local if possible

* Fixup uwp, remove the accidental semaphore await.

* Add sample to pick locale

* Additioanl cleanup, use whenall

* Remove speak rate for now

* Remove speakrate from docs

* Fix UWP locales

* Fix up android dispose issues :)

* Remove the dispose calls around TTS

* Fix up splitting of strings and add tests.

* Cancel the speech when leaving the page

* Fix android locale's so it speaks back correctly :)
2018-05-03 14:26:50 -07:00