You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following up on the implementation of voices(), we'll be in a position to also work on languages() where the standardized output should be:
language as a BCP-47 language tag
count as the number of available voices for that language
As pointed out in #2, we'll need to be extra careful with the format for language since some browsers do not return proper BCP-47 language tags.
For the output, we can leverage the list of voices returned by voices() to list all languages and calculate a count.
We can also implement the following filters for this method:
quality, which would be a minimum required
recommended voices (a boolean)
and offline availability (a boolean)
The default should be the same than voices() which means that quality is set to low as the minimum, we don't filter exclusively on recommended voices and we don't filter out voices that require the user to be online.
The text was updated successfully, but these errors were encountered:
Following up on the implementation of
voices()
, we'll be in a position to also work onlanguages()
where the standardized output should be:language
as a BCP-47 language tagcount
as the number of available voices for that languageAs pointed out in #2, we'll need to be extra careful with the format for
language
since some browsers do not return proper BCP-47 language tags.For the output, we can leverage the list of voices returned by
voices()
to list all languages and calculate a count.We can also implement the following filters for this method:
The default should be the same than
voices()
which means that quality is set tolow
as the minimum, we don't filter exclusively on recommended voices and we don't filter out voices that require the user to be online.The text was updated successfully, but these errors were encountered: