3 * Revision 1.2 1996/08/20 20:40:51 jaf
4 * Removed all static local variables that were SAVE'd in the Fortran
5 * code, and put them in struct lpc10_encoder_state that is passed as an
8 * Removed init function, since all initialization is now done in
9 * init_lpc10_encoder_state().
11 * Revision 1.1 1996/08/19 22:30:54 jaf
17 /* -- translated by f2c (version 19951025).
18 You must link the resulting object file with the libraries:
19 -lf2c -lm (in that order)
24 extern int prepro_(real
*speech
, integer
*length
,
25 struct lpc10_encoder_state
*st
);
27 /* Table of constant values */
29 static integer c__1
= 1;
31 /* ********************************************************************* */
33 /* PREPRO Version 48 */
36 * Revision 1.2 1996/08/20 20:40:51 jaf
37 * Removed all static local variables that were SAVE'd in the Fortran
38 * code, and put them in struct lpc10_encoder_state that is passed as an
41 * Removed init function, since all initialization is now done in
42 * init_lpc10_encoder_state().
44 * Revision 1.1 1996/08/19 22:30:54 jaf
47 /* Revision 1.3 1996/03/14 23:22:56 jaf */
48 /* Added comments about when INITPREPRO should be used. */
50 /* Revision 1.2 1996/03/14 23:09:27 jaf */
51 /* Added an entry named INITPREPRO that initializes the local state of */
52 /* this subroutine, and those it calls (if any). */
54 /* Revision 1.1 1996/02/07 14:48:54 jaf */
55 /* Initial revision */
58 /* ********************************************************************* */
60 /* Pre-process input speech: */
63 /* LENGTH - Number of SPEECH samples */
65 /* SPEECH(LENGTH) - Speech data. */
66 /* Indices 1 through LENGTH are read and modified. */
68 /* This subroutine has no local state maintained from one call to the */
69 /* next, but HP100 does. If you want to switch to using a new audio */
70 /* stream for this filter, or reinitialize its state for any other */
71 /* reason, call the ENTRY INITPREPRO. */
73 /* Subroutine */ int prepro_(real
*speech
, integer
*length
,
74 struct lpc10_encoder_state
*st
)
76 extern /* Subroutine */ int hp100_(real
*, integer
*, integer
*, struct lpc10_encoder_state
*);
79 /* High Pass Filter at 100 Hz */
80 /* Parameter adjustments */
86 hp100_(&speech
[1], &c__1
, length
, st
);