csoundCore.h File Reference

#include "sysdep.h"
#include <stdarg.h>
#include <setjmp.h>
#include <sndfile.h>
#include "csound.h"

Data Structures

Defines

Typedefs


Define Documentation

#define ALLCHNLS   0x7fff
#define AMPLMSG   01
#define BYTREVL (  ) 
Value:
((n>>24 & 0xFF) | (n>>8 & 0xFF00L) | \
                    (n<<8 & 0xFF0000L) | (n<<24 & 0xFF000000L))
#define BYTREVS (  )     ((n>>8 & 0xFF) | (n<<8 & 0xFF00))
#define CPSOCTL (  )     ((MYFLT)(1 << ((int)(n) >> 13)) * cpsocfrc[(int)(n) & 8191])
#define CSFILE_FD_R   1
#define CSFILE_FD_W   2
#define CSFILE_SND_R   4
#define CSFILE_SND_W   5
#define CSFILE_STD   3
#define CURTIME   (((double)csound->icurTime)/((double)csound->esr))
#define CURTIME_inc   (((double)csound->ksmps)/((double)csound->esr))
#define DFLT_DBFS   (FL(32768.0))
#define DFLT_KR   FL(4410.0)
#define DFLT_KSMPS   10
#define DFLT_NCHNLS   1
#define DFLT_SR   FL(44100.0)
#define DV32768   FL(0.000030517578125)
#define FMAXLEN   ((MYFLT)(MAXLEN))
#define IGN (  )     (void) X
#define INCOUNT   ORTXT.inlist->count
#define INOCOUNT   ORTXT.inoffs->count
#define LOBITS   10
#define LOFACT   1024
#define LOG10D20   0.11512925
#define LOMASK   1023
#define LOSCAL   FL(0.0009765625)
#define MAXCHAN   16
#define MAXCHNLS   256
#define MAXINSNO   (200)
#define MAXLEN   0x1000000L
#define MAXNAME   (256)
#define MAXOCTS   8
#define MAXPOS   0x7FFFFFFFL
#define NOTOK   (-1)
#define OCTRES   8192
#define OK   (0)
#define ONEPT   1.02197486
#define ORTXT   h.optext->t
#define OUTCOUNT   ORTXT.outlist->count
#define OUTOCOUNT   ORTXT.outoffs->count
#define PFRAC (  )     ((MYFLT)((x) & ftp->lomask) * ftp->lodiv)
#define PHMASK   0x0FFFFFFL
#define PI_F   ((MYFLT) PI)
#define PMAX   (1000)
#define RAWMSG   0x40
#define RNGEMSG   02
#define SSTRCOD   3945467
#define SSTRSIZ   200
#define TIMEMSG   0x80
#define TWOPI   (6.283185307179586476925286766559005768394)
#define TWOPI_F   ((MYFLT) TWOPI)
#define VARGMAX   (1001)
#define WARNMSG   04
#define XINARG1   (p->XINCODE & 1)
#define XINARG2   (p->XINCODE & 2)
#define XINARG3   (p->XINCODE & 4)
#define XINARG4   (p->XINCODE & 8)
#define XINARG5   (p->XINCODE &16)
#define XINCODE   ORTXT.xincod
#define XOUTCODE   ORTXT.xoutcod
#define XOUTSTRCODE   ORTXT.xoutcod_str
#define XSTRCODE   ORTXT.xincod_str

Typedef Documentation

typedef struct arglst ARGLST
typedef struct argoffs ARGOFFS
typedef struct auxch AUXCH
typedef struct dklst DKLST
typedef struct event EVTBLK

This struct holds the data for one score event.

typedef struct fdch FDCH
typedef int(* GEN)(FGDATA *, FUNC *)
typedef struct insds INSDS

This struct holds the info for a concrete instrument event instance in performance.

typedef struct instr INSTRTXT

This struct is filled out by otran() at orch parse time. It is used as a template for instrument events.

typedef struct lblblk LBLBLK
typedef struct mchnblk MCHNBLK
typedef struct monblk MONPCH
typedef struct oentry OENTRY
typedef struct opds OPDS

This struct holds the info for one opcode in a concrete instrument instance in performance.

typedef struct op OPTXT

A chain of TEXT structs. Note that this is identical with the first two members of struct INSTRTEXT, and is so typecast at various points in code.

typedef struct pvx_memfile_ PVOCEX_MEMFILE
typedef struct SNDMEMFILE_ SNDMEMFILE
typedef int(* SUBR)(CSOUND *, void *)
typedef struct text TEXT

Storage for parsed orchestra code, for each opcode in an INSTRTXT.


Generated by  doxygen 1.6.2