Skip to content

Commit

Permalink
Update best-practices.mdx (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecdeng authored Jan 17, 2025
1 parent 3557519 commit 22546c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The tips below are specific to current models (`sonic-english` and `sonic-multil

1. **Use appropriate punctuation.** Add punctuation where appropriate and at the end of each transcript whenever possible.
2. **Use dates in MM/DD/YYYY form.** For example, 04/20/2023.
3. **Insert pauses.** To insert pauses, insert “-” or use [break tags](/build-with-sonic/formatting-text-for-sonic/inserting-breaks-pauses) where you need the pause.
3. **Insert pauses.** To insert pauses, insert “-” or use [break tags](/build-with-sonic/formatting-text-for-sonic/inserting-breaks-pauses) where you need the pause. These tags are considered 1 character and do not need to be separated with adjacent text using a space -- to save credits you can remove spaces around break tags.
4. **Match the voice to the language.** Each voice has a language that it works best with. You can use the playground to quickly understand which voices are most appropriate for a language.
5. **Stream in inputs for contiguous audio.** Use continuations if generating audio that should sound contiguous in separate chunks.
6. **Specify custom pronunciations for domain-specific or ambiguous words.** You may want to do this for proper nouns and trademarks, as well as for words that are spelled the same but pronounced differently, like the city of Nice and the adjective “nice.”
Expand Down

0 comments on commit 22546c6

Please sign in to comment.