From 9bd06eba76c9b27e185c82420f33171294e6bf67 Mon Sep 17 00:00:00 2001 From: Alix Hamilton Date: Tue, 21 Aug 2018 13:37:28 -0400 Subject: [PATCH 1/2] updates tts region tags to standard --- .../main/java/com/example/texttospeech/SynthesizeText.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/texttospeech/beta/src/main/java/com/example/texttospeech/SynthesizeText.java b/texttospeech/beta/src/main/java/com/example/texttospeech/SynthesizeText.java index 028e67db5cd..52f4c91d3ad 100644 --- a/texttospeech/beta/src/main/java/com/example/texttospeech/SynthesizeText.java +++ b/texttospeech/beta/src/main/java/com/example/texttospeech/SynthesizeText.java @@ -83,7 +83,7 @@ public static void synthesizeText(String text) throws Exception { } // [END tts_synthesize_text] - // [START tts_synthesize_text_with_audio_profile] + // [START tts_synthesize_text_audio_profile] /** * Demonstrates using the Text to Speech client with audio profiles to synthesize text or ssml * @@ -127,7 +127,7 @@ public static void synthesizeTextWithAudioProfile(String text, String effectsPro } } } - // [END tts_synthesize_text_with_audio_profile] + // [END tts_synthesize_text_audio_profile] // [START tts_synthesize_ssml] /** From cad20e1e9cf7d9d097f2711a44e0116978bb1ec5 Mon Sep 17 00:00:00 2001 From: Alix Hamilton Date: Tue, 21 Aug 2018 13:44:30 -0400 Subject: [PATCH 2/2] uses beta tags for audio profile snippets --- .../main/java/com/example/texttospeech/SynthesizeText.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/texttospeech/beta/src/main/java/com/example/texttospeech/SynthesizeText.java b/texttospeech/beta/src/main/java/com/example/texttospeech/SynthesizeText.java index 52f4c91d3ad..22cf40d2232 100644 --- a/texttospeech/beta/src/main/java/com/example/texttospeech/SynthesizeText.java +++ b/texttospeech/beta/src/main/java/com/example/texttospeech/SynthesizeText.java @@ -83,7 +83,7 @@ public static void synthesizeText(String text) throws Exception { } // [END tts_synthesize_text] - // [START tts_synthesize_text_audio_profile] + // [START tts_synthesize_text_audio_profile_beta] /** * Demonstrates using the Text to Speech client with audio profiles to synthesize text or ssml * @@ -127,7 +127,7 @@ public static void synthesizeTextWithAudioProfile(String text, String effectsPro } } } - // [END tts_synthesize_text_audio_profile] + // [END tts_synthesize_text_audio_profile_beta] // [START tts_synthesize_ssml] /**