00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #include "pstream.h"
00026
00027 typedef struct {
00028 OPDS h;
00029 MYFLT *iargs[VARGMAX];
00030 } PRINTV;
00031
00032 typedef struct {
00033 OPDS h;
00034 MYFLT *signal, *iprd, *inprds, *iwtflg;
00035 long npts, nprds, bufpts, totpts, pntcnt;
00036 WINDAT dwindow;
00037 MYFLT *nxtp, *begp, *endp;
00038 AUXCH auxch;
00039 } DSPLAY;
00040
00041 typedef struct {
00042 OPDS h;
00043 PVSDAT *fin;
00044 MYFLT *points, *flag;
00045 int size;
00046 WINDAT dwindow;
00047 AUXCH fdata;
00048 unsigned long lastframe;
00049 } FSIGDISP;
00050
00051 #define WINDMAX 4096
00052 #define WINDMIN 16
00053
00054 typedef struct {
00055 OPDS h;
00056 MYFLT *signal, *iprd, *inpts, *ihann, *idbout, *iwtflg;
00057 MYFLT sampbuf[WINDMAX], *bufp, *endp, overN;
00058 long windsize, overlap, ncoefs;
00059 int hanning, dbout;
00060 WINDAT dwindow;
00061 AUXCH auxch;
00062 } DSPFFT;
00063
00064 typedef struct {
00065 OPDS h;
00066 MYFLT *kout,*kin,*iprd,*imindur,*imemdur,*ihp,*ithresh,*ihtim,*ixfdbak;
00067 MYFLT *istartempo,*ifn,*idisprd,*itweek;
00068 int countdown, timcount, npts, minlam, maxlam;
00069 MYFLT *hbeg, *hcur, *hend;
00070 MYFLT *xbeg, *xcur, *xend;
00071 MYFLT *stmemp, *linexp, *ftable, *xscale, *lmults;
00072 short *lambdas;
00073 MYFLT *stmemnow, ncross, coef0, coef1, yt1, thresh;
00074 MYFLT fwdcoef, fwdmask, xfdbak, avglam, tempscal, tempo, tweek;
00075 int dcntdown, dtimcnt;
00076 WINDAT dwindow;
00077 AUXCH auxch;
00078 } TEMPEST;
00079