Skip to content
Console

audio_resample

Convert every input audio track to a target sample rate and optional channel count. This is an n:n node: each input track has independent conversion state and remains a separate output track with its participant and track metadata preserved.

{
"name": "pcm16k",
"type": "audio_resample",
"inputs": ["room_src"],
"config": {
"sampleRate": 16000,
"channels": 1
}
}
FieldTypeDefaultDescription
sampleRateint16000Output rate. Values outside the allowed set are snapped to the nearest of {8000, 16000, 24000, 32000, 44100, 48000}.
channelsintinput channelsOutput channel count: 1 for mono or 2 for stereo. Omit or set 0 to preserve each input track’s channel count.

For a multi-participant RTC source, each microphone stays independent:

alice/mic ──► audio_resample ──► alice/mic @ 16 kHz mono
bob/mic ──► audio_resample ──► bob/mic @ 16 kHz mono

Use audio_mixer instead when you need one combined audio stream.

$0.00005 per active track-minute, calculated from the sum of audio duration processed across all input tracks. Node pricing.