man.diff

来自「speech signal process tools」· DIFF 代码 · 共 144 行

DIFF
144
字号
.\" Copyright (c) 1993 Entropic Research Laboratory, Inc.; All rights reserved.\" @(#)ebanner.1	1.3 11 Apr 1997 ERL.ds ]W (c) 1993 Entropic Research Laboratory, Inc..TH  EBANNER 1\-ESPS 11 Apr 1997.SH NAME.nfebanner \- create sampled data whose spectrogram image displays ASCII text .fi.SH SYNOPSIS.Bebanner[.BI \-f " font"] [.BI \-l " low"] [.BI \-h " high"] [.BI \-r " sample_rate"] [.BI \-a " amplitude"] [.BI \-d " duration"] [.BI \-s " step"] [.BI \-x " debug_level"].I "input.text output.sd".SH DESCRIPTION.PP\fIEbanner\fP converts ASCII text into a sampled data waveform whosewide-band spectrogram image shows the ASCII text in the form ofraster-graphics fonts.  The characters are represented as a matrix ofdots \- some on and some off.  For each "on" dot, a wavelet with thecorrect location in the time-frequency plane is generated.  All ofthese wavelets are then summed to produce the output..PPThe intput file \fIinput.text\fP is a text file, and the output file\fIoutput.sd\fP an ESPS sampled data (FEA_SD) file of data type float.Standard input and standard output are not supported..SH OPTIONS.PPThe following options are supported:.TP.BI \-f " font \fR[$ESPS_BASE/lib/fixedwidthfonts/cour.r.24]\fP"The spectral-domain image is rendered using (Sunview) fixed widthfonts.  If \fIfont\fP is a full path to a file, that file is used asthe font.  Otherwise, \fIebanner\fP searches for the font firstrelative to the current directory and then relative to$ESPS_BASE/lib/fixedwidthfonts.  This search path is overriden by thecontents of the Unix environment variable EBANNER_FONTS, if it isdefined..TP.BI \-l " low \fR[.1]\fP".TP.BI \-h " high \fR[.9]\fP"The \-\fBl\fP and \-\fBh\fP options specify the lower and upperfrequency bounds of the top and bottom of the text display in terms offractions of the Nyquist rate.  Thus, for a sample frequency of 16kHz,"\-\fBl\fP .2" means that the bottom of the descenders will be at1600Hz on the spectrogram.  These options permit positioning a string of textanywhere in the frequency range.  It's then a simple matter of addingtwo (or more) such signals together with \fIaddsd\fP (1-ESPS) in order to create multiple lines of text in the spectrogram..TP.BI \-r " sample_rate \fR[8000]\fP"This specifies the sampling rate of the output file. .TP.BI \-a " amplitude \fR[500]\fP"This is the zero-to-peak amplitude of each in each individual wavelet.The worst case overall signal amplitude, assuming all vertical pixelsin a font matrix are on and all components in phase, is therefore(\fIheight\fP * \fIamplitude\fP), where \fIheight\fP is the nominalcharacter height specified in the font file.  This value is writtenas the \fImax_value\fP generic in the output header.  .TP.BI \-d " duration \fR[.02]\fP"The nominal duration of the wavelets (seconds)..TP.BI \-s " step \fR[.01]\fP"The time step between wavelets (dots in the matrix) (seconds)..TP.BI \-x " debug_level \fR[0]\fP"If \fIdebug_level\fP is positive, \fIebanner\fP prints debuggingmessages and other information on the standard error output.  Themessages proliferate as \fIdebug_level\fP increases.  If\fIdebug_level\fP is 0 (the default), no messages are printed..SH ESPS PARAMETERS.PPThe ESPS parameter file is not used. .SH ESPS COMMON.PPESPS Common is not read. .SH ESPS HEADERS.PPThe output file is a FEA_SD file.  .SH FUTURE CHANGES.PPAutomatic translation to the language of your choice.  .SH EXAMPLES.PPThe following commands create and display a 8Khz sampled datafile whose spectrogram reads "Hello, world!":.nf	% echo " Hello, world!" > hw	% ebanner hw hw.sd	% sgram hw.sd hw.fspec	% xwaves hw.sd hw.fspec.fiThe following commands create and display a 16Khz sampled data filewhose spectrum has two lines of text ("ebanner:", and "Hello, world!"):.nf	% echo "   ebanner:   " > eb	% echo " Hello, world!" > hw	% ebanner -r 16000 -l .6 eb eb.sd	% ebanner -r 16000 -l .1 -h .5 hw hw.sd	% addsd hw.sd eb.sd ebhw.sd	% sgram ebhw.sd ebhw.fspec	% xwaves ebhw.sd ebhw.fspec.fi.SH ERRORS AND DIAGNOSTICS.PP.SH BUGS.PPNone known..SH REFERENCES.PP.SH "SEE ALSO".PP.SH AUTHOR.PPDavid Talkin

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?