ugens5.h

Go to the documentation of this file.
00001 /*
00002     ugens5.h:
00003 
00004     Copyright (C) 1991 Barry Vercoe, John ffitch, Gabriel Maldonado
00005 
00006     This file is part of Csound.
00007 
00008     The Csound Library is free software; you can redistribute it
00009     and/or modify it under the terms of the GNU Lesser General Public
00010     License as published by the Free Software Foundation; either
00011     version 2.1 of the License, or (at your option) any later version.
00012 
00013     Csound is distributed in the hope that it will be useful,
00014     but WITHOUT ANY WARRANTY; without even the implied warranty of
00015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016     GNU Lesser General Public License for more details.
00017 
00018     You should have received a copy of the GNU Lesser General Public
00019     License along with Csound; if not, write to the Free Software
00020     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00021     02111-1307 USA
00022 */
00023 
00024 #include "lpc.h"        /*                                              UGENS5.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 ; /* Assume sizeof(int)== sizeof(MYFLT) */
00105 } LPSLOT ;
00106 
00107 typedef struct {
00108         OPDS    h;
00109         MYFLT   *islot1 ;
00110         MYFLT   *islot2 ; /* Assume sizeof(pointer)== sizeof(MYFLT) */
00111         MYFLT   *kmix  ;
00112         MYFLT   *fpad[5]; /* Pad for kcoef correctly put (Mighty dangerous) */
00113         long    lpad,npoles ;
00114         LPREAD  *lp1,*lp2 ;
00115         long    lastmsg;
00116         MYFLT   kcoefs[MAXPOLES*2], framrat16;
00117         int             storePoles ;
00118 } LPINTERPOL ;

Generated on Sun Nov 9 00:04:52 2008 for Csound and CsoundAC by  doxygen 1.5.6