FSK_MOD(1)
π FSK_MOD(1) β the user-commands girlies' manual π
okay bestie, so fsk_mod is a diagnostic tool for the codec2 library, and its whole job is: take a codec2 bit file and turn it into a raw horus modem signal file. that's it. that's the gig. iconic behaviour, honestly. β¨
πΈ SYNOPSIS πΈ
fsk_mod usage: Mode SampleFreq SymbolFreq TxFreq1 TxFreqSpace
InputOneBitPerCharFile OutputModRawFile
seven arguments, no flags, no --help, no vibes-based guessing. she wants exactly what she wants. π
π¦ DESCRIPTION π¦
she reads in a set of bits to modulate from a file β that file is passed in as a parameter, so you gotta hand it over β and then she writes modulated output to another file. read bits, make signal, write file. main character pipeline, periodt. π
β¨ OPTIONS β¨
no -a, no --verbose, no --dry-run bestie β this tool does positional arguments only. seven of them, in order, and if you get the order wrong that's a you problem (respectfully π«Ά):
Modeβ the first argument, and she's an integer.2gives you a 2FSK modem,4gives you a 4FSK modem. that's the whole menu, don't go inventing a3. πSampleFreqβ second argument, an integer that says what the sample rate is.SymbolFreqβ third argument, an integer. yes queen, just an integer. πTxFreq1β fourth argument, an integer.TxFreqSpaceβ fifth argument, an integer.InputOneBitPerCharFileβ sixth argument, the file name of a file with codec2 encoded bits. and here's the cute part: if you pass"-"then the input is taken from stdin instead. pipe it in, diva. πOutputModRawFileβ seventh argument, the file name of a file to be created with modem sample data. and again: if you pass"-"then the output is sent to stdout. so you can chain her into other stuff like the tech genius she is. π§
ngl,"-"for stdin on input and"-"for stdout on output means you can absolutely do a full pipe situation and feel very powerful about it. lowkey obsessed. π₯
π SEE ALSO π
go read these too, bestie, they're all in the same friend group:
and that's the page!! this one's from the fsk_mod user-commands manual, dated 2020-12-04, filed under FSK_MOD(1) β so if you're reading this in some far-future terminal, yes, she's vintage, and yes, she still slays. mwah πβ¨π
π¦ 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