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
| Type | Name | Description |
|---|---|---|
static constexpr float | kDefaultLowHz | Default 300.0f. |
static constexpr float | kDefaultHighHz | Default 3400.0f. |
Public functions
| Returns | Name | Description |
|---|---|---|
void | Configure | |
void | Reset | |
void | Process | in and out may be the same buffer. |
uint32_t | GetSampleRate |
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() constGenerated from VoiceChat/FVoiceRadioFilter.h via voicechat.json · Oct 26, 2026Version 1.0.0