---
name: "c2sim"
section: "1"
platform: "linux"
package: "codec2"
version: "0.8.1-2"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/c2sim"
---

# c2sim(1)

codec2 testing framework

## NAME

c2sim - codec2 testing framework

## DESCRIPTION

Codec2 test and evaluation program

## USAGE

c2sim 3200\|2400\|1600\|1400}1300\|1200 InputFile OutputRawFile \[OPTIONS\]

## OPTIONS

- **--help**

  display help and exit

- **--rate**

  Set rate

- **--gain**

  Set gain

- **--lpc**

  Set LPC model

- **--lspjnd**

  set

- **--lspmel**

  set

- **--lsp**

  set

- **--lspd**

  set

- **--lspvq**

  set

- **--lspres**

  set

- **--lspdt**

  set

- **--lspdt\_mode**

  set

- **--lspjvm**

  set

- **--lspanssi**

  set

- **--phase0**

  set

- **--phaseexp**

  set

- **--ampexp**

  set

- **--postfilter**

  set

- **--hand\_voicing**

  set

- **--dec**

  set

- **--dt**

  set

- **--hi**

  set

- **--simlpcpf**

  set

- **--lpcpf**

  set

- **--prede**

  set

- **--dump\_pitch\_e**

  dumo pitch estimate

- **--sq\_pitch\_e**

  scalar quantize pitch estimate

- **--vq\_pitch\_e**

  vector quantize pitch estimate

Codec2 simulation.  Combines encoder and decoder and allows switching in and out various algorithms and quantisation steps. Used for algorithm development.

## SEE ALSO

[c2dec(1)](/c2dec/1.md) [c2demo(1)](/c2demo/1.md) [c2enc(1)](/c2enc/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)
