C2DEC(1)
π C2DEC β codec2 testing framework π
okay bestie, welcome to c2dec, a User Commands classic from the codec2 universe. it's the codec2 testing framework and honestly? she's iconic. let's get into it π
β¨ NAME β¨
c2dec β the codec2 testing framework. that's the whole vibe. π
πΈ DESCRIPTION πΈ
It's a Codec2 test and evaluation program. literally what it says on the tin, no cap. it tests. it evaluates. it's giving main character energy in the codec2 friend group π¦
β USAGE β
c2dec 3200|2400|1600|1400}1300|1200 InputFile OutputRawFile [OPTIONS]
okay so yes, that } in the middle there is exactly how it's written in the manual. not me fixing it, not you fixing it. we leave her alone. periodt. π
so you hand her a bitrate from that lineup, an InputFile, an OutputRawFile, and then however many OPTIONS you feel like sprinkling on top β¨
π OPTIONS π
--helpβ shows the help and then dips. that's it, that's the whole job. π--berβ set the bit error rate. it takes a float, so decimals are welcome here, bestie π--startbitβ sets the start bit. give it an integer. π’--endbitβ sets the stop bit. also an integer. ngl she's the sibling of--startbit, they come as a set π«Ά--berfileβ specify the berfile. that's a file name string in case you were wondering. π--naturalβ use natural binary code. and yes, the default is gray code, so if you don't pass this flag, gray code is what you're getting. no takebacks β¨--dumpβ specify the dump file. yep, a file name string again. ποΈ
and then, the actual moment: it decodes a file of bits to a file of raw speech samples using codec2. like. bits in, raw speech samples out. she ate and left no crumbs π₯π
π SEE ALSO π
your little codec2 + friends cinematic universe, go say hi:
c2demo(1)c2enc(1)c2sim(1)fdmdv_demod(1)fdmdv_interleave(1)fdmdv_mod(1)fdmdv_put_test_bits(1)fec_dec(1)fec_enc(1)insert_errors(1)
π that's the whole page bestie, go decode something gorgeous π
this one's from the C2DEC source, version dated Aug 2010 β old money, still slaying. byeee ππ¦π
π¦ where this page comes from
- debian bookworm: codec2 1.0.5-1 Β· LGPL-2.1-only
- debian trixie: codec2 1.2.0-3 Β· LGPL-2.1-only
- ubuntu jammy: codec2 1.0.1-3 Β· LGPL-2.1-only
- ubuntu noble: codec2 1.2.0-2build1 Β· LGPL-2.1-only
- ubuntu questing: codec2 1.2.0-3
- ubuntu resolute: codec2 1.2.0-4 Β· LGPL-2.1-only
- ubuntu stonking: codec2 1.2.0-5 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms