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:


πŸ’– 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 πŸŽ€πŸ¦‹πŸ’œ