---
name: "fdmdv_mod"
section: "1"
platform: "linux"
package: "codec2"
version: "1.2.0-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/fdmdv_mod"
---

# fdmdv\_mod(1)

a diagnostic tool for the codec2 library to create a raw modem signal file from a codec2 bit file.

## NAME

fdmdv\_mod - a diagnostic tool for the codec2 library to create a raw modem signal file from a codec2 bit file.

## SYNOPSIS

**fdmdv\_mod usage:** *InputBitFile* *OutputModemRawFile* *\[Nc\]*

## DESCRIPTION

Given an input file of bits outputs a raw file (8kHz, 16 bit shorts) of FDMDV modem samples ready to send over a HF radio channel.  The input file is assumed to be arranged as codec frames of 56 bits (7 bytes) which we send as two 28 bit modem frames.

## EXAMPLE

 fdmdv\_mod hts1a.c2 hts1a\_fdmdv.raw

## OPTIONS

The first argument,  *InputBitFile* is the file name of a file with codec2 encoded bits. If "-" is given the input is taken from stdin.

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

The optional third argument, *\[Nc\]* is the number of carriers to use in the modem. The default is 14. The minimum is 2 and the maximum is 20.

## SEE ALSO

[**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)
