POCKETSPHINX_CONTINUOUS(1)
π POCKETSPHINX_CONTINUOUS π
okay bestie, gather round, because this is pocketsphinx_continuous, a General Commands Manual page from way back, and it's literally the vibe of "listen to me talk and I'll write it down." no cap.
β¨ NAME β¨
pocketsphinx_continuous β run speech recognition in continuous listening mode π§π
π¦ SYNOPSIS π¦
pocketsphinx_continuous [-infile filename.wav ] [ -inmic yes ] [ options ]...
πΈ DESCRIPTION πΈ
so here's the tea: this program opens an audio device or a file and justβ¦ waits. patiently. for speech. the moment it detects an utterance, it does speech recognition on it. that's it, that's the whole personality. π«Ά
to record from the microphone and decode, you use
-inmic yes
to decode a 16kHz 16-bit mono WAV file, you use
-infile filename.wav
and you can also specify -lm or -fsg or -kws, depending on whether you're using a statistical language model, a finite-state grammar, or you're out here looking for a keyphrase. pick your fighter. π
π OPTIONS π
-adcdevβ of audio device to use for input.-agcβ Automatic gain control for c0 ('max','emax','noise', or'none')-agcthreshβ Initial threshold for automatic gain control-allphoneβ phoneme decoding with phonetic lm-allphone_ciβ Perform phoneme decoding with phonetic lm and context-independent units only-alphaβ Preemphasis parameter-argfileβ file giving extra arguments.-ascaleβ Inverse of acoustic model scale for confidence score calculation-awβ Inverse weight applied to acoustic scores.-backtraceβ Print results and backtraces to log file.-beamβ Beam width applied to every frame in Viterbi search (smaller values mean wider beam)-bestpathβ Run bestpath (Dijkstra) search over word lattice (3rd pass)-bestpathlwβ Language model probability weight for bestpath search-ceplenβ Number of components in the input feature vector-cmnβ Cepstral mean normalization scheme ('current','prior', or'none')-cmninitβ Initial values (comma-separated) for cepstral mean when'prior'is used-compallsenβ Compute all senone scores in every frame (can be faster when there are many senones)-debugβ level for debugging messages-dictβ pronunciation dictionary (lexicon) input file-dictcaseβ Dictionary is case sensitive (NOTE: case insensitivity applies to ASCII characters only)-ditherβ Add 1/2-bit noise-doublebwβ Use double bandwidth filters (same center freq)-dsβ Frame GMM computation downsampling ratio-fdictβ word pronunciation dictionary input file-featβ Feature stream type, depends on the acoustic model-featparamsβ containing feature extraction parameters.-fillprobβ Filler word transition probability-frateβ Frame rate-fsgβ format finite state grammar file-fsgusealtpronβ Add alternate pronunciations to FSG-fsgusefillerβ Insert filler words at each state.-fwdflatβ Run forward flat-lexicon search over word lattice (2nd pass)-fwdflatbeamβ Beam width applied to every frame in second-pass flat search-fwdflatefwidβ Minimum number of end frames for a word to be searched in fwdflat search-fwdflatlwβ Language model probability weight for flat lexicon (2nd pass) decoding-fwdflatsfwinβ Window of frames in lattice to search for successor words in fwdflat search-fwdflatwbeamβ Beam width applied to word exits in second-pass flat search-fwdtreeβ Run forward lexicon-tree search (1st pass)-hmmβ containing acoustic model files.-infileβ file to transcribe.-inmicβ Transcribe audio from microphone.-input_endianβ Endianness of input data, big or little, ignored if NIST or MS Wav-jsgfβ grammar file-keyphraseβ to spot-kwsβ file with keyphrases to spot, one per line-kws_delayβ Delay to wait for best detection score-kws_plpβ Phone loop probability for keyword spotting-kws_thresholdβ Threshold for p(hyp)/p(alternatives) ratio-latsizeβ Initial backpointer table size-ldaβ containing transformation matrix to be applied to features (single-stream features only)-ldadimβ Dimensionality of output of feature transformation (0 to use entire matrix)-lifterβ Length of sin-curve for liftering, or 0 for no liftering.-lmβ trigram language model input file-lmctlβ a set of language model-lmnameβ language model in-lmctlto use by default-logbaseβ Base in which all log-likelihoods calculated-logfnβ to write log messages in-logspecβ Write out logspectral files instead of cepstra-lowerfβ Lower edge of filters-lpbeamβ Beam width applied to last phone in words-lponlybeamβ Beam width applied to last phone in single-phone words-lwβ Language model probability weight-maxhmmpfβ Maximum number of active HMMs to maintain at each frame (or -1 for no pruning)-maxwpfβ Maximum number of distinct word exits at each frame (or -1 for no pruning)-mdefβ definition input file-meanβ gaussian means input file-mfclogdirβ to log feature files to-min_endfrβ Nodes ignored in lattice construction if they persist for fewer than N frames-mixwβ mixture weights input file (uncompressed)-mixwfloorβ Senone mixture weights floor (applied to data from-mixwfile)-mllrβ transformation to apply to means and variances-mmapβ Use memory-mapped I/O (if possible) for model files-ncepβ Number of cep coefficients-nfftβ Size of FFT-nfiltβ Number of filter banks-nwpenβ New word transition penalty-pbeamβ Beam width applied to phone transitions-pipβ Phone insertion penalty-pl_beamβ Beam width applied to phone loop search for lookahead-pl_pbeamβ Beam width applied to phone loop transitions for lookahead-pl_pipβ Phone insertion penalty for phone loop-pl_weightβ Weight for phoneme lookahead penalties-pl_windowβ Phoneme lookahead window size, in frames-rawlogdirβ to log raw audio files to-remove_dcβ Remove DC offset from each frame-remove_noiseβ Remove noise with spectral subtraction in mel-energies-remove_silenceβ Enables VAD, removes silence frames from processing-round_filtersβ Round mel filter frequencies to DFT points-samprateβ Sampling rate-seedβ Seed for random number generator; if less than zero, pick our own-sendumpβ dump (compressed mixture weights) input file-senlogdirβ to log senone score files to-senmgauβ to codebook mapping input file (usually not needed)-silprobβ Silence word transition probability-smoothspecβ Write out cepstral-smoothed logspectral files-svspecβ specification (e.g.,24,0-11/25,12-23/26-38or0-12/13-25/26-38)-timeβ Print word times in file transcription.-tmatβ state transition matrix input file-tmatfloorβ HMM state transition probability floor (applied to-tmatfile)-topnβ Maximum number of top Gaussians to use in scoring.-topn_beamβ Beam width used to determine top-N Gaussians (or a list, per-feature)-topruleβ rule for JSGF (first public rule is default)-transformβ Which type of transform to use to calculate cepstra (legacy, dct, or htk)-unit_areaβ Normalize mel filters to unit area-upperfβ Upper edge of filters-uwβ Unigram weight-vad_postspeechβ Num of silence frames to keep after from speech to silence.-vad_prespeechβ Num of speech frames to keep before silence to speech.-vad_startspeechβ Num of speech frames to trigger vad from silence to speech.-vad_thresholdβ Threshold for decision between noise and silence frames. Log-ratio between signal level and noise level.-varβ gaussian variances input file-varfloorβ Mixture gaussian variance floor (applied to data from-varfile)-varnormβ Variance normalize each utterance (only if CMN == current)-verboseβ Show input filenames-warp_paramsβ defining the warping function-warp_typeβ Warping function type (or shape)-wbeamβ Beam width applied to word exits-wipβ Word insertion penalty-wlenβ Hamming window length
π AUTHOR π
Written by numerous people at CMU from 1994 onwards. This manual page by David Huggins-Daines <dhuggins@cs.cmu.edu> π
π COPYRIGHT π
Copyright Β© 1994-2016 Carnegie Mellon University. See the file LICENSE included with this package for more information.
π SEE ALSO π
pocketsphinx_batch(1), sphinx_fe(1).
okay that's the whole thing, bestie, no crumbs left π β this was the POCKETSPHINX_CONTINUOUS(1) page from the General Commands Manual, dated 2016-04-01, and it absolutely ate. go forth and transcribe. πβ¨π¦
π¦ where this page comes from
- debian bookworm: pocketsphinx 0.8+5prealpha+1-15 Β· BSD-2
- debian trixie: pocketsphinx 0.8+5prealpha+1-15+b4 Β· BSD-2
- ubuntu jammy: pocketsphinx 0.8.0+real5prealpha+1-14ubuntu1 Β· BSD-2
- ubuntu noble: pocketsphinx 0.8.0+real5prealpha+1-15ubuntu5 Β· BSD-2
- ubuntu questing: pocketsphinx 0.8.0+real5prealpha+1-15ubuntu5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms