SPEEXENC(1)

πŸ’– SPEEXENC πŸ’–

okay bestie, so this is the manual page for speexenc, living in the User Commands section of the manual, and it is literally the reference implementation of the Speex encoder. that's the whole vibe. no cap. πŸŽ€


✨ SYNOPSIS ✨

speexenc [options] input_file output_file

like. it takes options, an input file, an output file. that's it. that's the whole relationship. 🫢


🌸 DESCRIPTION 🌸

So what it does is encode input_file using Speex. And the way that it can read WAV files or raw files is genuinely so iconic of it. πŸ’…

🎧 input_file can be:

  • filename.wav β€” a wav file, periodt.
  • filename.* β€” a raw PCM file. and yes, that means any extension other than .wav, she's not picky. πŸ¦‹
  • - β€” stdin, for when you're feeling mysterious. πŸ‘‘

πŸŽ€ output_file can be:

  • filename.spx β€” a Speex file, as she deserves.
  • - β€” stdout, main character energy tbh.

πŸ’… OPTIONS πŸ’…

okay this is the part you actually came for, bestie, and no I did not skip a single one of these. every flag. every default. let's GO. πŸ”₯

  • -n, --narrowband β€” narrowband, so an 8 kHz input file. small and mighty. ✨
  • -w, --wideband β€” wideband, i.e. a 16 kHz input file. glow up. 🌈
  • -u, --ultra-wideband β€” "ultra-wideband", which is a 32 kHz input file. she's giving maximalism. πŸ’–
  • --quality n β€” the encoding quality, from 0 to 10, and the default is 8. pretty good out of the box ngl.
  • --bitrate n β€” encoding bit-rate: use bit-rate n or lower. a ceiling, not a suggestion. 😭
  • --vbr β€” enable variable bit-rate (VBR). she contains multitudes.
  • --abr rate β€” enable average bit-rate (ABR) at rate bps.
  • --vad β€” enable voice activity detection (VAD).
  • --dtx β€” enable file-based discontinuous transmission (DTX).
  • --comp n β€” set the encoding complexity, 0 to 10, default 3. lowkey chill by default.
  • --nframes n β€” number of frames per Ogg packet, 1 to 10, default 1.
  • --comment β€” add the given string as an extra comment. and the way you can use this multiple times?? obsessed. 🫢
  • --author β€” author of this track. credit the girlies. πŸ‘‘
  • --title β€” title for this track.
  • -h, --help β€” this help. hi, hello, that's me. πŸ™ˆ
  • -v, --version β€” version information.
  • -V β€” verbose mode, and it shows the bit-rate. nosy (affectionate). πŸ‘€

🧚 Raw input options:

for when your input is raw and unhinged. no shade, I love her. πŸ’œ

  • --rate n β€” sampling rate for raw input.
  • --stereo β€” consider raw input as stereo. two ears, two channels. 🎧
  • --le β€” raw input is little-endian.
  • --be β€” raw input is big-endian.
  • --8bit β€” raw input is 8-bit unsigned.
  • --16bit β€” raw input is 16-bit signed.
🚨 ok important one, don't scroll past: the default raw PCM input is 16-bit, little-endian, mono. write that down. ✍️

more info is available from the Speex site: http://www.speex.org 🌐

and please report bugs to the mailing list speex-dev@xiph.org β€” they wanna hear from you, fr fr. πŸ’Œ


Copyright Β© 2002 Jean-Marc Valin


and that's the whole page bestie πŸ¦‹ this was speexenc version 1.1, dated September 2003, straight out of the SPEEXENC(1) manual. slay, ate, left no crumbs. bye πŸ’–βœ¨