Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tts] update the default voice to multilingual with auto language det… #808

Merged
merged 1 commit into from
Apr 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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