---
name: "fm_demod"
section: "1"
platform: "linux"
package: "codec2"
version: "1.0.5-1"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/fm_demod"
---

# fm\_demod(1)

a diagnostic tool for the codec2 library to create an audio file from signal samples.

## NAME

fm\_demod - a diagnostic tool for the codec2 library to create an audio file from signal samples.

## SYNOPSIS

**fm\_demod usage:** *InputFMRawFile* *OutputSpeechRawFile*

## DESCRIPTION

Given an input raw file (44.4 kHz, 16 bit shorts) with a FM signal centered 11.1 kHz, outputs a file of demodulated audio samples.

## OPTIONS

The first argument,  *InputFMRawFile* is the file name of a file with FM signal samples. If "-" is given the input is taken from stdin.

The second argument,  *OutputSpeechRawFile* is the file name of a file to be created with audio data. If "-" is given the output is sent to stdout.

## SEE ALSO

[**fsk\_mod**(1)](/fsk_mod/1.md), [**fdmdv\_mod**(1)](/fdmdv_mod/1.md), [**fdmdv\_demod**(1)](/fdmdv_demod/1.md), [**fdmdv\_get\_test\_bits**(1)](/fdmdv_get_test_bits/1.md) [**fdmdv\_put\_test\_bits**(1)](/fdmdv_put_test_bits/1.md)
