sumom****@users*****
sumom****@users*****
2008年 10月 2日 (木) 17:23:45 JST
Index: julius4/adinrec/00readme-ja.txt diff -u julius4/adinrec/00readme-ja.txt:1.2 julius4/adinrec/00readme-ja.txt:1.3 --- julius4/adinrec/00readme-ja.txt:1.2 Tue Dec 18 23:08:21 2007 +++ julius4/adinrec/00readme-ja.txt Thu Oct 2 17:23:45 2008 @@ -1,68 +1,130 @@ + adinrec + ADINREC(1) ADINREC(1) -NAME - adinrec - record one sentence utterance to a file +¼O + adinrec + - Pb̹ºüÍf[^ðt@CÉL^·é -SYNOPSIS - adinrec [options..] filename +Tv + adinrec [options...] {filename} DESCRIPTION - adinrec Í }CNüÍ̹ºæÔðØèoµÄt@CÉL^·éc[Å - ·D - - TvOügÍCÓÉÝèÂ\Å·D`®Í 16bit monoral Å·D« - o³êéf[^`®Í WAV Å·Dùɯ¶¼OÌt@Cª¶Ý·éêÍã - «µÜ·D - - ܽCt@C¼É "-" ðwè·éÆWoÍÖo͵ܷD±Ìêf[^ - `®ÍRAWÉÈèÜ·D + adinrec ÍC¹ºæÔðêèÔàÌëð·Æp[iUxj̵« + ¢lÉîâÄØèoµCt@CÉL^·éDftHgÅÍWfoCX + ðp¢Ä}CNüÍ©ç^¹·éªC-input IvVÅ foCXðIð + \Å éDܽvOCüÍàIðÅ«éD + + TvOügÍCÓÉÝèÂ\Å éD^¹`®Í 16bit, 1 channel + Å èC«o³êét@C`®Í Microsoft WAV `®Å éD ùɯ¶ + ¼OÌt@Cª¶Ý·éêÍ㫳êéD - ¹ ºæÔÌØèoµÍCêèÔàÌëð·Æp[iUxj̵« - ¢lðp¢Ü·D + t@C¼É "-" ðwè·éÆæèñ¾¹ºf[^ðWoÍÖo Í· + éD±Ìêf[^`®Í RAW `®ÉÈéD OPTIONS - -freq threshold - TvOügDPÊÍ Hz (default: 16000) - - -lv threslevel - g`ÌUx̵«¢l (0 - 32767)D(default: 2000)D - - -zc zerocrossnum - Pb ½èÌëð·Ìµ«¢l (default: 60) - - -margin msec - ¹ºæÔJn¨æÑI¹ÌOãÌ}[ W D P Ê Í ~ b - (default: 300) - - -nostrip - ³ øÈ 0 TvÌ©®ðsíÈ¢æ¤É·éDftHgÍ© - ®ðs¤D - - -zmean DC¬ªðs¤D - - -raw RAWtH[}bgÅÌoÍðs¤D`®Í 16bit, big endian Å éD + Julius ÌSÄÌIvVªwèÂ\Å éDwè³ê½àÌ̤¿C ¹º + üÍÉÖW·éIvVÌݵíêéDȺÉCadinrec Æ©Ì IvV + ÆÖW·é Julius IvVɪ¯Äðà·éD + + adinrec specific options + -freq Hz + ¹ºÌTvOüg (Hz) ðwè·éD(default: 16,000) + + -raw + RAWt@C`®ÅoÍ·éD + + Concerning Julius options + -input {mic|rawfile|adinnet|stdin|netaudio|esd|alsa|oss} + ¹ºüÍ\[XðIð·éD¹ºg`t@CÌêÍ file é¢ + Írawfileðw è·éDN®ãÉvvgª\êéÌÅC»êÉ뵀 + t@C ¼ðüÍ·éDadinnet ÅÍC adintool ÈÇÌNCAgv + ZX©ç¹º f[^ðlbg[NoRÅó¯æé±ÆªÅ«éD + netaudio ÍDatLinkÌT[o©çC stdinÍWüͩ繺üÍðs¤D + esdÍC¹ºfoCX̤LèiÆµÄ½Ì LinuxÌfXNgbv«Š+ p³êÄ¢é EsounD daemon ©çüÍ·éD + + -lv thres + Ux̵«¢lDlÍ 0 ©ç 32767 ÌÍÍÅwè·éD (default: + 2000) + + -zc thres + ëð·Ìµ«¢lDlÍPb ½èÌð·Åwè·éD (default: 60) + + -headmargin msec + ¹ºæÔJnÌ}[WDPÊÍ~bD (default: 300) + + -tailmargin msec + ¹ºæÔI¹Ì}[WDPÊÍ~bD (default: 400) + + -zmean + ü͹ºXg[Éεļ¬¬ªðs¤DSÄ̹ºÌ ÌO + iƵijêéD + + -smpFreq Hz + ¹ºÌTvOüg (Hz) ðwè·éD(default: 16,000) + + -48 + 48kHzÅüÍðs¢C16kHzÉ_ETvO·éD ±êÍ 16kHz Ì + fðgpµÄ¢éÆ«ÌÝLøÅ éD _E_vOÌà@\ + Í sptk ©ç ÚA³ê½D (Rev. 4.0) + + -NA devicename + DatLink T[oÌfoCX¼ (-input netaudio). + + -adport port_number + + -input adinnet gpCÚ±ðó¯t¯é adinnet Ì{[gÔðwè· + éD(default: 5530) + + -nostrip + ¹ºæèÝCfoCXât@CÉæÁÄÍC¹ºg`ÉU ª + "0" ÆÈét[ª¶Ý·é±Æª éDJulius ÍÊíC¹º üÍÉÜ + Üêé»Ìæ¤Èt[ð·éD±ÌëTvª ¤Ü®© + È¢êC±ÌIvVðwè·é±ÆÅ©®Áð ³ø»·é±Æª + Å«éD + + -C jconffile + jconfÝèt@CðÇÝÞDt@CÌàeª±ÌêÉWJ³êéD + + -plugindir dirlist + vOCðÇÝÞfBNgðwè·éD¡ÌêÍ RÅæ + ØÁÄÀ×Äwè·éD + +ENVIRONMENT VARIABLES + ALSADEV + (}CNüÍÅ alsa foCXgp) ^¹foCX¼ðwè·éD wèª + È¢êÍ "default"D + + AUDIODEV + (}CNüÍÅ oss foCXgp) ^¹foCX¼ðwè·éD wèª + È¢êÍ "/dev/dsp"D + + LATENCY_MSEC + Linux (alsa/oss) ¨æÑ Windows ÅC}CNüÍÌxÔð~ b + PÊÅwè·éDZ¢lðÝè·é±ÆÅüÍxð¬³Å« éªCCPU + Ìתå«ÈèCܽ«ÉæÁÄÍvZXâOSÌ ®ªsÀèÉ + Èé±Æª éDÅKÈlÍOS âfoCXÉå« Ë¶·éDftHg + lÍ®ì«É˶·éD SEE ALSO - adintool(1), julius(1), sox(1), wavplay(1), wavrec(1), aplay(1), - arecord(1) - -BUGS - oOñEâ¢í¹ERgÈÇÍ juliu****@laven*****Ü - Ũ袵ܷD + julius ( 1 ) , + adintool ( 1 ) COPYRIGHT - Copyright (c) 1991-2006 såw Í´¤º - Copyright (c) 2000-2005 ÞÇæ[ÈwZpåw@åw 줺 - Copyright (c) 2005-2006 ¼Ã®HÆåw JuliusJ`[ + Copyright (c) 1991-2008 såw Í´¤º + + Copyright (c) 1997-2000 îñU»Æ¦ï(IPA) + + Copyright (c) 2000-2008 ÞÇæ[ÈwZpåw@åw 줺 -AUTHORS - WL (¼Ã®HÆåw) ªÀµÜµ½D + Copyright (c) 2005-2008 ¼Ã®HÆåw JuliusJ`[ LICENSE Julius ÌgpøɶܷD -4.3 Berkeley Distribution LOCAL ADINREC(1) + 10/02/2008 ADINREC(1) Index: julius4/adinrec/00readme.txt diff -u julius4/adinrec/00readme.txt:1.2 julius4/adinrec/00readme.txt:1.3 --- julius4/adinrec/00readme.txt:1.2 Tue Dec 18 23:08:21 2007 +++ julius4/adinrec/00readme.txt Thu Oct 2 17:23:45 2008 @@ -1,62 +1,130 @@ + adinrec + ADINREC(1) ADINREC(1) NAME - adinrec - record one sentence utterance to a file + adinrec + - record audio device and save one utterance to a file SYNOPSIS - adinrec [options..] filename + adinrec [options...] {filename} DESCRIPTION - adinrec records one spoken utterance from microphone to a file. + adinrec opens an audio stream, detects an utterance input and store it + to a specified file. The utterance detection is done by level and + zero-cross thresholds. Default input device is microphone, but other + audio input source, including Julius A/D-in plugin, can be used by + using "-input" option. - Output format is WAV, 16bit, monoral, no compression. If the file - already exist, it will be overridden. If filename of "-" is specified, - recorded data will be output to stdout. + The audio format is 16 bit, 1 channel, in Microsoft WAV format. If the + given filename already exists, it will be overridden. - The sensitiveness of speech detection can be controlled by thresholds - of zerocross number and power (level). + If filename is "-" , the captured data will be streamed into standard + out, with no header (raw format). OPTIONS - -freq threshold - Sampling frequency (Hz, default=16000) - - -lv threslevel - Level threshold (0-32767, default=2000) - - -zc zerocrossnum - Zero cross number threshold in a second (default=60) - - -margin msec - Record margin before/after the detected segment (milliseconds, - default=300) - - -nostrip - Disable skipping of invalid zero samples (default: enabled) + adinrec uses JuliusLib and adopts Julius options. Below is a list of + valid options. - -zmean Enable zero mean subtraction to remove DC offset. - - -raw RAW format output (default: WAV) + adinrec specific options + -freq Hz + Set sampling rate in Hz. (default: 16,000) + + -raw + Output in raw file format. + + JuliusLib options + -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. + + -lv thres + Level threshold for speech input detection. Values should be in + range from 0 to 32767. (default: 2000) + + -zc thres + Zero crossing threshold per second. Only input that goes over the + level threshold (-lv) will be counted. (default: 60) + + -headmargin msec + Silence margin at the start of speech segment in milliseconds. + (default: 300) + + -tailmargin msec + Silence margin at the end of speech segment in milliseconds. + (default: 400) + + -zmean + This option enables DC offset removal. + + -smpFreq Hz + 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) + + -NA devicename + Host name for DatLink server input (-input netaudio). + + -adport port_number + With -input adinnet, specify adinnet port number to listen. + (default: 5530) + + -nostrip + Julius by default removes successive zero samples in input speech + data. This option stop it. + + -C jconffile + Load a jconf file at here. The content of the jconffile will be + expanded at this point. + + -plugindir dirlist + Specify which directories to load plugin. If several direcotries + exist, specify them by colon-separated list. + +ENVIRONMENT VARIABLES + ALSADEV + Device name string for ALSA. (default: "default") + + AUDIODEV + Device name string for OSS. (default: "/dev/dsp") + + LATENCY_MSEC + Input latency of microphone input in milliseconds. Smaller value + will shorten latency but sometimes make process unstable. Default + value will depend on the running OS. SEE ALSO - adintool(1), julius(1), sox(1), wavplay(1), wavrec(1), aplay(1), - arecord(1) + julius ( 1 ) , + adintool ( 1 ) COPYRIGHT - Copyright (c) 1991-2006 Kawahara Lab., Kyoto University - Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and + 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-2006 Julius project team, Nagoya Institute of Tech- - nology -AUTHORS - LEE Akinobu (Nagoya Institute of Technology, Japan) - contact: juliu****@laven***** + Copyright (c) 2005-2008 Julius project team, Nagoya Institute of + Technology LICENSE - Same as Julius. + The same as Julius. -4.3 Berkeley Distribution LOCAL ADINREC(1) + 10/02/2008 ADINREC(1) Index: julius4/adinrec/adinrec.man diff -u julius4/adinrec/adinrec.man:1.1.1.1 julius4/adinrec/adinrec.man:removed --- julius4/adinrec/adinrec.man:1.1.1.1 Fri Sep 28 11:50:55 2007 +++ julius4/adinrec/adinrec.man Thu Oct 2 17:23:45 2008 @@ -1,56 +0,0 @@ -.de Sp -.if t .sp .5v -.if n .sp -.. -.de Ip -.br -.ie \\n.$>=3 .ne \\$3 -.el .ne 3 -.IP "\\$1" \\$2 -.. -.TH ADINREC 1 LOCAL -.UC 6 -.SH NAME -adinrec - record one sentence utterance to a file -.SH SYNOPSIS -.B adinrec [options..] filename -.SH DESCRIPTION -.I adinrec -records one spoken utterance from microphone to a file. -.PP -Output format is WAV, 16bit, monoral, no compression. -If the file already exist, it will be overridden. If -filename of "-" is specified, recorded data will be output to stdout. -.PP -The sensitiveness of speech detection can be controlled by thresholds -of zerocross number and power (level). -.SH OPTIONS -.Ip "\-freq threshold" -Sampling frequency (Hz, default=16000) -.Ip "\-lv threslevel" -Level threshold (0-32767, default=2000) -.Ip "\-zc zerocrossnum" -Zero cross number threshold in a second (default=60) -.Ip "\-margin msec" -Record margin before/after the detected segment (milliseconds, default=300) -.Ip "\-nostrip" -Disable skipping of invalid zero samples (default: enabled) -.Ip "\-zmean" -Enable zero mean subtraction to remove DC offset. -.Ip "\-raw" -RAW format output (default: WAV) -.SH "SEE ALSO" -adintool(1), julius(1), sox(1), wavplay(1), wavrec(1), aplay(1), arecord(1) -.SH COPYRIGHT -Copyright (c) 1991-2006 Kawahara Lab., Kyoto University -.br -Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology -.br -Copyright (c) 2005-2006 Julius project team, Nagoya Institute of Technology -.SH AUTHORS -LEE Akinobu (Nagoya Institute of Technology, Japan) -.br -contact: juliu****@laven***** -.SH LICENSE -Same as -.I Julius. Index: julius4/adinrec/adinrec.man.ja diff -u julius4/adinrec/adinrec.man.ja:1.1.1.1 julius4/adinrec/adinrec.man.ja:removed --- julius4/adinrec/adinrec.man.ja:1.1.1.1 Fri Sep 28 11:50:55 2007 +++ julius4/adinrec/adinrec.man.ja Thu Oct 2 17:23:45 2008 @@ -1,60 +0,0 @@ -.de Sp -.if t .sp .5v -.if n .sp -.. -.de Ip -.br -.ie \\n.$>=3 .ne \\$3 -.el .ne 3 -.IP "\\$1" \\$2 -.. -.TH ADINREC 1 LOCAL -.UC 6 -.SH NAME -adinrec - record one sentence utterance to a file -.SH SYNOPSIS -.B adinrec [options..] filename -.SH DESCRIPTION -.I adinrec -はマイク入力の音声区間を切り出してファイルに記録するツールです. -.PP -サンプリング周波数は任意に設定可能です.形式は 16bit monoral です.書き出されるデータ形式は WAV です. -既に同じ名前のファイルが存在する場合は上書きします. -.PP -また,ファイル名に "-" を指定すると標準出力へ出力します.この場合データ形式はRAWになります. -.PP -音声区間の切り出しは,一定時間内の零交差数とパワー(振幅レベル)の -しきい値を用います. -.SH OPTIONS -.Ip "\-freq threshold" -サンプリング周波数.単位は Hz (default: 16000) -.Ip "\-lv threslevel" -波形の振幅レベルのしきい値 (0 - 32767).(default: 2000). -.Ip "\-zc zerocrossnum" -1秒あたりの零交差数のしきい値 (default: 60) -.Ip "\-margin msec" -音声区間開始部および終了部の前後のマージン.単位はミリ秒 -(default: 300) -.Ip "\-nostrip" -無効な 0 サンプルの自動除去を行わないようにする. -デフォルトは自動除去を行う. -.Ip "\-zmean" -DC成分除去を行う. -.Ip "\-raw" -RAWフォーマットでの出力を行う.形式は 16bit, big endian である. -.SH "SEE ALSO" -adintool(1), julius(1), sox(1), wavplay(1), wavrec(1), aplay(1), arecord(1) -.SH BUGS -バグ報告・問い合わせ・コメントなどは -juli****@laven*****までお願いします. -.SH COPYRIGHT -Copyright (c) 1991-2006 京都大学 河原研究室 -.br -Copyright (c) 2000-2005 奈良先端科学技術大学院大学 鹿野研究室 -.br -Copyright (c) 2005-2006 名古屋工業大学 Julius開発チーム -.SH AUTHORS -李 晃伸 (名古屋工業大学) が実装しました. -.SH LICENSE -.I Julius -の使用許諾に準じます.