Skip to main content

VoiceChat.setPreprocessingParam

Description​

This function is for setting Audio Pre-Processing on the Voicechat. This function is utilized by the Speexdsp library therefore for any values and params it would be best to check those.

Parameters​

(The setting you wish to change can also be confirmed in the following documentation: [Speex](https://www.speex.org/docs/api/speex-api-reference/group\_\_SpeexPreprocessState.html#g55d8537631ed5b7e49ec60b79ca6e98f))

Example​

This example calling clientside event (You will need to test with another player to fine tune the effects.

```js mp.voiceChat.setPreprocessingParam(10,1); ```

This might require some more examples to show you the benefits of using a Pre Processor on the Voice Chat

See Also​