Skip to main content

VoiceChat.getPreprocessingParam

Crash warning: It is worth noting some settings will return an array and can crash the game.

Description

This function is for getting Audio Pre-Processing on the Voicechat. This function is utilized by the Speexdsp library therefore for any setting you wish to check would be best referred to the documentation.

Parameters

(The setting you wish to checkcan 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

```js mp.voiceChat.getPreprocessingParam(9); ```

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

See Also