class

FVoiceRadioFilter

FVoiceRadioFilter — what makes a voice sound like it came out of a handheld: the telephone band, 300 Hz to 3.4 kHz. One low-pass cannot do it (the low end is the half that says "small speaker"), so this is a high-pass and a low-pass in series, each a second-order Butterworth section, followed by a soft clip that leaves speech alone and flattens a shout, the overdriven edge a radio speaker has.

Module
VoiceChat
Header
#include "VoiceChat/FVoiceRadioFilter.h"
Namespace
Mowo

Stateful per stream: a filter shared between two talkers would smear one voice's history into the other's first samples.

Properties

TypeNameDescription
static constexpr floatkDefaultLowHzDefault 300.0f.
static constexpr floatkDefaultHighHzDefault 3400.0f.

Public functions

ReturnsNameDescription
voidConfigure
voidReset
voidProcessin and out may be the same buffer.
uint32_tGetSampleRate

Function details

Configure

C++
void Configure(uint32_t sampleRate, float lowHz = kDefaultLowHz, float highHz = kDefaultHighHz, float drive = 1.4f)

Reset

C++
void Reset()

Process

C++
void Process(const int16_t* in, int16_t* out, uint32_t count)

in and out may be the same buffer.

GetSampleRate

C++
uint32_t GetSampleRate() const
Generated from VoiceChat/FVoiceRadioFilter.h via voicechat.json · Oct 26, 2026Version 1.0.0