Skip to content

Commit

Permalink
[tts] update the default voice to multilingual with auto language det…
Browse files Browse the repository at this point in the history
…ection (#808)

Co-authored-by: Yulin Li <yulili@microsoft.com>
  • Loading branch information
yulin-li and Yulin Li committed Apr 6, 2024
1 parent 63ead64 commit d87239b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ npm install microsoft-cognitiveservices-speech-sdk

## Building

This source code for the Cognitive Services Speeck SDK (JavaScript) is available in a public [GitHub repository](https://github.com/Microsoft/cognitive-services-speech-sdk-js). You are not required to go through the build process. We create prebuilt packages tuned for your use-cases. These are updated in regular intervals.
This source code for the Cognitive Services Speech SDK (JavaScript) is available in a public [GitHub repository](https://github.com/Microsoft/cognitive-services-speech-sdk-js). You are not required to go through the build process. We create prebuilt packages tuned for your use-cases. These are updated in regular intervals.

In order to build the Speech SDK, ensure that you have [Git](https://git-scm.com/downloads) and [Node.js](https://nodejs.org/) installed. Version requirement for Node: 12.44.0 or higher (or 14.17.0 or higher for Node 14).

Expand Down Expand Up @@ -93,7 +93,7 @@ you want to run. For example, to only run tests defined in `AutoSourceLangDetect
```javascript
import { Settings } from "../tests/Settings";
Settings.SpeechSubscriptionKey = "0123456789abcdef0123456789abcdef";
Settings.SpeechRegion = "westcentralus";
Settings.SpeechRegion = "westcentralus";
```
Then to run the tests type `RunTests.cmd` in the root of the repo.

Expand Down
2 changes: 1 addition & 1 deletion src/sdk/Synthesizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export abstract class Synthesizer {
["en-PH"]: "en-PH-JamesNeural",
["en-SG"]: "en-SG-LunaNeural",
["en-TZ"]: "en-TZ-ElimuNeural",
["en-US"]: "en-US-JennyNeural",
["en-US"]: "en-US-AvaMultilingualNeural",
["en-ZA"]: "en-ZA-LeahNeural",
["es-AR"]: "es-AR-ElenaNeural",
["es-BO"]: "es-BO-MarceloNeural",
Expand Down
4 changes: 2 additions & 2 deletions tests/Settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ export class Settings {
private static IsSettingsInitialized: boolean = false;
public static SettingsClassLock: Settings;

public static CustomVoiceEndpointId: string = "6b231818-6b8c-4452-9a69-2009355d5d7a";
public static CustomVoiceVoiceName: string = "sdk-test";
public static CustomVoiceEndpointId: string = "8d4cf211-8602-40b7-833c-56a2f1060f89";
public static CustomVoiceVoiceName: string = "carbonTestNeural";
public static testIfDOMCondition: jest.It = (typeof window === "undefined") ? test.skip : test;
public static testIfNode: jest.It = (typeof window !== "undefined") ? test.skip : test;

Expand Down

0 comments on commit d87239b

Please sign in to comment.