Logo Search packages:      
Sourcecode: csound version File versions  Download package

ugens6.h

/*
    ugens6.h:

    Copyright (C) 1991-2000 Barry Vercoe, John ffitch, Jens Groh,
                            Hans Mikelson, Istvan Varga

    This file is part of Csound.

    The Csound Library is free software; you can redistribute it
    and/or modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    Csound is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with Csound; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA
*/

/*                                                      UGENS6.H        */

00027 typedef struct {
        OPDS    h;
        MYFLT   *kr, *asig, *ilen;
        int     len;
} DOWNSAMP;

00033 typedef struct {
        OPDS    h;
        MYFLT   *ar, *ksig;
} UPSAMP;

00038 typedef struct {
        OPDS    h;
        MYFLT   *rslt, *xsig, *istor;
        MYFLT   prev;
} INDIFF;

00044 typedef struct {
        OPDS    h;
        MYFLT   *rslt, *xsig, *istor, *imode;   /* IV - Sep 5 2002 */
        int     init_k;
        MYFLT   prev;
} INTERP;

00051 typedef struct {
        OPDS    h;
        MYFLT   *xr, *xsig, *xgate, *ival, *istor;
        MYFLT   state;
        int     audiogate;
} SAMPHOLD;

00058 typedef struct {
        OPDS    h;
        MYFLT   *ar, *asig, *idlt, *istor;
        MYFLT   *curp;
        int32    npts;
        AUXCH   auxch;
} DELAY;

00066 typedef struct DELAYR {
        OPDS    h;
        MYFLT   *ar, *indx, *idlt, *istor;
        MYFLT   *curp;
        int32    npts;
        AUXCH   auxch;
        struct DELAYR  *next_delayr; /* fifo for delayr pointers by Jens Groh */
} DELAYR;

00075 typedef struct {
        OPDS    h;
        MYFLT   *ar, *xdlt, *indx;
        DELAYR  *delayr;
} DELTAP;

00081 typedef struct {
        OPDS    h;
        MYFLT   *ar, *adlt, *iwsize, *indx;
        int     wsize;
        double  d2x;
        DELAYR  *delayr;
} DELTAPX;

00089 typedef struct {
        OPDS    h;
        MYFLT   *asig;
        DELAYR  *delayr;
} DELAYW;

00095 typedef struct {
        OPDS    h;
        MYFLT   *ar, *asig, *istor;
        MYFLT   sav1;
} DELAY1;

00101 typedef struct {
        OPDS    h;
        MYFLT   *ar, *asig, *krvt, *ilpt, *istor, *insmps;
        MYFLT   coef, prvt, *pntr;
        AUXCH   auxch;
} COMB;

00108 typedef struct {
        OPDS    h;
        MYFLT   *ar, *asig, *krvt, *istor;
        MYFLT   c1, c2, c3, c4, c5, c6, prvt;
        MYFLT   *p1, *p2, *p3, *p4, *p5, *p6;
        MYFLT   *adr1, *adr2, *adr3, *adr4, *adr5, *adr6;
        AUXCH   auxch;
        int32   revlpsum;
        AUXCH   revlpsiz;
} REVERB;

00119 typedef struct {
        OPDS    h;
        MYFLT   *r1, *r2, *r3, *r4, *asig, *kx, *ky, *ifn, *imode, *ioffset;
        MYFLT   xmul, xoff;
        FUNC    *ftp;
} PAN;

int downset(CSOUND *, DOWNSAMP *p);
int downsamp(CSOUND *, DOWNSAMP *p);
int upsamp(CSOUND *, UPSAMP *p);
int a_k_set(CSOUND *, INTERP *p);
int interpset(CSOUND *, INTERP *p);
int interp(CSOUND *, INTERP *p);
int indfset(CSOUND *, INDIFF *p);
int kntegrate(CSOUND *, INDIFF *p);
int integrate(CSOUND *, INDIFF *p);
int kdiff(CSOUND *, INDIFF *p);
int diff(CSOUND *, INDIFF *p);
int samphset(CSOUND *, SAMPHOLD *p);
int ksmphold(CSOUND *, SAMPHOLD *p);
int samphold(CSOUND *, SAMPHOLD *p);
int delset(CSOUND *, DELAY *p);
int delrset(CSOUND *, DELAYR *p);
int delwset(CSOUND *, DELAYW *p);
int tapset(CSOUND *, DELTAP *p);
int delay(CSOUND *, DELAY *p);
int delayr(CSOUND *, DELAYR *p);
int delayw(CSOUND *, DELAYW *p);
int deltap(CSOUND *, DELTAP *p);
int deltapi(CSOUND *, DELTAP *p);
int deltapn(CSOUND *, DELTAP *p);
int deltap3(CSOUND *, DELTAP *p);
int tapxset(CSOUND *, DELTAPX *p);
int deltapx(CSOUND *, DELTAPX *p);
int deltapxw(CSOUND *, DELTAPX *p);
int del1set(CSOUND *, DELAY1 *p);
int delay1(CSOUND *, DELAY1 *p);
int cmbset(CSOUND *, COMB *p);
int comb(CSOUND *, COMB *p);
int alpass(CSOUND *, COMB *p);
void reverbinit(CSOUND *);
int rvbset(CSOUND *, REVERB *p);
int reverb(CSOUND *, REVERB *p);
int panset(CSOUND *, PAN *p);
int pan(CSOUND *, PAN *p);


Generated by  Doxygen 1.6.0   Back to index