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

# c2enc(1)

codec2 testing framework

## NAME

c2enc - codec2 testing framework

## DESCRIPTION

Codec2 test and evaluation program

## USAGE

c2enc 3200\|2400\|1600\|1400\|1300\|1200 InputRawspeechFile OutputBitFile \[--natural\]

## OPTIONS

**--natural** use natural binary code (default is gray code)

Decodes a file of bits to a file of raw speech samples using codec2.

## SEE ALSO

[c2dec(1)](/c2dec/1.md) [c2demo(1)](/c2demo/1.md) [c2enc(1)](/c2enc/1.md) [c2sim(1)](/c2sim/1.md) [fdmdv\_demod(1)](/fdmdv_demod/1.md) fdmdv\_interleave(1) [fdmdv\_mod(1)](/fdmdv_mod/1.md) [fdmdv\_put\_test\_bits(1)](/fdmdv_put_test_bits/1.md) fec\_dec(1) fec\_enc(1) [insert\_errors(1)](/insert_errors/1.md)
