All Julius options can be set. Only audio input related options are treated and others are silently
skipped. Below is a list of options.
adintoolspecificoptions-freqHz
Set sampling rate in Hz. (default: 16,000)
-ininputdev
Audio input device. "mic" to capture via microphone input, "file" for audio file input, and "stdin" to
read raw data from standard-input. For file input, file name prompt will appear after startup. Use
"adinnet" to make adintool as "adinnet server", receiving data from client via network socket. Default
port number is 5530, which can be altered by option "-inport".
Alternatively, input device can be set by "-input" option, in which case you can use plugin input.
-outoutputdev
Audio output device store the data. Specify "file" to save to file, in which the output filename
should be given by "-filename". Use "stdout" to standard out. "adinnet" will make adintool to be an
adinnet client, sending speech data to a server via tcp/ip socket. When using "adinnet" output, the
server name to send data should be specified by "-server". The default port number is 5530, which can
be changed by "-port" option.
-inportnum
When adintool becomes adinnet server to receive data (-in adinnet), set the port number to listen.
(default: 5530)
-server [host] [,host...]
When output to adinnet server (-out adinnet), set the hostname. You can send to multiple hosts by
specifying their hostnames as comma-delimited list like "host1,host2,host3".
-port [num] [,num...]
When adintool send a data to adinnet server (-out adinnet), set the port number to connect. (default:
5530) For multiple servers, specify port numbers for all servers like "5530,5530,5531".
-filenamefile
When output to file (-outfile), set the output filename. The actual file name will be as
"file.0000.wav" , "file.0001.wav" and so on, where the four digit number increases as speech segment
detected. The initial number will be set to 0 by default, which can be changed by "-startid" option.
When using "-oneshot" option to save only the first segment, the input will be saved as "file".
-startidnumber
At file output, set the initial file number. (default: 0)
-oneshot
Exit after the end of first speech segment.
-nosegment
Do not perform speech detection for input, just treat all the input as a single valid segment.
-raw
Output as RAW file (no header).
-autopause
When output to adinnet server, adintool enter pause state at every end of speech segment. It will
restart when the destination adinnet server sends it a resume signal.
-loosesync
When output to multiple adinnet server, not to do strict synchronization for restart. By default, when
adintool has entered pause state, it will not restart until resume commands are received from all
servers. This option will allow restart at least one restart command has arrived.
-rewindmsec
When input is a live microphone device, and there has been some continuing input at the moment
adintool resumes, it start recording backtracking by the specified milliseconds.
ConcerningJuliusoptions-input {mic|rawfile|adinnet|stdin|netaudio|esd|alsa|oss}
Choose speech input source. Specify 'file' or 'rawfile' for waveform file. On file input, users will
be prompted to enter the file name from stdin.
´mic' is to get audio input from a default live microphone device, and 'adinnet' means receiving
waveform data via tcpip network from an adinnet client. 'netaudio' is from DatLink/NetAudio input, and
'stdin' means data input from standard input.
At Linux, you can choose API at run time by specifying alsa, oss and esd.
-chunk_sizesamples
Audio fragment size in number of samples. (default: 1000)
-lvthres
Level threshold for speech input detection. Values should be in range from 0 to 32767. (default: 2000)
-zcthres
Zero crossing threshold per second. Only input that goes over the level threshold (-lv) will be
counted. (default: 60)
-headmarginmsec
Silence margin at the start of speech segment in milliseconds. (default: 300)
-tailmarginmsec
Silence margin at the end of speech segment in milliseconds. (default: 400)
-zmean
This option enables DC offset removal.
-smpFreqHz
Set sampling rate in Hz. (default: 16,000)
-48
Record input with 48kHz sampling, and down-sample it to 16kHz on-the-fly. This option is valid for
16kHz model only. The down-sampling routine was ported from sptk. (Rev. 4.0)
-NAdevicename
Host name for DatLink server input (-inputnetaudio).
-adportport_number
With -inputadinnet, specify adinnet port number to listen. (default: 5530)
-nostrip
Julius by default removes successive zero samples in input speech data. This option stop it.
-Cjconffile
Load a jconf file at here. The content of the jconffile will be expanded at this point.
-plugindirdirlist
Specify which directories to load plugin. If several direcotries exist, specify them by
colon-separated list.