260 #if (defined(WIN32) || defined(_WIN32)) && !defined(SWIG) 261 # if defined(__BUILDING_LIBCSOUND) 262 # define PUBLIC __declspec(dllexport) 263 # define PUBLIC_DATA __declspec(dllexport) 265 # define PUBLIC __declspec(dllexport) 266 # define PUBLIC_DATA __declspec(dllimport) 268 #elif defined(__GNUC__) && (__GNUC__ >= 4) 269 # define PUBLIC __attribute__ ( (visibility("default")) ) 270 # define PUBLIC_DATA __attribute__ ( (visibility("default")) ) 280 #if defined(__MACH__) 282 #if defined(MAC_OS_X_VERSION_10_6) 283 #ifdef HAVE_ATOMIC_BUILTIN 285 #undef HAVE_ATOMIC_BUILTIN 298 #include "float-version.h" 345 #define CSOUND_EXITJMP_SUCCESS (256) 351 #define CSOUNDINIT_NO_SIGNAL_HANDLER 1 352 #define CSOUNDINIT_NO_ATEXIT 2 358 #define CSOUND_CALLBACK_KBD_EVENT (0x00000001U) 359 #define CSOUND_CALLBACK_KBD_TEXT (0x00000002U) 519 char device_name[64];
527 char device_name[64];
528 char interface_name[64];
530 char midi_module[64];
660 const char *channelName,
661 void *channelValuePtr,
662 const void *channelType);
664 #ifndef CSOUND_CSDL_H 975 int port,
int mirror);
1115 const char *type,
const char *format);
1166 void (*func)(
CSOUND*,
const char*,
1194 char **name,
char **type);
1240 int frame,
int channel, MYFLT sample);
1248 int frame,
int channel, MYFLT sample);
1286 int state,
int bufSize);
1321 int (*playopen__)(
CSOUND *,
1329 void (*rtplay__)(
CSOUND *,
1330 const MYFLT *outBuf,
1338 int (*recopen_)(
CSOUND *,
1346 int (*rtrecord__)(
CSOUND *,
1362 int (*audiodevlist__)(
CSOUND *,
1404 const char *devName));
1428 const char *devName));
1436 const unsigned char *buf,
1450 const char *(*func)(
int));
1459 int (*mididevlist__)(
CSOUND *,
1532 void (*cscoreCallback_)(
CSOUND *));
1550 FILE *inFile, FILE *outFile, FILE *extractFile);
1568 int attr,
const char *format, ...);
1571 int attr,
const char *format, va_list args);
1584 void (*csoundMessageCallback_)(
CSOUND *,
1596 void (*csoundMessageStrCallback)(
CSOUND *csound,
1703 MYFLT **p,
const char *name,
int type);
1769 const char *name, MYFLT val);
1776 const char *name, MYFLT *samples);
1783 const char *name, MYFLT *samples);
1791 const char *name,
char *
string);
1797 const char *name,
char *
string);
1846 char type,
const MYFLT *pFields,
long numFields);
1852 char type,
const MYFLT *pFields,
long numFields);
1860 char type,
const MYFLT *pfields,
long numFields,
double time_ofs);
1866 char type,
const MYFLT *pfields,
long numFields,
double time_ofs);
1889 char *instrName,
int mode,
int allow_release);
1905 void (*func)(
CSOUND *,
void *),
1955 int (*func)(
void *userData,
void *p,
1957 void *userData,
unsigned int type);
1963 int (*func)(
void *,
void *,
unsigned int));
2057 void (*makeGraphCallback_)(
CSOUND *,
2065 void (*drawGraphCallback_)(
CSOUND *,
2072 void (*killGraphCallback_)(
CSOUND *,
2079 int (*exitGraphCallback_)(
CSOUND *));
2112 int dsblksiz,
int flags,
int thread,
2113 const char *outypes,
const char *intypes,
2114 int (*iopadr)(
CSOUND *,
void *),
2115 int (*kopadr)(
CSOUND *,
void *),
2116 int (*aopadr)(
CSOUND *,
void *));
2397 const char *name,
size_t nbytes);
2427 int argc,
char **argv);
2449 const char *utilName);
2466 const uint32_t *initKey, uint32_t keyLength);
2479 #include "msg_attr.h" 2481 #include "version.h" 2491 int numelem,
int elemsize);
2503 void *out,
int items);
2514 void *out,
int items);
2526 const void *inp,
int items);
2565 #ifdef SOME_FINE_DAY 2573 PUBLIC int csoundQueryInterface(
const char *name,
2574 void **iface,
int *version);
2593 void (*inputValueCalback_)(
CSOUND *,
2594 const char *channelName,
2607 void (*outputValueCalback_)(
CSOUND *,
2608 const char *channelName,
2634 CsoundChannelIOCallback_t func);
PUBLIC void csoundMessageV(CSOUND *, int attr, const char *format, va_list args)
PUBLIC int64_t csoundGetCurrentTimeSamples(CSOUND *csound)
PUBLIC void csoundSetKillGraphCallback(CSOUND *, void(*killGraphCallback_)(CSOUND *, WINDAT *windat))
PUBLIC void csoundCreateMessageBuffer(CSOUND *csound, int toStdOut)
PUBLIC void * csoundGetNamedGens(CSOUND *)
PUBLIC int csoundUDPServerStart(CSOUND *csound, unsigned int port)
PUBLIC void * csoundCreateThreadLock(void)
int value
Definition: csound.h:589
PUBLIC void * csoundCreateCondVar()
PUBLIC void csoundSetMessageCallback(CSOUND *, void(*csoundMessageCallback_)(CSOUND *, int attr, const char *format, va_list valist))
PUBLIC int csoundSpinTryLock(spin_lock_t *spinlock)
PUBLIC CSOUND * csoundCreate(void *hostData)
PUBLIC void csoundSetMIDIModule(CSOUND *csound, const char *module)
PUBLIC double csoundGetRealTime(RTCLOCK *)
MYFLT dflt
Definition: csound.h:642
void PUBLIC csoundDestroyMessageBuffer(CSOUND *csound)
PUBLIC MYFLT csoundGetSpoutSample(CSOUND *csound, int frame, int channel)
PUBLIC int csoundLoadPlugins(CSOUND *csound, const char *dir)
PUBLIC MYFLT csoundGetScoreOffsetSeconds(CSOUND *)
char * devName
Definition: csound.h:540
int max_nchnls
Definition: csound.h:522
int32 overlap
Definition: csound.h:578
int isOutput
Definition: csound.h:523
PUBLIC void csoundAddSpinSample(CSOUND *csound, int frame, int channel, MYFLT sample)
PUBLIC int csoundSetIsGraphable(CSOUND *, int isGraphable)
PUBLIC int csoundGetFirstMessageAttr(CSOUND *csound)
PUBLIC void csoundSetRtcloseCallback(CSOUND *, void(*rtclose__)(CSOUND *))
void(* channelCallback_t)(CSOUND *csound, const char *channelName, void *channelValuePtr, const void *channelType)
Definition: csound.h:659
PUBLIC void csoundWaitThreadLockNoTimeout(void *lock)
struct xyindat_ XYINDAT
Definition: csound.h:469
int ascii_graphs
Definition: csound.h:482
int_least64_t starttime_CPU
Definition: csound.h:557
char * opname
Definition: csound.h:561
PUBLIC long csoundRunCommand(const char *const *argv, int noWait)
PUBLIC void csoundSetMIDIDeviceListCallback(CSOUND *csound, int(*mididevlist__)(CSOUND *, CS_MIDIDEVICE *list, int isOutput))
PUBLIC void csoundSetHostImplementedMIDIIO(CSOUND *csound, int state)
PUBLIC CS_PRINTF3 void csoundMessageS(CSOUND *, int attr, const char *format,...)
PUBLIC void csoundPopFirstMessage(CSOUND *csound)
PUBLIC void csoundGetParams(CSOUND *csound, CSOUND_PARAMS *p)
PUBLIC void csoundSetSpinSample(CSOUND *csound, int frame, int channel, MYFLT sample)
int type
Definition: csound.h:587
MYFLT max
Definition: csound.h:644
PUBLIC void csoundSetRTAudioModule(CSOUND *csound, const char *module)
PUBLIC int csoundGetSizeOfMYFLT(void)
char * lexeme
Definition: csound.h:588
PUBLIC void csoundSetLanguage(cslanguage_t lang_code)
PUBLIC int csoundInitialize(int flags)
PUBLIC void csoundSetMessageStringCallback(CSOUND *csound, void(*csoundMessageStrCallback)(CSOUND *csound, int attr, const char *str))
int32 format
Definition: csound.h:581
PUBLIC void csoundSetDebug(CSOUND *, int debug)
PUBLIC void csoundRemoveKeyboardCallback(CSOUND *csound, int(*func)(void *, void *, unsigned int))
PUBLIC int csoundRunUtility(CSOUND *, const char *name, int argc, char **argv)
unsigned int bufSamp_SW
Definition: csound.h:544
PUBLIC void csoundSetPlayopenCallback(CSOUND *, int(*playopen__)(CSOUND *, const csRtAudioParams *parm))
PUBLIC char ** csoundListUtilities(CSOUND *)
PUBLIC void csoundScoreEventAsync(CSOUND *, char type, const MYFLT *pFields, long numFields)
PUBLIC void csoundSetOutput(CSOUND *csound, const char *name, const char *type, const char *format)
PUBLIC void csoundSpinLock(spin_lock_t *spinlock)
int no_default_paths
Definition: csound.h:498
PUBLIC void csoundSetRtplayCallback(CSOUND *, void(*rtplay__)(CSOUND *, const MYFLT *outBuf, int nbytes))
PUBLIC int csoundScoreSort(CSOUND *, FILE *inFile, FILE *outFile)
struct CsoundRandMTState_ CsoundRandMTState
PUBLIC uint32_t csoundGetNchnlsInput(CSOUND *csound)
PUBLIC void csoundDeleteChannelList(CSOUND *, controlChannelInfo_t *lst)
PUBLIC void csoundScoreEventAbsoluteAsync(CSOUND *, char type, const MYFLT *pfields, long numFields, double time_ofs)
PUBLIC void csoundSetExternalMidiInCloseCallback(CSOUND *, int(*func)(CSOUND *, void *userData))
char * optype
Definition: csound.h:591
PUBLIC int csoundWriteCircularBuffer(CSOUND *csound, void *p, const void *inp, int items)
PUBLIC void csoundTableCopyOutAsync(CSOUND *csound, int table, MYFLT *dest)
PUBLIC void csoundSetExternalMidiErrorStringCallback(CSOUND *, const char *(*func)(int))
PUBLIC int csoundRegisterKeyboardCallback(CSOUND *, int(*func)(void *userData, void *p, unsigned int type), void *userData, unsigned int type)
PUBLIC void csoundSetMIDIFileInput(CSOUND *csound, const char *name)
int postscript_graphs
Definition: csound.h:483
PUBLIC int csoundKillInstance(CSOUND *csound, MYFLT instr, char *instrName, int mode, int allow_release)
struct TREE * right
Definition: csound.h:603
PUBLIC int csoundDestroyGlobalVariable(CSOUND *, const char *name)
int rate
Definition: csound.h:598
PUBLIC void csoundSetMakeGraphCallback(CSOUND *, void(*makeGraphCallback_)(CSOUND *, WINDAT *windat, const char *name))
int ksmps_override
Definition: csound.h:511
PUBLIC void csoundDeleteUtilityList(CSOUND *, char **lst)
int y
Definition: csound.h:646
controlChannelType
Definition: csound.h:615
PUBLIC int csoundGetTable(CSOUND *, MYFLT **tablePtr, int tableNum)
int midi_velocity_amp
Definition: csound.h:497
int nchnls_override
Definition: csound.h:507
PUBLIC void csoundTableCopyIn(CSOUND *csound, int table, MYFLT *src)
int sampleFormat
Definition: csound.h:550
PUBLIC int csoundGetControlChannelHints(CSOUND *, const char *name, controlChannelHints_t *hints)
int bufSamp_HW
Definition: csound.h:546
PUBLIC const char * csoundGetUtilityDescription(CSOUND *, const char *utilName)
PUBLIC void csoundCondWait(void *condVar, void *mutex)
PUBLIC void csoundInputMessage(CSOUND *, const char *message)
PUBLIC int csoundTableLength(CSOUND *, int table)
PUBLIC int * csoundGetChannelLock(CSOUND *, const char *name)
PUBLIC void csoundSetControlChannel(CSOUND *csound, const char *name, MYFLT val)
int sliding
Definition: csound.h:576
PUBLIC void csoundSetExternalMidiOutOpenCallback(CSOUND *, int(*func)(CSOUND *, void **userData, const char *devName))
PUBLIC void csoundDestroyThreadLock(void *lock)
char * outypes
Definition: csound.h:562
PUBLIC int csoundSetPvsChannel(CSOUND *, const PVSDATEXT *fin, const char *name)
PUBLIC uint32_t csoundGetNchnls(CSOUND *)
PUBLIC void csoundTableSet(CSOUND *, int table, int index, MYFLT value)
float sampleRate
Definition: csound.h:552
PUBLIC CS_PRINTF2 void csoundMessage(CSOUND *, const char *format,...)
PUBLIC void csoundSetStringChannel(CSOUND *csound, const char *name, char *string)
PUBLIC void csoundInputMessageAsync(CSOUND *, const char *message)
PUBLIC int csoundGetPvsChannel(CSOUND *csound, PVSDATEXT *fout, const char *name)
PUBLIC int csoundGetAudioDevList(CSOUND *csound, CS_AUDIODEVICE *list, int isOutput)
int FFT_library
Definition: csound.h:512
PUBLIC void csoundGetOutputFormat(CSOUND *csound, char *type, char *format)
CSOUND_STATUS
Definition: csound.h:327
PUBLIC double csoundGetScoreTime(CSOUND *)
int isOutput
Definition: csound.h:531
PUBLIC void csoundDisposeOpcodeList(CSOUND *, opcodeListEntry *opcodelist)
PUBLIC void * csoundQueryGlobalVariableNoCheck(CSOUND *, const char *name)
PUBLIC void csoundSetExternalMidiWriteCallback(CSOUND *, int(*func)(CSOUND *, void *userData, const unsigned char *buf, int nBytes))
int midi_key_oct
Definition: csound.h:494
int hardware_buffer_frames
Definition: csound.h:480
PUBLIC int csoundScoreEvent(CSOUND *, char type, const MYFLT *pFields, long numFields)
#define PUBLIC
Definition: csound.h:272
PUBLIC void csoundSetFileOpenCallback(CSOUND *p, void(*func)(CSOUND *, const char *, int, int, int))
PUBLIC void csoundGetNamedGEN(CSOUND *csound, int num, char *name, int len)
int number_of_threads
Definition: csound.h:499
PUBLIC int csoundUDPServerStatus(CSOUND *csound)
PUBLIC void csoundSetRtrecordCallback(CSOUND *, int(*rtrecord__)(CSOUND *, MYFLT *inBuf, int nbytes))
PUBLIC void csoundSetMessageLevel(CSOUND *, int messageLevel)
PUBLIC int csoundOpenLibrary(void **library, const char *libraryPath)
PUBLIC int csoundSetControlChannelHints(CSOUND *, const char *name, controlChannelHints_t hints)
int devNum
Definition: csound.h:542
PUBLIC const char * csoundGetInputName(CSOUND *)
int nChannels
Definition: csound.h:548
PUBLIC int csoundPeekCircularBuffer(CSOUND *csound, void *circular_buffer, void *out, int items)
struct pvsdat_ext PVSDATEXT
PUBLIC MYFLT csoundGetSr(CSOUND *)
PUBLIC void * csoundCreateThread(uintptr_t(*threadRoutine)(void *), void *userdata)
PUBLIC void csoundSetMIDIOutput(CSOUND *csound, const char *name)
PUBLIC void csoundDestroy(CSOUND *)
PUBLIC int csoundSetOption(CSOUND *csound, const char *option)
PUBLIC void * csoundGetCurrentThreadId(void)
int compute_weights
Definition: csound.h:502
PUBLIC void csoundNotifyThreadLock(void *lock)
PUBLIC void csoundSetMIDIInput(CSOUND *csound, const char *name)
PUBLIC int csoundRegisterSenseEventCallback(CSOUND *, void(*func)(CSOUND *, void *), void *userData)
PUBLIC void csoundSetYieldCallback(CSOUND *, int(*yieldCallback_)(CSOUND *))
PUBLIC int csoundIsScorePending(CSOUND *)
PUBLIC const char * csoundGetFirstMessage(CSOUND *csound)
PUBLIC void csoundSetExitGraphCallback(CSOUND *, int(*exitGraphCallback_)(CSOUND *))
PUBLIC void * csoundCreateBarrier(unsigned int max)
PUBLIC void csoundGetAudioChannel(CSOUND *csound, const char *name, MYFLT *samples)
MYFLT sample_rate_override
Definition: csound.h:505
PUBLIC void csoundSleep(size_t milliseconds)
PUBLIC int csoundScoreExtract(CSOUND *, FILE *inFile, FILE *outFile, FILE *extractFile)
PUBLIC void csoundKeyPress(CSOUND *, char c)
PUBLIC void csoundDestroyMutex(void *mutex_)
int midi_key
Definition: csound.h:492
int midi_key_cps
Definition: csound.h:493
PUBLIC void csoundTableCopyOut(CSOUND *csound, int table, MYFLT *dest)
PUBLIC int csoundCloseLibrary(void *library)
int flags
Definition: csound.h:564
PUBLIC MYFLT csoundGet0dBFS(CSOUND *)
PUBLIC void * csoundCreateMutex(int isRecursive)
struct TREE * next
Definition: csound.h:604
PUBLIC void csoundSetMIDIFileOutput(CSOUND *csound, const char *name)
PUBLIC void ** csoundGetRtPlayUserData(CSOUND *)
MYFLT e0dbfs_override
Definition: csound.h:509
int wintype
Definition: csound.h:580
int sample_accurate
Definition: csound.h:504
PUBLIC int csoundGetChannelDatasize(CSOUND *csound, const char *name)
int32 NB
Definition: csound.h:577
PUBLIC void csoundSetHostData(CSOUND *, void *hostData)
PUBLIC int csoundGetMessageLevel(CSOUND *)
struct ORCTOKEN * next
Definition: csound.h:592
PUBLIC uint32_t csoundRandMT(CsoundRandMTState *p)
PUBLIC int csoundSpinLockInit(spin_lock_t *spinlock)
controlChannelBehavior behav
Definition: csound.h:640
PUBLIC void csoundRewindScore(CSOUND *)
int displays
Definition: csound.h:481
PUBLIC void csoundCondSignal(void *condVar)
PUBLIC void csoundSetScoreOffsetSeconds(CSOUND *, MYFLT time)
PUBLIC uint32_t csoundGetKsmps(CSOUND *)
PUBLIC int csoundLockMutexNoWait(void *mutex_)
int type
Definition: csound.h:596
PUBLIC void ** csoundGetRtRecordUserData(CSOUND *)
PUBLIC int csoundGetAPIVersion(void)
PUBLIC void csoundLockMutex(void *mutex_)
int defer_gen01_load
Definition: csound.h:491
int32 N
Definition: csound.h:575
int width
Definition: csound.h:647
int debug_mode
Definition: csound.h:478
PUBLIC int csoundUDPServerClose(CSOUND *csound)
PUBLIC MYFLT csoundSystemSr(CSOUND *csound, MYFLT val)
PUBLIC void csoundTableCopyInAsync(CSOUND *csound, int table, MYFLT *src)
PUBLIC int csoundListChannels(CSOUND *, controlChannelInfo_t **lst)
PUBLIC void csoundSetOpcodedir(const char *s)
int use_cscore
Definition: csound.h:487
int len
Definition: csound.h:599
PUBLIC int csoundRand31(int *seedVal)
PUBLIC int csoundGetVersion(void)
int x
Definition: csound.h:645
int midi_key_pch
Definition: csound.h:495
int realtime_mode
Definition: csound.h:503
uint32 framecount
Definition: csound.h:582
PUBLIC const char * csoundGetEnv(CSOUND *csound, const char *name)
PUBLIC void csoundSetDefaultMessageCallback(void(*csoundMessageCallback_)(CSOUND *, int attr, const char *format, va_list valist))
double fvalue
Definition: csound.h:590
char * name
Definition: csound.h:654
PUBLIC long csoundGetInputBufferSize(CSOUND *)
PUBLIC int csoundWaitThreadLock(void *lock, size_t milliseconds)
PUBLIC int csoundIsNamedGEN(CSOUND *csound, int num)
struct controlChannelInfo_s controlChannelInfo_t
controlChannelHints_t hints
Definition: csound.h:656
int line
Definition: csound.h:600
PUBLIC void csoundGetStringChannel(CSOUND *csound, const char *name, char *string)
PUBLIC void csoundSetAudioDeviceListCallback(CSOUND *csound, int(*audiodevlist__)(CSOUND *, CS_AUDIODEVICE *list, int isOutput))
int message_level
Definition: csound.h:484
PUBLIC int csoundGetDebug(CSOUND *)
PUBLIC long csoundGetOutputBufferSize(CSOUND *)
PUBLIC void csoundSpinUnLock(spin_lock_t *spinlock)
struct windat_ WINDAT
Definition: csound.h:468
PUBLIC int csoundGetMessageCnt(CSOUND *csound)
PUBLIC void * csoundQueryGlobalVariable(CSOUND *, const char *name)
int type
Definition: csound.h:655
PUBLIC MYFLT csoundGetKr(CSOUND *)
PUBLIC void * csoundGetLibrarySymbol(void *library, const char *symbolName)
PUBLIC uintptr_t csoundJoinThread(void *thread)
controlChannelBehavior
Definition: csound.h:628
PUBLIC MYFLT csoundGetControlChannel(CSOUND *csound, const char *name, int *err)
MYFLT control_rate_override
Definition: csound.h:506
struct CSOUND_ CSOUND
Definition: csound.h:467
PUBLIC int csoundReadScore(CSOUND *csound, const char *str)
PUBLIC int csoundScoreEventAbsolute(CSOUND *, char type, const MYFLT *pfields, long numFields, double time_ofs)
PUBLIC MYFLT * csoundGetOutputBuffer(CSOUND *)
PUBLIC void csoundDestroyCondVar(void *condVar)
MYFLT min
Definition: csound.h:643
PUBLIC void csoundSetExternalMidiInOpenCallback(CSOUND *, int(*func)(CSOUND *, void **userData, const char *devName))
PUBLIC void csoundSetExternalMidiReadCallback(CSOUND *, int(*func)(CSOUND *, void *userData, unsigned char *buf, int nBytes))
ORCTOKEN * value
Definition: csound.h:597
int height
Definition: csound.h:648
PUBLIC void csoundSetRecopenCallback(CSOUND *, int(*recopen_)(CSOUND *, const csRtAudioParams *parm))
char * intypes
Definition: csound.h:563
PUBLIC int csoundGetTableArgs(CSOUND *csound, MYFLT **argsPtr, int tableNum)
PUBLIC int csoundSetGlobalEnv(const char *name, const char *value)
PUBLIC int csoundGetModule(CSOUND *csound, int number, char **name, char **type)
PUBLIC int csoundGetChannelPtr(CSOUND *, MYFLT **p, const char *name, int type)
PUBLIC MYFLT * csoundGetSpout(CSOUND *csound)
PUBLIC void csoundInitTimerStruct(RTCLOCK *)
PUBLIC void csoundReadScoreAsync(CSOUND *csound, const char *str)
PUBLIC void csoundStopUDPConsole(CSOUND *csound)
struct controlChannelHints_s controlChannelHints_t
PUBLIC void csoundSetParams(CSOUND *csound, CSOUND_PARAMS *p)
PUBLIC void csoundSetOutputChannelCallback(CSOUND *csound, channelCallback_t outputChannelCalback)
int_least64_t starttime_real
Definition: csound.h:556
CSOUND_FILETYPES
Definition: csound.h:369
struct TREE * left
Definition: csound.h:602
PUBLIC void csoundSetHostImplementedAudioIO(CSOUND *, int state, int bufSize)
PUBLIC MYFLT * csoundGetSpin(CSOUND *)
PUBLIC MYFLT * csoundGetInputBuffer(CSOUND *)
PUBLIC int csoundUDPConsole(CSOUND *csound, const char *addr, int port, int mirror)
PUBLIC const char * csoundGetOutputName(CSOUND *)
PUBLIC void csoundDestroyCircularBuffer(CSOUND *csound, void *circularbuffer)
PUBLIC void csoundSeedRandMT(CsoundRandMTState *p, const uint32_t *initKey, uint32_t keyLength)
PUBLIC int csoundCreateGlobalVariable(CSOUND *, const char *name, size_t nbytes)
PUBLIC void csoundClearSpin(CSOUND *)
int csd_line_counts
Definition: csound.h:501
int daemon
Definition: csound.h:510
PUBLIC void csoundSetInput(CSOUND *csound, const char *name)
PUBLIC void csoundSetExternalMidiOutCloseCallback(CSOUND *, int(*func)(CSOUND *, void *userData))
PUBLIC void csoundSetInputChannelCallback(CSOUND *csound, channelCallback_t inputChannelCalback)
PUBLIC int csoundNewOpcodeList(CSOUND *, opcodeListEntry **opcodelist)
char * attributes
Definition: csound.h:650
int nchnls_i_override
Definition: csound.h:508
int syntax_check_only
Definition: csound.h:500
PUBLIC int csoundReadCircularBuffer(CSOUND *csound, void *circular_buffer, void *out, int items)
uint64_t locn
Definition: csound.h:601
PUBLIC uint32_t csoundGetRandomSeedFromTime(void)
PUBLIC int csoundDestroyBarrier(void *barrier)
PUBLIC MYFLT csoundGetA4(CSOUND *)
PUBLIC void * csoundCreateCircularBuffer(CSOUND *csound, int numelem, int elemsize)
PUBLIC void csoundUnlockMutex(void *mutex_)
PUBLIC void csoundSetScorePending(CSOUND *, int pending)
int buffer_frames
Definition: csound.h:479
PUBLIC void csoundSetCscoreCallback(CSOUND *, void(*cscoreCallback_)(CSOUND *))
int midi_velocity
Definition: csound.h:496
PUBLIC MYFLT csoundTableGet(CSOUND *, int table, int index)
PUBLIC int csoundWaitBarrier(void *barrier)
void * markup
Definition: csound.h:605
PUBLIC void * csoundGetHostData(CSOUND *)
int tempo
Definition: csound.h:485
int terminate_on_midi
Definition: csound.h:488
PUBLIC void csoundSetAudioChannel(CSOUND *csound, const char *name, MYFLT *samples)
int heartbeat
Definition: csound.h:490
PUBLIC void csoundFlushCircularBuffer(CSOUND *csound, void *p)
PUBLIC void csoundSetDrawGraphCallback(CSOUND *, void(*drawGraphCallback_)(CSOUND *, WINDAT *windat))
float * frame
Definition: csound.h:583
PUBLIC int csoundGetMIDIDevList(CSOUND *csound, CS_MIDIDEVICE *list, int isOutput)
PUBLIC int csoundAppendOpcode(CSOUND *, const char *opname, int dsblksiz, int flags, int thread, const char *outypes, const char *intypes, int(*iopadr)(CSOUND *, void *), int(*kopadr)(CSOUND *, void *), int(*aopadr)(CSOUND *, void *))
int ring_bell
Definition: csound.h:486
int32 winsize
Definition: csound.h:579
PUBLIC double csoundGetCPUTime(RTCLOCK *)
int mti
Definition: csound.h:568