ugens2.h

Go to the documentation of this file.
00001 /*
00002     ugens2.h:
00003 
00004     Copyright (C) 1991 Barry Vercoe, John ffitch
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 /*                                                              UGENS2.H        */
00025 
00026 typedef struct {
00027         OPDS    h;
00028         MYFLT   *sr, *xcps, *iphs;
00029         double  curphs;
00030 } PHSOR;
00031 
00032 typedef struct {
00033         OPDS    h;
00034         MYFLT   *rslt, *xndx, *xfn, *ixmode, *ixoff, *iwrap;
00035         MYFLT   offset;
00036         long    pfn; /* Previous function table number - used to
00037                         detect a change in table number when this is
00038                         supplied by a k rate input parameter. */
00039         long    xbmul;
00040         int     wrap;
00041         FUNC    *ftp;
00042 } TABLE;
00043 
00044 typedef struct {
00045         OPDS    h;
00046         MYFLT   *rslt, *idel, *kamp, *idur, *ifn;
00047         long    kinc, phs;
00048         long    dcnt;
00049         FUNC    *ftp;
00050 } OSCIL1;
00051 
00052 typedef struct  {
00053         OPDS    h;
00054         MYFLT   *rslt, *kamp, *ifrq, *ifn, *itimes;
00055         MYFLT   index, inc, maxndx;
00056         long    ntimes;
00057         FUNC    *ftp;
00058 } OSCILN;
00059 
00060 typedef struct {
00061         OPDS    h;
00062         MYFLT   *sr, *xamp, *xcps, *ifn, *iphs;
00063         long    lphs;
00064         FUNC    *ftp;
00065 } OSC;

Generated on Tue Apr 14 11:00:49 2009 for Csound and CsoundAC by  doxygen 1.5.8