<sect1 id='na-record-manual'> <title><command>na_record</command> <emphasis>Audio file recording</emphasis></title> <toc depth='1'></toc> <para> </para> <sect2> <title>Synopsis</title> <para> </para> <!-- /amd/projects/festival/versions/v_mpiro/speech_tools_linux/bin/na_record -sgml_synopsis --> <para> <cmdsynopsis><command>na_record</command>[options]<arg>-h </arg> <arg>-f <replaceable>int</replaceable></arg> <arg>-audiodevice <replaceable>string</replaceable></arg> <arg>-time <replaceable>float</replaceable></arg> <arg>-o <replaceable>ofile</replaceable></arg> <arg>-otype <replaceable>string</replaceable></arg> <arg>-F <replaceable>int</replaceable></arg> <arg>-obo <replaceable>string</replaceable></arg> <arg>-oswap </arg> <arg>-ostype <replaceable>string</replaceable></arg> <arg>-p <replaceable>string</replaceable></arg> </cmdsynopsis> </para> <!-- DONE /amd/projects/festival/versions/v_mpiro/speech_tools_linux/bin/na_record -sgml_synopsis --> <para> na_record records wavefors from an audio device. It only supports recording for N seconds (default is 10). Specifiying the frequency defines the recording frequency (if supported by the hardward). This currently doesn't support NAS audio in. </para> </sect2> <sect2> <title>OPTIONS</title> <para> </para> <!-- /amd/projects/festival/versions/v_mpiro/speech_tools_linux/bin/na_record -sgml_options --> <para> <variablelist> <varlistentry><term>-h</term> <LISTITEM><PARA> options help </PARA></LISTITEM> </varlistentry> <varlistentry><term>-f</term> <LISTITEM><PARA> <replaceable>int</replaceable> Input sample rate </PARA></LISTITEM> </varlistentry> <varlistentry><term>-audiodevice</term> <LISTITEM><PARA> <replaceable>string</replaceable> use specified audiodevice if appropriate for protocol </PARA></LISTITEM> </varlistentry> <varlistentry><term>-time</term> <LISTITEM><PARA> <replaceable>float</replaceable> Wave length in seconds </PARA></LISTITEM> </varlistentry> <varlistentry><term>-o</term> <LISTITEM><PARA> <replaceable>ofile</replaceable> Output filename. If not specified output is to stdout. </PARA></LISTITEM> </varlistentry> <varlistentry><term>-otype</term> <LISTITEM><PARA> <replaceable>string</replaceable> Output file type, (optional). If no type is Specified the type of the input file is assumed. Supported types are: nist, est, esps, snd, riff, aiff, audlab, raw, ascii </PARA></LISTITEM> </varlistentry> <varlistentry><term>-F</term> <LISTITEM><PARA> <replaceable>int</replaceable> Output sample rate in Hz. If this is different from the input sample rate, resampling will occur </PARA></LISTITEM> </varlistentry> <varlistentry><term>-obo</term> <LISTITEM><PARA> <replaceable>string</replaceable> Output byte order: MSB, LSB, native, or nonnative. Suns, HP, SGI Mips, M68000 are MSB (big endian) Intel, Alpha, DEC Mips, Vax are LSB (little endian) </PARA></LISTITEM> </varlistentry> <varlistentry><term>-oswap</term> <LISTITEM><PARA> Swap bytes when saving to output </PARA></LISTITEM> </varlistentry> <varlistentry><term>-ostype</term> <LISTITEM><PARA> <replaceable>string</replaceable> Output sample type: short, mulaw, byte or ascii </PARA></LISTITEM> </varlistentry> <varlistentry><term>-p</term> <LISTITEM><PARA> <replaceable>string</replaceable> audio device protocol. Ths supported types are sunaudio audio_command linux16audio </PARA></LISTITEM> </varlistentry> </variablelist> </para> <!-- DONE /amd/projects/festival/versions/v_mpiro/speech_tools_linux/bin/na_record -sgml_options --> </sect2> </sect1>