⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dcbias.f,v

📁 lpc10-15为美军2400bps语音压缩标准的C语音源代码。
💻 F,V
字号:
head	1.3;access;symbols;locks; strict;comment	@* @;1.3date	96.03.18.21.19.22;	author jaf;	state Exp;branches;next	1.2;1.2date	96.03.13.16.44.53;	author jaf;	state Exp;branches;next	1.1;1.1date	96.02.07.14.44.21;	author jaf;	state Exp;branches;next	;desc@@1.3log@Just added a few comments about which array indices of the argumentsare used, and mentioning that this subroutine has no local state.@text@************************************************************************	DCBIAS Version 50** $Log: dcbias.f,v $* Revision 1.2  1996/03/13  16:44:53  jaf* Comments added explaining that none of the local variables of this* subroutine need to be saved from one invocation to the next.** Revision 1.1  1996/02/07 14:44:21  jaf* Initial revision************************************************************************** Calculate and remove DC bias from buffer.** Input:*  LEN    - Length of speech buffers*  SPEECH - Input speech buffer*           Indices 1 through LEN read.* Output:*  SIGOUT - Output speech buffer*           Indices 1 through LEN written** This subroutine has no local state.*	SUBROUTINE DCBIAS( LEN, SPEECH, SIGOUT )*	Arguments	INTEGER LEN	REAL SPEECH(LEN), SIGOUT(LEN)*       Local variables that need not be saved	INTEGER I	REAL BIAS	BIAS = 0	DO I = 1,LEN	   BIAS = BIAS + SPEECH(I)	END DO	BIAS = BIAS/LEN	DO I = 1,LEN	   SIGOUT(I) = SPEECH(I) - BIAS	END DO	RETURN	END@1.2log@Comments added explaining that none of the local variables of thissubroutine need to be saved from one invocation to the next.@text@d6 4d16 1a16 1*    Calculate and remove DC bias from bufferd18 1a18 1* Inputs:d21 1d24 3d30 1a30 1*       Parametersd35 1a35 4*       Local variables*       *       None of these need to have their values saved from one*       invocation to the next.@1.1log@Initial revision@text@d5 4a8 1* $Log$d21 13a33 2	INTEGER LEN, I	REAL BIAS, SPEECH(LEN), SIGOUT(LEN)@

⌨️ 快捷键说明

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