https://github.com/khanhuitse05/speech-and-text-unity-ios-android
Speed to text in Unity iOS use Native Speech Recognition
https://github.com/khanhuitse05/speech-and-text-unity-ios-android
speech unity-android unity-ios
Last synced: 2 months ago
JSON representation
Speed to text in Unity iOS use Native Speech Recognition
- Host: GitHub
- URL: https://github.com/khanhuitse05/speech-and-text-unity-ios-android
- Owner: khanhuitse05
- License: mit
- Created: 2016-11-07T08:15:03.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-02-14T17:14:24.000Z (over 1 year ago)
- Last Synced: 2024-11-08T13:03:39.506Z (8 months ago)
- Topics: speech, unity-android, unity-ios
- Language: C#
- Homepage:
- Size: 76.5 MB
- Stars: 301
- Watchers: 19
- Forks: 127
- Open Issues: 43
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Speech And Text in Unity iOS and Unity Android
Speech to text and text to speech in Unity iOS and Unity AndroidI have provided all Java and Object-C source. You can learn how it works and add optimizations or new features.
## Native Speech and Text
* SpeechToText Android: https://developer.android.com/reference/android/speech/package-summary.html
* TextToSpeech Android: https://developer.android.com/reference/android/speech/tts/TextToSpeech.html
* SpeechToText iOS: https://developer.apple.com/reference/speech
* TextToSpeech iOS: https://developer.apple.com/reference/avfoundation## Android
* To hide the default Android popup, there's a bool to enable and disable it, if you don't want the popup to show up.
```csharp
class SpeechToText
{
public bool isShowPopupAndroid = false;
...
```
* Merge file AndroidManifest (If you want skip the default popup)## Tutorial Config in Xcode
* Requires Xcode8 or higher. Target iOS 10.0.
* Add frameworks- speech.farmwork
- AVFoundation.framework
* Add permissions- Privacy – Microphone Usage Description
- Privacy – Speech Recognition Usage Description