ghuyfel / flutter_azure_tts Goto Github PK
View Code? Open in Web Editor NEWFlutter implementation of Microsoft Azure Cognitive Text-To-Speech API.
License: MIT License
Flutter implementation of Microsoft Azure Cognitive Text-To-Speech API.
License: MIT License
Playing sound while synthesizing ?
Could you adding more optional parameters. Such as style.
The following is an example of ssml,
<speak
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:mstts="http://www.w3.org/2001/mstts"
xmlns:emo="http://www.w3.org/2009/10/emotionml" version="1.0" xml:lang="en-US">
<voice name="en-US-JaneNeural">
<s />
<mstts:express-as style="cheerful">Good morning, Contoso restaurant. I am your AI assistant, Jane. How can I help you?</mstts:express-as>
<s />
</voice>
<voice name="en-US-TonyNeural">
<s />
<mstts:express-as style="friendly">Hi
<break strength="weak" />, I would like to make a dinner reservation.
</mstts:express-as>
<s />
</voice>
<voice name="en-US-JaneNeural">
<s />
<mstts:express-as style="cheerful">Of course, what evening will you be joining us on?</mstts:express-as>
<s />
</voice>
<voice name="en-US-TonyNeural">We will need the reservation for Thursday night.</voice>
<voice name="en-US-JaneNeural">
<s />
<mstts:express-as style="cheerful">
<prosody rate="+20.00%">And what time would you like the reservation for?</prosody>
</mstts:express-as>
<s />
</voice>
<voice name="en-US-TonyNeural">We would prefer 7:00 or 7:30.</voice>
<voice name="en-US-JaneNeural">
<s />
<mstts:express-as style="cheerful">
<prosody rate="+10.00%">Sounds good!</prosody>
<prosody rate="-5.00%"> And for how many people?</prosody>
</mstts:express-as>
<s />
</voice>
<voice name="en-US-TonyNeural">
<s />There will be 5 of us.
<s />
</voice>
<voice name="en-US-JaneNeural">
<s />
<mstts:express-as style="cheerful">Fine, I can seat you at 7:00 on Thursday, if you would kindly give me your name.</mstts:express-as>
<s />
</voice>
<voice name="en-US-TonyNeural">
<mstts:express-as style="friendly">The last name is Wood. W-O-O-D, Wood.</mstts:express-as>
<s />
</voice>
<voice name="en-US-JaneNeural">
<s />
<mstts:express-as style="excited">See you at 7:00 this Thursday, Mr. Wood.</mstts:express-as>
<s />
</voice>
<voice name="en-US-TonyNeural">
<s />
<mstts:express-as style="Default">Thank you.</mstts:express-as>
<s />
</voice>
</speak>
can i save the response as mp3?
Hi and thanks for creating the package, i am developing a Web Flutter application and i can successfully play Audio File using Chrome web browser on my Android device and Computer, but failed to play audio using Chrome on my iPhone or Safari browser on my Mac,
I am using the following code to convert Uint8List to a Url
`
import 'dart:html' as html;
final blob = html.Blob([bytes], 'audio/mp3', 'native');
final url = html.Url.createObjectUrlFromBlob(blob);`
Please advice what to do in order to play the url on iPhone Chrome browser too
Tnaks
Have a plan to support stream?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.