00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #include "lpc.h"
00025
00026 typedef struct {
00027 OPDS h;
00028 MYFLT *kr, *ksig, *ihtim, *isig;
00029 double c1, c2, yt1;
00030 } PORT;
00031
00032 typedef struct {
00033 OPDS h;
00034 MYFLT *ar, *asig, *khp, *istor;
00035 double c1, c2, yt1, prvhp;
00036 } TONE;
00037
00038 typedef struct {
00039 OPDS h;
00040 MYFLT *ar, *asig, *kcf, *kbw, *iscl, *istor;
00041 int scale;
00042 double c1, c2, c3, yt1, yt2, cosf, prvcf, prvbw;
00043 } RESON;
00044
00045 typedef struct {
00046 OPDS h;
00047 MYFLT *ar, *asig, *khp, *ord, *istor;
00048 double c1, c2, *yt1, prvhp;
00049 int loop;
00050 AUXCH aux;
00051 } TONEX;
00052
00053 typedef struct {
00054 OPDS h;
00055 MYFLT *ar, *asig, *kcf, *kbw, *ord, *iscl, *istor;
00056 int scale, loop;
00057 double c1, c2, c3, *yt1, *yt2, cosf, prvcf, prvbw;
00058 AUXCH aux;
00059 } RESONX;
00060
00061 typedef struct {
00062 OPDS h;
00063 MYFLT *krmr, *krmo, *kerr, *kcps, *ktimpt, *ifilno, *inpoles, *ifrmrate;
00064 long headlongs, npoles, nvals, lastfram16, lastmsg;
00065 MYFLT kcoefs[MAXPOLES*2], framrat16;
00066 int storePoles ;
00067 MEMFIL *mfp;
00068 } LPREAD;
00069
00070 typedef struct {
00071 OPDS h;
00072 MYFLT *ar, *asig;
00073 MYFLT circbuf[MAXPOLES<<1], *circjp, *jp2lim;
00074 LPREAD *lpread;
00075 } LPRESON;
00076
00077 typedef struct {
00078 OPDS h;
00079 MYFLT *ar, *asig, *kfrqratio;
00080 MYFLT past[MAXPOLES], prvratio, d, prvout;
00081 LPREAD *lpread;
00082 } LPFRESON;
00083
00084 typedef struct {
00085 OPDS h;
00086 MYFLT *kr, *asig, *ihp, *istor;
00087 double c1, c2, prvq;
00088 } RMS;
00089
00090 typedef struct {
00091 OPDS h;
00092 MYFLT *ar, *asig, *krms, *ihp, *istor;
00093 double c1, c2, prvq, prva;
00094 } GAIN;
00095
00096 typedef struct {
00097 OPDS h;
00098 MYFLT *ar, *asig, *csig, *ihp, *istor;
00099 double c1, c2, prvq, prvr, prva;
00100 } BALANCE;
00101
00102 typedef struct {
00103 OPDS h;
00104 MYFLT *islotnum ;
00105 } LPSLOT ;
00106
00107 typedef struct {
00108 OPDS h;
00109 MYFLT *islot1 ;
00110 MYFLT *islot2 ;
00111 MYFLT *kmix ;
00112 MYFLT *fpad[5];
00113 long lpad,npoles ;
00114 LPREAD *lp1,*lp2 ;
00115 long lastmsg;
00116 MYFLT kcoefs[MAXPOLES*2], framrat16;
00117 int storePoles ;
00118 } LPINTERPOL ;