Comments (1)
I think you should try
- Upgrade to the current latest version
I also use IOS "17.5.1", although i don't use iPhone 14 series, but it works fine for me. - Also check your code implementation.
`
FlutterTts flutterTts = FlutterTts();
Future initializeTts() async {
await flutterTts.setLanguage("en-US"); // Set the language
await flutterTts.setPitch(1.0); // Set the pitch
}
speak(String text) async {
var result = await flutterTts.speak(text);
if (kDebugMode) {
print("Speaking started: ${result == 1 ? true : false}");
}
}
stopSpeaking() async {
var result = await flutterTts.stop();
if (kDebugMode) {
print("Speaking started: ${result == 1 ? true : false}");
}
}
@OverRide
void initState() {
super.initState();
initializeTts();
}
@OverRide
void dispose() {
flutterTts.stop();
super.dispose();
}`
That is the code i used and it worked for me.
@dlutton , i think this should work, it could lead to one less issue on this repo 🙂 ?
from flutter_tts.
Related Issues (20)
- Android crash when i use tts in preload_page_view library
- Different results for getVoices on Windows browser vs iOS Safari
- Crash on iOS Version below 16
- Flutter Web : speak does not works in init state
- getDefaultVoice method throws an Exception HOT 1
- Voice speech not working on iOS
- "completionHandler" doesn't get triggered on iOS when speaking by the plugin is interrupted by some other audio related action like phone call, telegram/slack call, etc.
- setVoice() doesn't work HOT 1
- Macos not working tts HOT 1
- Multiple synthesizers for iOS
- FlutterTtsPlugin.kt: Unresolved references: ArrayList and HashMap HOT 2
- If starting with "~" in Korean on iOS, it won't read the sentence to the end.
- Fluttertts package, Detected as Suspicous Package by Antivirus Apps HOT 2
- Android release build getting failed due to incompatible Kotlin version, when I ran 'flutter build apk --split-per-abi' command HOT 3
- getVoices Android HOT 3
- error from texttospeech (speak) not working
- Provide Identifier for getVoices and setVoice HOT 1
- when I work too many hours,It won't work for a little while,it Looks like they're clearing the cache
- When app's AppLifecycleState is inactive I want to stop both speech_to_text and flutter_tts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_tts.