#include "sysdep.h"
#include <stdarg.h>
#include <setjmp.h>
#include <sndfile.h>
#include "csound.h"
#define ALLCHNLS 0x7fff |
#define AMPLMSG 01 |
#define BYTREVL | ( | n | ) |
Value:
((n>>24 & 0xFF) | (n>>8 & 0xFF00L) | \ (n<<8 & 0xFF0000L) | (n<<24 & 0xFF000000L))
#define BYTREVS | ( | n | ) | ((n>>8 & 0xFF) | (n<<8 & 0xFF00)) |
#define CPSOCTL | ( | n | ) | ((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 | ( | X | ) | (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) |
Referenced by OpcodeNoteoffBase< T >::noteoff().
#define ONEPT 1.02197486 |
#define ORTXT h.optext->t |
#define OUTCOUNT ORTXT.outlist->count |
#define OUTOCOUNT ORTXT.outoffs->count |
#define PFRAC | ( | x | ) | ((MYFLT)((x) & ftp->lomask) * ftp->lodiv) |
#define PHMASK 0x0FFFFFFL |
#define PI (3.141592653589793238462643383279502884197) |
#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 |
Referenced by OpcodeNoteoffBase< T >::warn(), and OpcodeBase< T >::warn().
#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 |
This struct holds the info for a concrete instrument event instance in performance.
This struct is filled out by otran() at orch parse time. It is used as a template for instrument events.
This struct holds the info for one opcode in a concrete instrument instance in performance.
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 |