ADINREC(1)
β¨ ADINREC(1) β the audio recorder bestie π
okay so adinrec is literally the manual name you need to know, bestie π¦ it's the tool that opens an audio stream, listens for an utterance, and saves it to a file. no cap, it's so iconic π
π€ NAME
adinrec β record audio device and save one utterance to a file πΈ
π SYNOPSIS
adinrec [options...] {filename}
π§ DESCRIPTION
okay so adinrec opens an audio stream and detects when you start talking (an utterance input) π€ then it stores that to whatever file you name β¨ the detection is done by level and zero-cross thresholds, which is giving very scientific main character energy π₯
the default input device is the microphone π but you can switch to other audio input sources, including the Julius A/D-in plugin, by using the -input option π
the audio format is 16 bit, 1 channel, in Microsoft WAV format π if the filename you give already exists, it gets overridden so be careful bestie π
if filename is -, the captured data gets streamed into standard out with no header (raw format) π«Ά
πΈ OPTIONS
adinrec uses JuliusLib and adopts Julius options π here's the full list of valid ones, slay π
β¨ adinrec specific options
-freqHz, sets the sampling rate in Hz π (default:16,000)-raw, outputs in raw file format π¦
π JuliusLib options
-input{mic|rawfile|adinnet|stdin|netaudio|esd|alsa|oss}, picks your speech input source π€ specifyfileorrawfilefor a waveform file, and on file input you'll get prompted to type the file name from stdin π«Ά
mic grabs audio from a default live microphone device ποΈ adinnet receives waveform data over tcpip from an adinnet client π netaudio is from DatLink/NetAudio input β¨ and stdin means data comes in from standard input π₯
on Linux you can choose the API at run time by specifying alsa, oss and esd π§
-chunk_sizesamples, the audio fragment size in number of samples π§© (default:1000)-lvthres, the level threshold for speech input detection π values should be in the range from0to32767π« (default:2000)-zcthres, the zero crossing threshold per second π only input that goes over the level threshold (-lv) gets counted π’ (default:60)-headmarginmsec, the silence margin at the start of a speech segment in milliseconds π (default:300)-tailmarginmsec, the silence margin at the end of a speech segment in milliseconds π«§ (default:400)-zmean, enables DC offset removal π§Ό-smpFreqHz, sets the sampling rate in Hz π (default:16,000)-48, records input with 48kHz sampling and down-samples it to 16kHz on-the-fly β‘ this option is valid for the 16kHz model only π― the down-sampling routine was ported from sptk. (Rev. 4.0) π-NAdevicename, the host name for DatLink server input (-input netaudio) π°οΈ-adportport_number, with-input adinnet, specifies the adinnet port number to listen on π (default:5530)-nostrip, Julius removes successive zero samples in input speech data by default π ββοΈ this option stops it π-Cjconffile, loads a jconf file right here π the content of the jconffile gets expanded at this point π§-plugindirdirlist, specifies which directories to load plugins from π§ββοΈ if several directories exist, list them as a colon-separated list π
π ENVIRONMENT VARIABLES
ALSADEV, the device name string for ALSA π§ (default:"default")AUDIODEV, the device name string for OSS π (default:"/dev/dsp")LATENCY_MSEC, the input latency of microphone input in milliseconds β±οΈ a smaller value shortens latency but sometimes makes the process unstable π the default value depends on the running OS π»
π― SEE ALSO
julius( 1 ) ,adintool( 1 )
π COPYRIGHT
Copyright (c) 1997-2000 Information-technology Promotion Agency, Japan π―π΅
Copyright (c) 1991-2008 Kawahara Lab., Kyoto University π
Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology π«
Copyright (c) 2005-2008 Julius project team, Nagoya Institute of Technology πΈ
βοΈ LICENSE
The same as Julius. π«Ά
bestie that's the whole thing, go record something iconic π€π this page was last updated 10/02/2008 and it's been slaying ever since π β¨
π¦ where this page comes from
- ubuntu jammy: julius 4.2.2-0ubuntu3
- ubuntu noble: julius 4.2.2-0ubuntu6
- ubuntu resolute: julius 4.2.2-0ubuntu6
- ubuntu stonking: julius 4.2.2-0ubuntu6
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms