Skip to content

Commit f3be7cb

Browse files
authored
Edited
1 parent 3c5d7ca commit f3be7cb

File tree

1 file changed

+14
-11
lines changed
  • articles/communication-services/tutorials/audio-quality-enhancements/includes

1 file changed

+14
-11
lines changed

articles/communication-services/tutorials/audio-quality-enhancements/includes/web.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,27 @@ The Azure Communication Services audio effects **noise suppression** abilities c
1616

1717
## Using audio effects - **Noise Suppression**
1818
### Install the npm package
19-
Use the `npm install` command to install the Azure Communication Services Audio Effects SDK for JavaScript.
2019

21-
> [!IMPORTANT]
22-
This tutorial utilizes the Azure Communication Services Calling SDK version `1.28.4` or higher, and the Azure Communication Services Calling Audio Effects SDK version `1.1.1` or higher. The GA (stable) `1.28.4` or higher versions of the SDK support noise suppression. If you choose to use the public preview version of the calling SDK versions 1.24.2-beta.1 (or greater) support noise suppression.
20+
> [!IMPORTANT
21+
This tutorial employs the Azure Communication Services Calling SDK version `1.28.4` or later, alongside the Azure Communication Services Calling Effects SDK version `1.1.1` or newer. The GA (stable) version **`1.28.4`** and above of the calling SDK support noise suppression features. Alternatively, if you opt to use the public preview version, calling SDK versions `1.24.2-beta.1` and higher also support noise suppression.]
2322

24-
> [!NOTE]
25-
If you are using the GA version of the calling SDK you must use the GA version of the audio effects SDK:
23+
Use the `npm install` command to install the Azure Communication Services Audio Effects SDK for JavaScript.
24+
25+
> [!NOTE
26+
If you are using the GA version of the calling SDK you must use the [GA version](https://www.npmjs.com/package/@azure/communication-calling-effects/v/1.1.1) of the audio effects SDK]
2627
```console
2728
2829
```
2930

30-
If you are using the ACS public preview SDK you must use the beta version of the audio effects SDK:
31+
> [!NOTE
32+
If you are using the ACS public preview SDK you must use the [beta version](https://www.npmjs.com/package/@azure/communication-calling-effects/v/1.1.1-beta.2) of the audio effects SDK]
3133
```console
3234
3335
```
3436

35-
> [!NOTE]
36-
> The calling effect library cannot be used standalone and can only work when used with the Azure Communication Calling client library for WebJS (https://www.npmjs.com/package/@azure/communication-calling).
37+
> [!NOTE
38+
> The calling effects library cannot be used standalone and can only work when used with the [Azure Communication Calling client library for WebJS] (https://www.npmjs.com/package/@azure/communication-calling).
39+
]
3740

3841
You can find more [details ](https://www.npmjs.com/package/@azure/communication-calling-effects/v/next) on the calling effects npm package page.
3942

@@ -52,7 +55,7 @@ import { DeepNoiseSuppressionEffect } from '@azure/communication-calling-effects
5255
const localAudioStreamInCall = call.localAudioStreams[0];
5356

5457
// Get the audio effects feature API from LocalAudioStream
55-
const audioEffectsFeatureApi = localAudioStreamInCall.feature(SDK.Features.AudioEffects);
58+
const audioEffectsFeatureApi = localAudioStreamInCall.feature(AzureCommunicationCallingSDK.Features.AudioEffects);
5659

5760
// Subscribe to useful events that show audio effects status
5861
audioEffectsFeatureApi.on('effectsStarted', (activeEffects: ActiveAudioEffects) => {
@@ -82,8 +85,8 @@ To start a call with **noise suppression** turned on, you can create a new `Loca
8285
```js
8386
// As an example, here we are simply creating a LocalAudioStream using the current selected mic on the DeviceManager
8487
const audioDevice = deviceManager.selectedMicrophone;
85-
const localAudioStreamWithEffects = new SDK.LocalAudioStream(audioDevice);
86-
const audioEffectsFeatureApi = localAudioStreamWithEffects.feature(SDK.Features.AudioEffects);
88+
const localAudioStreamWithEffects = new .LocalAudioStream(audioDevice);
89+
const audioEffectsFeatureApi = localAudioStreamWithEffects.feature(AzureCommunicationCallingSDK.Features.AudioEffects);
8790

8891
// Start effect
8992
await audioEffectsFeatureApi.startEffects({

0 commit comments

Comments
 (0)