📄 mcrecord.1t
字号:
.\" Copyright (c) 1987, 1990 Entropic Speech, Inc.; All rights reserved.\" @(#)mcrecord.1t 3.9 3/25/90 ESI.TH MCRECORD 1\-ESPS 3/25/90.ds ]W "Entropic Speech, Inc..SH NAMEmcrecord - digitize data using the \s-1MASSCOMP\s+1 analog-to-digital (A/D) converter..PPrecord - digitize data using an analog-to-digital (A/D) converter..SH SYNOPSIS.B mcrecord[.BI \-x " debug level"] [.BI \-{psf} " range"] [.BI \-r " sampling rate"] [.BI \-g " gain"] [.BI \-w " width"] [.BI \-c " A/D channel"] [.BI \-k " clock#"].BI \-t " comment text"].BI \-d " A/D device type"].BI \-C " clock device"].BI \-D " A/D device"].I file.SH DESCRIPTION.PP.I Recorddigitizes the input at the specified sampling rate and stores the data as SHORTs in .I file(an ESPS sampled data feature (FEA_SD) file).A range of data may be specified in one of three ways:the number of samples, seconds of data, or number of frames at the specified width.Furthermore, a gain factor, an alternate A/D channel, and an alternate clock may be specified..PPThe following options are supported:.TP.BI \-x " debug level"Only debug level 1 is defined in this version;this causes several messages to be printed.The default level is zero, which causes no debug output..TP.BI \-p " range"Select the recording length, in number of points..TP.BI \-s " range"Select the recording length, in seconds..TP.BI \-f " range"Select the recording length, in frames. By default, a frame is100 points, but this may be changed. See .I widthbelow..TP.BI \-r " sampling rate"Select the sampling rate (default is 8000 samples/second)..TP.BI \-w " width"This switch defines the frame width. The width is ignored unless the.B \-fswitch is also specified. (The default is 100 points.).TP.BI \-c " A/D channel"Specifies the channel of the A/D to use. The default channel number iszero. The range of legal values, depends on the particular A/Dbeing used..TP.BI \-k " clock#"Specifies the clock used to drive the analog to digital conversion. The default is clock 1. The range of legal values, depends on theparticular A/D being used..TP.BI \-g " gain factor"Some types of \s-1MASSCOMP\s+1 A/D converters can apply a gain factorthe analog signal before it is digitized. If this option is used, thisnumber if passed directly to the A/D. How it is interpreted depends onthe A/D type being used. For currently known \s-1MASSCOMP\s+1converters, this table applies:.TScenter, allbox, tab(;);c | c s s sc | c | c | c | c.Factor;Gain;AD12F;AD12FA;AD12FA\(dg;EF12M0;x1;x1;x1;x11;x4;x2;x4;x22;x16;x4;x16;x43;x64;x8;x64;x8.TE.IP.ps -2.vs -2\(dgAlternate setting of AD12FA gain jumper. See AD12FA HardwareManual. (This table from MASSCOMP Data Acquisition ApplicationProgramming Manual.).ps +2.vs +2.TP.BI \-t " comment text"The argument following this option is added to the comment field of theoutput ESPS SD file. If the text is more than one word, it must beenclosed in quotes..TP.BI \-d "A/D device type"This overrides the A/D device type compiled into the program. Normallythe device type is compiled into the program as specified by the ESPSinstall script. This device type does not affect processing; it isonly used to save the device type in the \fIequip\fR of the ESPS datafile header..IPThe default clock device is /dev/dacp0/efclk0, and the default A/Ddevice is /dev/dacp0/adf0. These defaults, might be different at yoursite, however, since they can be changed by the ESPS installationprogram. The compiled in defaults can be replaced on the command linewith the \fB\-C\fR and the \fB\-D\fR options. The clock device isspecified without the trailing device number, \fIe.g.\fR/dev/dacp0/clk. The A/D device is specified by its complete specialfilename, \fIe.g.\fR /dev/dacp0/adf0..TP.I \ fileThe file to store the sampled speech data into. .PP.I Recordtells the user when all the setups are finished and the A/D conversion process is ready to begin.The data conversion starts when the user hits a carriage return..PPOn a 68020 \s-1MASSCOMP\s+1 system with 8 Megabytes of read memory, about1,000,000 points (125 seconds at 8000 samples/second) may be collected at once..SH ESPS HEADER.SH ESPS PARAMETERSThe ESPS parameter file is not referenced..SH ESPS COMMON.PPESPS Common processing may be disabled by setting the environment variableUSE_ESPS_COMMON to "off". The default ESPS Common file is .espscom in the user's home directory. This may be overidden by settingthe environment variable ESPSCOM to the desired path. User feedback ofCommon processing is determined by the environment variable ESPS_VERBOSE,with 0 causing no feedback and increasing levels causing increasinglydetailed feedback. If ESPS_VERBOSE is not defined, a default value of 3 isassumed..PPThe following items are written into the ESPS Common file if it isenabled:.IP.I "start - integer".IPThis is always 1..sp.I "nan - integer".IPThe number of points in the output file..sp.I "prog - string".IPThis is the name of the program (\fIrecord\fP in this case)..sp.I "filename - string".IPThe name of the output file..SH "ESPS HEADERS".PPItems in the FEA_SD header of output file are set as follows:.IP.nf.IR record_freq " = sampling frequency".IR equip " = default A/D type or -d argument if given".IR max_value " = absolute value of the maximum data point value".SH DIAGNOSTICS.PP.I Recordprints "Event Wait Timeout" if the the program quits before all the data is captured.This can happen if the designated clock is not physically connected to the A/D converter, or if thesystem load is too heavy to support the conversion..SH BUGS.SH EXPECTED CHANGESThis version of the program only operates the A/D converter indifferential, bipolar mode. The next version will have options tochange these modes..SH AUTHOR.PPDavid Burton, Alan Parker, Jay Virdy
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -