3 * Revision 1.1 1996/08/19 22:40:23 jaf
9 /* -- translated by f2c (version 19951025).
10 You must link the resulting object file with the libraries:
11 -lf2c -lm (in that order)
16 extern int dcbias_(integer
*len
, real
*speech
, real
*sigout
);
18 /* ********************************************************************* */
20 /* DCBIAS Version 50 */
23 * Revision 1.1 1996/08/19 22:40:23 jaf
26 /* Revision 1.3 1996/03/18 21:19:22 jaf */
27 /* Just added a few comments about which array indices of the arguments */
28 /* are used, and mentioning that this subroutine has no local state. */
30 /* Revision 1.2 1996/03/13 16:44:53 jaf */
31 /* Comments added explaining that none of the local variables of this */
32 /* subroutine need to be saved from one invocation to the next. */
34 /* Revision 1.1 1996/02/07 14:44:21 jaf */
35 /* Initial revision */
38 /* ********************************************************************* */
40 /* Calculate and remove DC bias from buffer. */
43 /* LEN - Length of speech buffers */
44 /* SPEECH - Input speech buffer */
45 /* Indices 1 through LEN read. */
47 /* SIGOUT - Output speech buffer */
48 /* Indices 1 through LEN written */
50 /* This subroutine has no local state. */
52 /* Subroutine */ int dcbias_(integer
*len
, real
*speech
, real
*sigout
)
54 /* System generated locals */
62 /* Local variables that need not be saved */
63 /* Parameter adjustments */
70 for (i__
= 1; i__
<= i__1
; ++i__
) {
75 for (i__
= 1; i__
<= i__1
; ++i__
) {
76 sigout
[i__
] = speech
[i__
] - bias
;