Skip to content

Commit

Permalink
synthesize->synthesizeSpeech
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinbjornt committed May 22, 2023
1 parent d52902e commit 3cd920a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class EmblaAPI {
/// [text] Text to be speech synthesized
/// [apiKey] Server API key
/// Returns the resulting audio file URL or null if an error occurred.
static Future<String?> synthesize(String text, String? apiKey,
static Future<String?> synthesizeSpeech(String text, String? apiKey,
{String voiceID = kDefaultSpeechSynthesisVoice,
double voiceSpeed = kDefaultSpeechSynthesisSpeed,
String apiURL = "$kDefaultServer$kSpeechSynthesisEndpoint"}) async {
Expand Down

0 comments on commit 3cd920a

Please sign in to comment.