MORSE2ASCII(1)

πŸ’– MORSE2ASCII β€” the manual, but make it cute πŸ’–

okay bestie, this is the morse2ascii(1) page from the User Commands section, and I'm gonna walk you through it like we're texting at 2am πŸ¦‹


✨ NAME ✨

morse2ascii β€” it's literally the tool that decodes morse code straight out of a PCM WAV file πŸŽ€


🌸 SYNOPSIS 🌸

morse2ascii [options] <file.WAV/TXT>

that's it, that's the whole vibe πŸ’…


πŸ’« DESCRIPTION πŸ’«

so the way this works is volume/peak based β€” it listens to how loud and how peaky the signal is to figure out the dots and dashes. it can decode morse from a PCM WAV file, and also from text and RAW PCM files, which is lowkey iconic of it 🌈

it's also got some options for parsing abbreviations, prosigns, and qcodes, so it's not just doing the bare minimum, it's giving range πŸ‘‘


🫢 OPTIONS 🫢

  • -a β€” abbreviations and prosigns parsing. it gets the shorthand, no cap ✨
  • -q β€” q-codes parsing. all those Q-thingies? handled πŸ’œ
  • -r F C B β€” treat the file as raw headerless PCM data. you must specify the Frequency, Channels and Bits, like -r 44100 2 16 πŸ“»
  • -o β€” disables the automatic optimizations: DC bias adjust and normalize. only use this if your file is already clean and normalized, fr fr 🧼
  • -m β€” morse notation output (like ...___... instead of SOS). it's a debug thing πŸ‘€
  • -w FILE β€” debug option that dumps the handled samples from memory out to FILE πŸ’Ύ
  • -d β€” debug info. WAV input only, just so you know πŸ’€
πŸ“ Note: the input file can be a PCM WAV audio file, or it can be a text file that uses the dotlinespace notation (._ or .-), dit-dah, binary, and others. and if you use - as the file, it reads a text stream from stdin 🌸

okay so that's the whole page and honestly? it ate. morse2ascii 0.2, from October 2013 β€” vintage but still slaying πŸ’– mwah, go decode something bestie πŸŽ€βœ¨πŸ¦‹