filebuilding.h

Go to the documentation of this file.
00001 /*
00002  * C S O U N D
00003  *
00004  * An auto-extensible system for making music on computers
00005  * by means of software alone.
00006  *
00007  * Copyright (C) 2001-2005 Michael Gogins, Matt Ingalls, John D. Ramsdell,
00008  *                         John P. ffitch, Istvan Varga
00009  *
00010  * L I C E N S E
00011  *
00012  * This software is free software; you can redistribute it and/or
00013  * modify it under the terms of the GNU Lesser General Public
00014  * License as published by the Free Software Foundation; either
00015  * version 2.1 of the License, or (at your option) any later version.
00016  *
00017  * This software is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00020  * Lesser General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU Lesser General Public
00023  * License along with this software; if not, write to the Free Software
00024  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025  */
00026 #ifndef CSOUND_FILEBUILDING_H
00027 #define CSOUND_FILEBUILDING_H
00028 
00029 #include "csound.h"
00045 #if (defined(WIN32) || defined(_WIN32)) && !defined(SWIG)
00046 #  define PUBLIC        __declspec(dllexport)
00047 #elif defined(__GNUC__)
00048 #  define PUBLIC        __attribute__ ( (visibility("default")) )
00049 #else
00050 #  define PUBLIC
00051 #endif
00052 
00057 #ifdef SWIG
00058 #define CS_PRINTF2
00059 #define CS_PRINTF3
00060 #ifndef __MYFLT_DEF
00061 #define __MYFLT_DEF
00062 #ifndef USE_DOUBLE
00063 #define MYFLT float
00064 #else
00065 #define MYFLT double
00066 #endif
00067 #endif
00068 %module filebuilding
00069 %{
00070 #  include "sysdep.h"
00071 #  include "text.h"
00072 #  include "csound.h"
00073 #  include <stdarg.h>
00074 %}
00075 #else
00076 #  include "sysdep.h"
00077 #  include "text.h"
00078 #  include "csound.h"
00079 #  include <stdarg.h>
00080 #endif
00081 
00082 #ifdef __cplusplus
00083 extern "C" {
00084 #endif
00085 
00086 
00087 
00091   PUBLIC void csoundCsdCreate(CSOUND *csound);
00092 
00096 PUBLIC void csoundCsdSetOptions(CSOUND *csound, char *options);
00097 
00101 PUBLIC const char* csoundCsdGetOptions(CSOUND *csound);
00102 
00106 PUBLIC void csoundCsdSetOrchestra(CSOUND *csound, char *orchestra);
00107 
00111 PUBLIC const char* csoundCsdGetOrchestra(CSOUND *csound);
00112 
00116 PUBLIC void csoundCsdAddScoreLine(CSOUND *csound, char *line);
00117 
00121 PUBLIC void csoundCsdAddEvent11(CSOUND *csound, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10, double p11);
00122 
00126 PUBLIC void csoundCsdAddEvent10(CSOUND *csound, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10);
00127 
00131 PUBLIC void csoundCsdAddEvent9(CSOUND *csound, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9);
00132 
00136 PUBLIC void csoundCsdAddEvent8(CSOUND *csound, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8);
00137 
00141 PUBLIC void csoundCsdAddEvent7(CSOUND *csound, double p1, double p2, double p3, double p4, double p5, double p6, double p7);
00142 
00146 PUBLIC void csoundCsdAddEvent6(CSOUND *csound, double p1, double p2, double p3, double p4, double p5, double p6);
00147 
00151 PUBLIC void csoundCsdAddEvent5(CSOUND *csound, double p1, double p2, double p3, double p4, double p5);
00152 
00156 PUBLIC void csoundCsdAddEvent4(CSOUND *csound, double p1, double p2, double p3, double p4);
00157 
00161 PUBLIC void csoundCsdAddEvent3(CSOUND *csound, double p1, double p2, double p3);
00162 
00166 PUBLIC int csoundCsdSave(CSOUND *csound, char *filename);
00167 
00172 PUBLIC int csoundCsdCompile(CSOUND *csound, char *filename);
00173 
00178 PUBLIC int csoundCsdPerform(CSOUND *csound, char *filename);
00179 
00192 PUBLIC int csoundCompileCsd(CSOUND *, char *csdFilename);
00193 
00199 PUBLIC int csoundPerformCsd(CSOUND *, char *csdFilename);
00200 
00201 #ifdef __cplusplus
00202 }
00203 #endif
00204 
00205 #endif

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