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

lorisgens5.h
#ifndef INCLUDE_LORISGENS5_H
#define INCLUDE_LORISGENS5_H
/*
 * This is the Loris C++ Class Library, implementing analysis,
 * manipulation, and synthesis of digitized sounds using the Reassigned
 * Bandwidth-Enhanced Additive Sound Model.
 *
 * Loris is Copyright (c) 1999-2004 by Kelly Fitz and Lippold Haken
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 *
 *      lorisgens.h
 *
 *      Header file containing structure definitions for Csound unit generators
 *      supporting bandwidth-enhanced synthesis and sound morphing using the
 *      Loris library.
 *
 *      The lorisplay module was originally written by Corbin Champion, 2002.
 *
 * Kelly Fitz, 9 May 2002
 * loris@cerlsoundgroup.org
 *
 * http://www.cerlsoundgroup.org/Loris/
 *
 */

#include "csdl.h"

/* declare structures holding private internal data */
typedef struct LorisReader LorisReader;
typedef struct LorisPlayer LorisPlayer;
typedef struct LorisMorpher LorisMorpher;

/*      Define a structure to hold parameters for the lorisread module. */
00048 typedef struct
{
  /*      standard structure holding csound global data (esr, ksmps, etc.) */
  OPDS h;

  /* no output
     MYFLT *result; */

  /* unit generator parameters/arguments */
  MYFLT *time, *ifilnam, *readerIdx, *freqenv, *ampenv, *bwenv, *fadetime;

  /* private internal data, used by generator */
  LorisReader *imp;
} LORISREAD;

/*      Define a structure to hold parameters for the lorisplay module. */
00064 typedef struct
{
  /*      standard structure holding csound global data (esr, ksmps, etc.) */
  OPDS h;

  /* output */
  MYFLT *result;

  /* unit generator parameters/arguments */
  MYFLT *readerIdx, *freqenv, *ampenv, *bwenv;

  /* private internal data, used by generator */
  LorisPlayer *imp;
} LORISPLAY;

/*      Define a structure to hold parameters for the lorismorph module. */
00080 typedef struct
{
  /*      standard structure holding csound global data (esr, ksmps, etc.) */
  OPDS h;

  /* no output
     MYFLT *result; */

  /* unit generator parameters/arguments */
  MYFLT *srcidx, *tgtidx, *morphedidx, *freqenv, *ampenv, *bwenv;

  /* private internal data, used by generator */
  LorisMorpher *imp;
} LORISMORPH;

#endif  /* nef INCLUDE_LORISGENS_H */


Generated by  Doxygen 1.6.0   Back to index