Csound API  6.09
cscore.h File Reference
#include <stdio.h>
#include "sysdep.h"
#include "csound.h"

Data Structures

struct  cshdr
 
struct  EVENT
 
struct  EVLIST
 

Typedefs

typedef struct cshdr CSHDR
 

Functions

PUBLIC EVENTcscoreCreateEvent (CSOUND *, int)
 
PUBLIC EVENTcscoreDefineEvent (CSOUND *, char *)
 
PUBLIC EVENTcscoreCopyEvent (CSOUND *, EVENT *)
 
PUBLIC EVENTcscoreGetEvent (CSOUND *)
 
PUBLIC void cscorePutEvent (CSOUND *, EVENT *)
 
PUBLIC void cscorePutString (CSOUND *, char *)
 
PUBLIC EVLISTcscoreListCreate (CSOUND *, int)
 
PUBLIC EVLISTcscoreListAppendEvent (CSOUND *, EVLIST *, EVENT *)
 
PUBLIC EVLISTcscoreListAppendStringEvent (CSOUND *, EVLIST *, char *)
 
PUBLIC EVLISTcscoreListGetSection (CSOUND *)
 
PUBLIC EVLISTcscoreListGetNext (CSOUND *, MYFLT)
 
PUBLIC EVLISTcscoreListGetUntil (CSOUND *, MYFLT)
 
PUBLIC EVLISTcscoreListCopy (CSOUND *, EVLIST *)
 
PUBLIC EVLISTcscoreListCopyEvents (CSOUND *, EVLIST *)
 
PUBLIC EVLISTcscoreListExtractInstruments (CSOUND *, EVLIST *, char *)
 
PUBLIC EVLISTcscoreListExtractTime (CSOUND *, EVLIST *, MYFLT, MYFLT)
 
PUBLIC EVLISTcscoreListSeparateF (CSOUND *, EVLIST *)
 
PUBLIC EVLISTcscoreListSeparateTWF (CSOUND *, EVLIST *)
 
PUBLIC EVLISTcscoreListAppendList (CSOUND *, EVLIST *, EVLIST *)
 
PUBLIC EVLISTcscoreListConcatenate (CSOUND *, EVLIST *, EVLIST *)
 
PUBLIC void cscoreListPut (CSOUND *, EVLIST *)
 
PUBLIC int cscoreListPlay (CSOUND *, EVLIST *)
 
PUBLIC void cscoreListSort (CSOUND *, EVLIST *)
 
PUBLIC int cscoreListCount (CSOUND *, EVLIST *)
 
PUBLIC void cscoreFreeEvent (CSOUND *, EVENT *)
 
PUBLIC void cscoreListFree (CSOUND *, EVLIST *)
 
PUBLIC void cscoreListFreeEvents (CSOUND *, EVLIST *)
 
PUBLIC FILE * cscoreFileOpen (CSOUND *, char *)
 
PUBLIC void cscoreFileClose (CSOUND *, FILE *)
 
PUBLIC FILE * cscoreFileGetCurrent (CSOUND *)
 
PUBLIC void cscoreFileSetCurrent (CSOUND *, FILE *)
 

Typedef Documentation

◆ CSHDR

typedef struct cshdr CSHDR

Function Documentation

◆ cscoreCopyEvent()

PUBLIC EVENT* cscoreCopyEvent ( CSOUND ,
EVENT  
)

◆ cscoreCreateEvent()

PUBLIC EVENT* cscoreCreateEvent ( CSOUND ,
int   
)

◆ cscoreDefineEvent()

PUBLIC EVENT* cscoreDefineEvent ( CSOUND ,
char *   
)

◆ cscoreFileClose()

PUBLIC void cscoreFileClose ( CSOUND ,
FILE *   
)

◆ cscoreFileGetCurrent()

PUBLIC FILE* cscoreFileGetCurrent ( CSOUND )

◆ cscoreFileOpen()

PUBLIC FILE* cscoreFileOpen ( CSOUND ,
char *   
)

◆ cscoreFileSetCurrent()

PUBLIC void cscoreFileSetCurrent ( CSOUND ,
FILE *   
)

◆ cscoreFreeEvent()

PUBLIC void cscoreFreeEvent ( CSOUND ,
EVENT  
)

◆ cscoreGetEvent()

PUBLIC EVENT* cscoreGetEvent ( CSOUND )

◆ cscoreListAppendEvent()

PUBLIC EVLIST* cscoreListAppendEvent ( CSOUND ,
EVLIST ,
EVENT  
)

◆ cscoreListAppendList()

PUBLIC EVLIST* cscoreListAppendList ( CSOUND ,
EVLIST ,
EVLIST  
)

◆ cscoreListAppendStringEvent()

PUBLIC EVLIST* cscoreListAppendStringEvent ( CSOUND ,
EVLIST ,
char *   
)

◆ cscoreListConcatenate()

PUBLIC EVLIST* cscoreListConcatenate ( CSOUND ,
EVLIST ,
EVLIST  
)

◆ cscoreListCopy()

PUBLIC EVLIST* cscoreListCopy ( CSOUND ,
EVLIST  
)

◆ cscoreListCopyEvents()

PUBLIC EVLIST* cscoreListCopyEvents ( CSOUND ,
EVLIST  
)

◆ cscoreListCount()

PUBLIC int cscoreListCount ( CSOUND ,
EVLIST  
)

◆ cscoreListCreate()

PUBLIC EVLIST* cscoreListCreate ( CSOUND ,
int   
)

◆ cscoreListExtractInstruments()

PUBLIC EVLIST* cscoreListExtractInstruments ( CSOUND ,
EVLIST ,
char *   
)

◆ cscoreListExtractTime()

PUBLIC EVLIST* cscoreListExtractTime ( CSOUND ,
EVLIST ,
MYFLT  ,
MYFLT   
)

◆ cscoreListFree()

PUBLIC void cscoreListFree ( CSOUND ,
EVLIST  
)

◆ cscoreListFreeEvents()

PUBLIC void cscoreListFreeEvents ( CSOUND ,
EVLIST  
)

◆ cscoreListGetNext()

PUBLIC EVLIST* cscoreListGetNext ( CSOUND ,
MYFLT   
)

◆ cscoreListGetSection()

PUBLIC EVLIST* cscoreListGetSection ( CSOUND )

◆ cscoreListGetUntil()

PUBLIC EVLIST* cscoreListGetUntil ( CSOUND ,
MYFLT   
)

◆ cscoreListPlay()

PUBLIC int cscoreListPlay ( CSOUND ,
EVLIST  
)

◆ cscoreListPut()

PUBLIC void cscoreListPut ( CSOUND ,
EVLIST  
)

◆ cscoreListSeparateF()

PUBLIC EVLIST* cscoreListSeparateF ( CSOUND ,
EVLIST  
)

◆ cscoreListSeparateTWF()

PUBLIC EVLIST* cscoreListSeparateTWF ( CSOUND ,
EVLIST  
)

◆ cscoreListSort()

PUBLIC void cscoreListSort ( CSOUND ,
EVLIST  
)

◆ cscorePutEvent()

PUBLIC void cscorePutEvent ( CSOUND ,
EVENT  
)

◆ cscorePutString()

PUBLIC void cscorePutString ( CSOUND ,
char *   
)
insds::ksmps
unsigned int ksmps
Definition: csoundCore.h:552
ORCTOKEN::type
int type
Definition: csound.h:587
NAMES
struct names NAMES
CSFTYPE_PVF
@ CSFTYPE_PVF
Definition: csound.h:403
insds::scratchpad
MYFLT scratchpad[4]
Definition: csoundCore.h:556
CSOUND_::csoundExitGraphCallback_
int(* csoundExitGraphCallback_)(CSOUND *)
Definition: csoundCore.h:1444
CSOUND_::OpenLibrary
int(* OpenLibrary)(void **library, const char *libraryPath)
Definition: csoundCore.h:1356
OPARMS::sampleAccurate
int sampleAccurate
Definition: csoundCore.h:258
CSOUND_::PVOC_CreateFile
int(* PVOC_CreateFile)(CSOUND *, const char *, uint32, uint32, uint32, uint32, int32, int, int, float, float *, uint32)
Definition: csoundCore.h:1153
INSTRTXT
struct instr INSTRTXT
This struct is filled out by otran() at orch parse time.
CSOUND_::TableSet
void(* TableSet)(CSOUND *, int table, int index, MYFLT value)
Definition: csoundCore.h:1113
CSOUND_::CheckEvents
int(* CheckEvents)(CSOUND *)
Definition: csoundCore.h:1336
CSOUND_::inInstr
int inInstr
Definition: csoundCore.h:1764
CSOUND_::nchanif
int nchanif
Definition: csoundCore.h:1748
midiglobals::muteTrackList
char muteTrackList[256]
Definition: csoundCore.h:820
CSOUND_::nchanof
int nchanof
Definition: csoundCore.h:1748
CSFTYPE_HETROT
@ CSFTYPE_HETROT
Definition: csound.h:418
csdebug_data_s::debug_opcode_ptr
void * debug_opcode_ptr
Definition: csdebug.h:168
mchnblk::mono
int16 mono
Definition: csoundCore.h:446
CSOUND_::module_list_add
void(* module_list_add)(CSOUND *, char *, char *)
Definition: csoundCore.h:1289
in_stack_s::line
int line
Definition: csoundCore.h:908
CSOUND_::logbase2
MYFLT * logbase2
Definition: csoundCore.h:1691
csoundDebugGetInstrInstances
PUBLIC debug_instr_t * csoundDebugGetInstrInstances(CSOUND *csound)
Get a list of active instrument instances Returns a linked list of allocated instrument instances cso...
CSOUND_::InputMessage
void(* InputMessage)(CSOUND *, const char *message__)
Definition: csoundCore.h:1375
CSOUND_::sndmemfiles
CS_HASH_TABLE * sndmemfiles
Definition: csoundCore.h:1696
csoundCreateCondVar
PUBLIC void * csoundCreateCondVar()
Creates a conditional variable.
CS_MIDIDEVICE::isOutput
int isOutput
Definition: csound.h:531
csoundDestroyMessageBuffer
void PUBLIC csoundDestroyMessageBuffer(CSOUND *csound)
Releases all memory used by the message buffer.
CSOUND_::spout
MYFLT * spout
Definition: csoundCore.h:1522
CSOUND_::lineventStatics__::orchestra
char * orchestra
Definition: csoundCore.h:1646
CSOUND_::remoteGlobals
void * remoteGlobals
Definition: csoundCore.h:1746
TEMPO::prvtempo
MYFLT prvtempo
Definition: csoundCore.h:835
csoundCleanup
PUBLIC int csoundCleanup(CSOUND *)
Prints information about the end of a performance, and closes audio and MIDI devices.
CSOUND_::FFT_max_size
int FFT_max_size
Definition: csoundCore.h:1574
CSOUND_::onefileStatics__::toremove
NAMELST * toremove
Definition: csoundCore.h:1632
CSOUND_::WaitBarrier
int(* WaitBarrier)(void *)
Definition: csoundCore.h:1205
ORCTOKEN
Definition: csound.h:586
AUXASYNC::auxchp
AUXCH * auxchp
Definition: csoundCore.h:392
CSOUND_::nchnls
uint32_t nchnls
Definition: csoundCore.h:1475
csoundGetNamedGens
PUBLIC void * csoundGetNamedGens(CSOUND *)
Finds the list of named gens.
threadInfo::next
struct threadInfo * next
Definition: csoundCore.h:849
csoundGetSpout
PUBLIC MYFLT * csoundGetSpout(CSOUND *csound)
Returns the address of the Csound audio output working buffer (spout).
CSOUND_::opcodeInfo
OPCODINFO * opcodeInfo
Definition: csoundCore.h:1558
CSOUND_::WriteCircularBuffer
int(* WriteCircularBuffer)(CSOUND *, void *, const void *, int)
Definition: csoundCore.h:1217
text::inArgs
ARG * inArgs
Definition: csoundCore.h:307
STRINGDAT::data
char * data
Definition: csoundCore.h:414
SNDMEMFILE_::nChannels
int nChannels
number of channels
Definition: csoundCore.h:728
names::mac
char * mac
Definition: csoundCore.h:844
CSOUND_::message_string_queue
message_string_queue_t * message_string_queue
Definition: csoundCore.h:1820
debug_variable_s::data
void * data
Definition: csdebug.h:86
csoundSetMIDIInput
PUBLIC void csoundSetMIDIInput(CSOUND *csound, const char *name)
Set MIDI input device name/number.
CSOUND_::scstr
CORFIL * scstr
Definition: csoundCore.h:1502
csoundGetEnv
PUBLIC const char * csoundGetEnv(CSOUND *csound, const char *name)
Get pointer to the value of environment variable 'name', searching in this order: local environment o...
csound.h
Declares the public Csound application programming interface (API).
cscoreListCreate
PUBLIC EVLIST * cscoreListCreate(CSOUND *, int)
CSOUND_::spinlock1
spin_lock_t spinlock1
Definition: csoundCore.h:1592
mchnblk::pgmno
int16 pgmno
most recently received program change
Definition: csoundCore.h:442
_FFT_SETUP::lib
int lib
Definition: csoundCore.h:964
instr::psetdata
MYFLT * psetdata
Definition: csoundCore.h:333
CSOUND_::stdout_assign_flg
char stdout_assign_flg
Definition: csoundCore.h:1716
opds::nxtp
struct opds * nxtp
Next opcode in perf-time chain.
Definition: csoundCore.h:603
CSOUND_::FTAlloc
int(* FTAlloc)(CSOUND *, int tableNum, int len)
Definition: csoundCore.h:1101
csoundRemoveInstrumentBreakpoint
PUBLIC void csoundRemoveInstrumentBreakpoint(CSOUND *csound, MYFLT instr)
Remove instrument breakpoint.
CORFIL::body
char * body
Definition: csoundCore.h:226
debug_instr_s::line
int line
Definition: csdebug.h:71
csoundSetGlobalEnv
PUBLIC int csoundSetGlobalEnv(const char *name, const char *value)
Set the global value of environment variable 'name' to 'value', or delete variable if 'value' is NULL...
engine_state::stringPool
CS_HASH_TABLE * stringPool
Definition: csoundCore.h:948
MEMFIL::length
int32 length
Definition: csoundCore.h:706
GEN
int(* GEN)(FGDATA *, FUNC *)
Definition: csoundCore.h:700
CSOUND_::musmonStatics__
Definition: csoundCore.h:1649
csoundSpinLock
PUBLIC void csoundSpinLock(spin_lock_t *spinlock)
Locks the spinlock.
controlChannelHints_s::attributes
char * attributes
This member must be set explicitly to NULL if not used.
Definition: csound.h:650
fdch::nxtchp
struct fdch * nxtchp
Definition: csoundCore.h:368
CSOUND_::reset_list
void * reset_list
Definition: csoundCore.h:1697
cscoreCreateEvent
PUBLIC EVENT * cscoreCreateEvent(CSOUND *, int)
CSOUND_::namedgen
void * namedgen
Definition: csoundCore.h:1693
CSOUND_::sread__::unused_int6
int unused_int6
Definition: csoundCore.h:1622
FUNC::lomask
int32 lomask
2^lobits - 1
Definition: csoundCore.h:659
cscoreListAppendEvent
PUBLIC EVLIST * cscoreListAppendEvent(CSOUND *, EVLIST *, EVENT *)
cscorePutString
PUBLIC void cscorePutString(CSOUND *, char *)
CSOUND_STATUS
CSOUND_STATUS
Enables Python interface.
Definition: csound.h:328
csoundDestroyGlobalVariable
PUBLIC int csoundDestroyGlobalVariable(CSOUND *, const char *name)
Free memory allocated for "name" and remove "name" from the database.
pvx_memfile_::winsize
int winsize
Definition: csoundCore.h:764
CSOUND_::scnt
int scnt
Definition: csoundCore.h:1781
insds::p0
CS_VAR_MEM p0
Definition: csoundCore.h:577
csound.hpp
CSOUND_::onefileStatics__::orcname
char * orcname
Definition: csoundCore.h:1633
CSOUND_::dither_output
int dither_output
Definition: csoundCore.h:1530
PMAX
#define PMAX
Definition: csoundCore.h:106
debug_bkpt_info_t
Definition: csdebug.h:90
lblblk
Definition: csoundCore.h:614
SNDMEMFILE_::nFrames
size_t nFrames
file length in sample frames
Definition: csoundCore.h:724
csoundKeyPress
PUBLIC void csoundKeyPress(CSOUND *, char c)
Set the ASCII code of the most recent key pressed.
CsoundScoreEvent
Specialization of CsoundEvent for low-level score events with raw pfields.
Definition: csound_threaded.hpp:121
CSOUND_::enableHostImplementedMIDIIO
int enableHostImplementedMIDIIO
Definition: csoundCore.h:1704
CSFTYPE_HTK
@ CSFTYPE_HTK
Definition: csound.h:398
CSOUND_::chanif
char * chanif
Definition: csoundCore.h:1749
CSOUND_::file_io_threadlock
void * file_io_threadlock
Definition: csoundCore.h:1585
NAME__::count
int count
Definition: csoundCore.h:926
csoundGet0dBFS
PUBLIC MYFLT csoundGet0dBFS(CSOUND *)
Returns the 0dBFS level of the spin/spout buffers.
CSOUND_::SF_id_software
char * SF_id_software
Definition: csoundCore.h:1725
CSOUND_::sstrlen
int sstrlen
Definition: csoundCore.h:1678
CSOUND_::lineventStatics__::stdmode
int stdmode
Definition: csoundCore.h:1642
CSOUND_::onedksmps
MYFLT onedksmps
Definition: csoundCore.h:1533
instr
This struct is filled out by otran() at orch parse time.
Definition: csoundCore.h:320
insds::opcod_deact
void * opcod_deact
Definition: csoundCore.h:560
SPECDAT
Definition: csoundCore.h:632
csoundDestroyBarrier
PUBLIC int csoundDestroyBarrier(void *barrier)
Destroy a Thread Barrier.
csoundTableSet
PUBLIC void csoundTableSet(CSOUND *, int table, int index, MYFLT value)
Sets the value of a slot in a function table.
CSOUND_::engineStatus
char engineStatus
Definition: csoundCore.h:1713
namelst::next
struct namelst * next
Definition: csoundCore.h:920
CSOUND_::peakchunks
int peakchunks
Definition: csoundCore.h:1494
CsoundThreaded::CsoundThreaded
CsoundThreaded(CSOUND *csound_)
Definition: csound_threaded.hpp:180
CsoundEvent::operator()
virtual int operator()(CSOUND *csound_)=0
Dispatches the event to Csound during performance.
insds::auxchp
AUXCH * auxchp
Definition: csoundCore.h:522
TABDAT::data
MYFLT * data
Definition: csoundCore.h:409
CSOUND_::sfsampsize
int(* sfsampsize)(int format)
Definition: csoundCore.h:1251
text::linenum
uint16_t linenum
Definition: csoundCore.h:301
CSOUND_::curip
INSDS * curip
Definition: csoundCore.h:1491
csoundInputMessageAsync
PUBLIC void csoundInputMessageAsync(CSOUND *, const char *message)
Asynchronous version of csoundInputMessage().
CSOUND_::sread__::lincnt
int lincnt
Definition: csoundCore.h:1601
engine_state::maxinsno
int maxinsno
Definition: csoundCore.h:953
CSFTYPE_SCORE
@ CSFTYPE_SCORE
Definition: csound.h:372
MEVENT::dat1
int16 dat1
Definition: csoundCore.h:713
controlChannelInfo_s::hints
controlChannelHints_t hints
Definition: csound.h:656
instr::nxtinstxt
struct instr * nxtinstxt
Definition: csoundCore.h:339
text::outArgCount
unsigned int outArgCount
Definition: csoundCore.h:310
NAME__::namep
char * namep
Definition: csoundCore.h:924
opcodinfo::outchns
int16 outchns
Definition: csoundCore.h:935
csoundPopFirstMessage
PUBLIC void csoundPopFirstMessage(CSOUND *csound)
Removes the first message from the buffer.
csdebug_data_s::cb_data
void * cb_data
Definition: csdebug.h:165
csoundSetMessageCallback
PUBLIC void csoundSetMessageCallback(CSOUND *, void(*csoundMessageCallback_)(CSOUND *, int attr, const char *format, va_list valist))
Sets a function to be called by Csound to print an informational message.
CSOUND_PARAMS::csd_line_counts
int csd_line_counts
Definition: csound.h:501
pvx_memfile_::format
int format
Definition: csoundCore.h:761
CSOUND_::csmodule_db
void * csmodule_db
Definition: csoundCore.h:1719
eventnode::nxt
struct eventnode * nxt
Definition: csoundCore.h:827
_alloc_data_::chn
MCHNBLK * chn
Definition: csoundCore.h:985
CSOUND_::musmonStatics
struct CSOUND_::musmonStatics__ musmonStatics
CSOUND_::pvFileTable
void * pvFileTable
Definition: csoundCore.h:1698
CSOUND_::sread__::bp
SRTBLK * bp
Definition: csoundCore.h:1596
CSOUND_::SF_id_artist
char * SF_id_artist
Definition: csoundCore.h:1726
CSOUND_::Get0dBFS
MYFLT(* Get0dBFS)(CSOUND *)
Definition: csoundCore.h:1022
cscoreListExtractTime
PUBLIC EVLIST * cscoreListExtractTime(CSOUND *, EVLIST *, MYFLT, MYFLT)
OPARMS::daemon
int daemon
Definition: csoundCore.h:261
csound_opcode_init
PUBLIC int64_t csound_opcode_init(CSOUND *, OENTRY **)
CSOUND_::libsndStatics
struct CSOUND_::libsndStatics__ libsndStatics
CSOUND_::unused_int1
int unused_int1
Definition: csoundCore.h:1800
fdch
Definition: csoundCore.h:367
CSFTYPE_CAF
@ CSFTYPE_CAF
Definition: csound.h:392
insds::offbet
double offbet
Definition: csoundCore.h:544
csoundQueryGlobalVariable
PUBLIC void * csoundQueryGlobalVariable(CSOUND *, const char *name)
Get pointer to space allocated with the name "name".
controlChannelInfo_t
struct controlChannelInfo_s controlChannelInfo_t
EVLIST::h
CSHDR h
Definition: cscore.h:81
csoundGetOutputFormat
PUBLIC void csoundGetOutputFormat(CSOUND *csound, char *type, char *format)
Get output type and format.
CSOUND_::spoutran
void(* spoutran)(CSOUND *)
Definition: csoundCore.h:1461
CSOUND_::hostRequestedBufferSize
int hostRequestedBufferSize
Definition: csoundCore.h:1705
oentry::opname
char * opname
Definition: csoundCore.h:285
CSOUND_::inChar_
int inChar_
Definition: csoundCore.h:1683
opcodeListEntry
Definition: csound.h:560
csoundModuleErrorCodeToString
PUBLIC const char * csoundModuleErrorCodeToString(int)
CSOUND_::dummyfn_2
SUBR dummyfn_2[29]
Definition: csoundCore.h:1402
CSOUND_::csoundIsScorePending_
int csoundIsScorePending_
Definition: csoundCore.h:1552
CSOUND_PARAMS
csound configuration structure, mirrors part of OPARMS, uses more meaningful names
Definition: csound.h:477
CSOUND_::DestroyThreadLock
void(* DestroyThreadLock)(void *lock)
Definition: csoundCore.h:1194
csdebug_data_s::bkpt_cb
breakpoint_cb_t bkpt_cb
Definition: csdebug.h:164
ORCTOKEN
struct ORCTOKEN ORCTOKEN
CSOUND_::csoundConfigureCallback_
int(* csoundConfigureCallback_)(CSOUND *)
Definition: csoundCore.h:1439
CSOUND_::currevent
EVTBLK * currevent
Definition: csoundCore.h:1490
CSOUND_PARAMS::defer_gen01_load
int defer_gen01_load
Definition: csound.h:491
oentry::iopadr
int(* iopadr)(CSOUND *, void *p)
Definition: csoundCore.h:291
text::opcod
char * opcod
Definition: csoundCore.h:304
NGFENS::name
char * name
Definition: csoundCore.h:696
instr::isNew
int isNew
Definition: csoundCore.h:347
CSOUND_::dead_instr_pool
INSTRTXT ** dead_instr_pool
Definition: csoundCore.h:1471
CSOUND_::sread__::str
IN_STACK * str
Definition: csoundCore.h:1609
NAME__
Definition: csoundCore.h:923
csoundCore.h
CSOUND_::dag_task_dep
char ** dag_task_dep
Definition: csoundCore.h:1771
csoundDestroyThreadLock
PUBLIC void csoundDestroyThreadLock(void *lock)
Destroys the indicated monitor object.
CSOUND_::PVOCEX_LoadFile
int(* PVOCEX_LoadFile)(CSOUND *, const char *, PVOCEX_MEMFILE *)
Definition: csoundCore.h:1164
CSOUND_::instr0
INSTRTXT * instr0
Definition: csoundCore.h:1470
CS_AUDIODEVICE::max_nchnls
int max_nchnls
Definition: csound.h:522
MYNAN
int32 MYNAN
FUNC::end1
int32 end1
Definition: csoundCore.h:669
CSOUND_::reinitflag
int reinitflag
Definition: csoundCore.h:1536
insds::m_veloc
unsigned char m_veloc
Definition: csoundCore.h:538
midiglobals::rawControllerMode
int rawControllerMode
Definition: csoundCore.h:819
CSOUND_::GetScoreOffsetSeconds
MYFLT(* GetScoreOffsetSeconds)(CSOUND *)
Definition: csoundCore.h:1372
CSOUND_::icurTime
int64_t icurTime
current time in seconds, inc.
Definition: csoundCore.h:1482
CSOUND_::use_only_orchfile
int use_only_orchfile
Definition: csoundCore.h:1718
midiglobals::bufp
unsigned char * bufp
Definition: csoundCore.h:822
_FFT_SETUP::N
int N
Definition: csoundCore.h:961
cscoreListAppendStringEvent
PUBLIC EVLIST * cscoreListAppendStringEvent(CSOUND *, EVLIST *, char *)
CSOUND_::SetConfigurationVariable
int(* SetConfigurationVariable)(CSOUND *, const char *name, void *value)
Definition: csoundCore.h:1128
csoundSetMessageStringCallback
PUBLIC void csoundSetMessageStringCallback(CSOUND *csound, void(*csoundMessageStrCallback)(CSOUND *csound, int attr, const char *str))
Sets an alternative function to be called by Csound to print an informational message,...
csoundGetSizeOfMYFLT
PUBLIC int csoundGetSizeOfMYFLT(void)
Return the size of MYFLT in bytes.
csdebug_data_s::status
debug_status_t status
Definition: csdebug.h:161
csoundUDPServerClose
PUBLIC int csoundUDPServerClose(CSOUND *csound)
Closes the UDP server, returning CSOUND_SUCCESS if the running server was successfully closed,...
CSOUND_::sread__::input_cnt
int input_cnt
Definition: csoundCore.h:1610
CSOUND_::csdname
char * csdname
Definition: csoundCore.h:1776
CSOUND_::curBeat
double curBeat
current time in beats, inc per kprd
Definition: csoundCore.h:1487
insds::nxti
struct opds * nxti
Definition: csoundCore.h:506
csoundInitializeCscore
PUBLIC int csoundInitializeCscore(CSOUND *, FILE *insco, FILE *outsco)
Prepares an instance of Csound for Cscore processing outside of running an orchestra (i....
CSOUND_::message_string_queue_items
volatile unsigned long message_string_queue_items
Definition: csoundCore.h:1818
oentry
Definition: csoundCore.h:284
csMidiScoMask
const uint32_t csMidiScoMask
CSOUND_
Contains all function pointers, data, and data pointers required to run one instance of Csound.
Definition: csoundCore.h:1011
CSOUND_::musmonStatics__::srngflg
int16 srngflg
Definition: csoundCore.h:1651
CSOUND_PARAMS::midi_velocity
int midi_velocity
Definition: csound.h:496
midiglobals::MidiOutCloseCallback
int(* MidiOutCloseCallback)(CSOUND *, void *)
Definition: csoundCore.h:813
CSOUND_::mpidsr
MYFLT mpidsr
Definition: csoundCore.h:1532
kperf_nodebug
int kperf_nodebug(CSOUND *csound)
MEVENT::type
int16 type
Definition: csoundCore.h:711
cscoreListGetSection
PUBLIC EVLIST * cscoreListGetSection(CSOUND *)
pvx_memfile_::overlap
int overlap
Definition: csoundCore.h:763
CSOUND_PARAMS::midi_velocity_amp
int midi_velocity_amp
Definition: csound.h:497
CSOUND_::evt
EVTBLK evt
Definition: csoundCore.h:1568
csoundGetChannelDatasize
PUBLIC int csoundGetChannelDatasize(CSOUND *csound, const char *name)
returns the size of data stored in a channel; for string channels this might change if the channel sp...
csoundListChannels
PUBLIC int csoundListChannels(CSOUND *, controlChannelInfo_t **lst)
Returns a list of allocated channels in *lst.
CSOUND_::GetStrsmax
int(* GetStrsmax)(CSOUND *)
Current maximum number of strings, accessible through the strset and strget opcodes.
Definition: csoundCore.h:1067
csoundSeedRandMT
PUBLIC void csoundSeedRandMT(CsoundRandMTState *p, const uint32_t *initKey, uint32_t keyLength)
Initialise Mersenne Twister (MT19937) random number generator, using 'keyLength' unsigned 32 bit valu...
TABDAT::size
int size
Definition: csoundCore.h:408
FGDATA::e
EVTBLK e
Definition: csoundCore.h:692
opcodinfo::in_arg_pool
CS_VAR_POOL * in_arg_pool
Definition: csoundCore.h:937
csoundSpinTryLock
PUBLIC int csoundSpinTryLock(spin_lock_t *spinlock)
Tries the lock, returns CSOUND_SUCCESS if lock could be acquired, CSOUND_ERROR, otherwise.
csoundSetControlChannelHints
PUBLIC int csoundSetControlChannelHints(CSOUND *, const char *name, controlChannelHints_t hints)
Set parameters hints for a control channel.
CSOUND_::scorename
char * scorename
Definition: csoundCore.h:1465
CSOUND_::msg_queue_wget
volatile long msg_queue_wget
Definition: csoundCore.h:1803
OPARMS::outfilename
char * outfilename
Definition: csoundCore.h:246
debug_bkpt_info_t::instrVarList
debug_variable_t * instrVarList
Definition: csdebug.h:92
csoundGetInputName
PUBLIC const char * csoundGetInputName(CSOUND *)
Returns the audio input name (-i).
csoundCondWait
PUBLIC void csoundCondWait(void *condVar, void *mutex)
Waits up on a conditional variable and mutex.
csoundSetParams
PUBLIC void csoundSetParams(CSOUND *csound, CSOUND_PARAMS *p)
Configure Csound with a given set of parameters defined in the CSOUND_PARAMS structure.
instr::lst_instance
struct insds * lst_instance
Definition: csoundCore.h:336
INSDS
struct insds INSDS
This struct holds the info for a concrete instrument event instance in performance.
MACRON::path
char * path
Definition: csoundCore.h:890
CSOUND_::disable_csd_options
int disable_csd_options
Definition: csoundCore.h:1736
opcodeListEntry::intypes
char * intypes
Definition: csound.h:563
controlChannelInfo_s::name
char * name
Definition: csound.h:654
CSOUND_::holdrand
int holdrand
Definition: csoundCore.h:1514
CSFTYPE_INTEGER_BINARY
@ CSFTYPE_INTEGER_BINARY
Definition: csound.h:443
CSOUND_::cpu_power_busy
MYFLT cpu_power_busy
Definition: csoundCore.h:1492
csoundSleep
PUBLIC void csoundSleep(size_t milliseconds)
Waits for at least the specified number of milliseconds, yielding the CPU to other threads.
instr::instcnt
int instcnt
Definition: csoundCore.h:346
controlChannelHints_s
This structure holds the parameter hints for control channels.
Definition: csound.h:639
CSOUND_::tieflag
int tieflag
Definition: csoundCore.h:1537
csoundSetRTAudioModule
PUBLIC void csoundSetRTAudioModule(CSOUND *csound, const char *module)
Sets the current RT audio module.
CSOUND_::event_insert_thread
void * event_insert_thread
Definition: csoundCore.h:1587
CSOUND_::libsndStatics__::pout
FILE * pout
Definition: csoundCore.h:1673
insds::ksmps_no_end
uint32_t ksmps_no_end
Definition: csoundCore.h:566
CSOUND_PERFORMANCE
@ CSOUND_PERFORMANCE
Definition: csound.h:336
csoundStopUDPConsole
PUBLIC void csoundStopUDPConsole(CSOUND *csound)
Stop transmitting console messages via UDP.
CSOUND_::multiThreadedThreadInfo
THREADINFO * multiThreadedThreadInfo
Definition: csoundCore.h:1752
csoundSetBreakpointCallback
PUBLIC void csoundSetBreakpointCallback(CSOUND *csound, breakpoint_cb_t bkpt_cb, void *userdata)
Sets the breakpoint callback function.
insds::nxtinstance
struct insds * nxtinstance
Definition: csoundCore.h:510
CSOUND_::SetRtcloseCallback
void(* SetRtcloseCallback)(CSOUND *, void(*rtclose__)(CSOUND *))
Definition: csoundCore.h:1264
pvx_memfile_::nframes
uint32 nframes
Definition: csoundCore.h:760
csoundSetScorePending
PUBLIC void csoundSetScorePending(CSOUND *, int pending)
Sets whether Csound score events are performed or not (real-time events will continue to be performed...
namedInstr::next
struct namedInstr * next
Definition: csoundCore.h:355
CSOUND_::SetRtplayCallback
void(* SetRtplayCallback)(CSOUND *, void(*rtplay__)(CSOUND *, const MYFLT *outBuf, int nbytes))
Definition: csoundCore.h:1258
csoundSetHostImplementedAudioIO
PUBLIC void csoundSetHostImplementedAudioIO(CSOUND *, int state, int bufSize)
Calling this function with a non-zero 'state' value between csoundCreate() and the start of performan...
CSOUND_::InitError
CS_PRINTF2 int(* InitError)(CSOUND *, const char *msg,...)
Definition: csoundCore.h:1170
CSFTYPE_PVC
@ CSFTYPE_PVC
Definition: csound.h:419
CSOUND_PARAMS::terminate_on_midi
int terminate_on_midi
Definition: csound.h:488
midiglobals::MIDIINbuffer2
MIDIMESSAGE MIDIINbuffer2[MIDIINBUFMAX]
Definition: csoundCore.h:807
CSOUND_::Sleep
void(* Sleep)(size_t milliseconds)
Definition: csoundCore.h:1207
SNDMEMFILE_::sampleFormat
int sampleFormat
AE_SHORT, AE_FLOAT, etc.
Definition: csoundCore.h:730
CSOUND_PARAMS::midi_key
int midi_key
Definition: csound.h:492
csoundSetMIDIOutput
PUBLIC void csoundSetMIDIOutput(CSOUND *csound, const char *name)
Set MIDI output device name/number.
CSOUND_::spinlock
spin_lock_t spinlock
Definition: csoundCore.h:1591
debug_opcode_s::next
struct debug_opcode_s * next
Definition: csdebug.h:79
csoundGetFirstMessageAttr
PUBLIC int csoundGetFirstMessageAttr(CSOUND *csound)
Returns the attribute parameter (see msg_attr.h) of the first message in the buffer.
CSOUND_::sread__::curmem
char * curmem
Definition: csoundCore.h:1605
CSOUND_::kperf
int(* kperf)(CSOUND *)
Definition: csoundCore.h:1796
SNDMEMFILE
struct SNDMEMFILE_ SNDMEMFILE
csoundSetRtcloseCallback
PUBLIC void csoundSetRtcloseCallback(CSOUND *, void(*rtclose__)(CSOUND *))
Sets a function to be called by Csound for closing real-time audio playback and recording.
csRtAudioParams::devName
char * devName
device name (NULL/empty: default)
Definition: csound.h:540
CSOUND_::OutputChannelCallback_
channelCallback_t OutputChannelCallback_
Definition: csoundCore.h:1436
CSOUND_::audio_dev_list_callback
int(* audio_dev_list_callback)(CSOUND *, CS_AUDIODEVICE *, int)
Definition: csoundCore.h:1455
csoundCreate
PUBLIC CSOUND * csoundCreate(void *hostData)
Creates an instance of Csound.
csoundUDPServerStatus
PUBLIC int csoundUDPServerStatus(CSOUND *csound)
returns the port number on which the server is running, or CSOUND_ERROR if the server is not running.
CSOUND_PARAMS::debug_mode
int debug_mode
Definition: csound.h:478
CSOUND_::pvx_memfiles
PVOCEX_MEMFILE * pvx_memfiles
Definition: csoundCore.h:1573
FUNC::loopmode2
int16 loopmode2
release loop mode (0: none, 1: forward, 2: forward and backward)
Definition: csoundCore.h:667
CSOUND_::sread__::unused_int2
int unused_int2
Definition: csoundCore.h:1612
CSOUND_::nrecs
int32 nrecs
Definition: csoundCore.h:1497
mchnblk::polyaft
MYFLT polyaft[128]
polyphonic pressure indexed by note number
Definition: csoundCore.h:452
CSOUND_::Set_KeyCallback
int(* Set_KeyCallback)(CSOUND *, int(*func)(void *, void *, unsigned int), void *userData, unsigned int typeMask)
Definition: csoundCore.h:1310
csoundNotifyThreadLock
PUBLIC void csoundNotifyThreadLock(void *lock)
Notifies the indicated monitor object.
CSOUND_::FFT_table_1
void * FFT_table_1
Definition: csoundCore.h:1575
_alloc_data_::mep
MEVENT mep
Definition: csoundCore.h:986
CSOUND_::libsndStatics__::osfopen
int osfopen
Definition: csoundCore.h:1670
CSFTYPE_OTHER_BINARY
@ CSFTYPE_OTHER_BINARY
Definition: csound.h:452
csoundSetKillGraphCallback
PUBLIC void csoundSetKillGraphCallback(CSOUND *, void(*killGraphCallback_)(CSOUND *, WINDAT *windat))
Called by external software to set Csound's KillGraph function.
FUNC::soundend
int32 soundend
sound file length in sample frames (flenfrms = soundend - 1)
Definition: csoundCore.h:673
in_stack_s::args
int16 args
Definition: csoundCore.h:904
arg::type
int type
Definition: csoundCore.h:274
CSOUND_::sread__::warp_factor
MYFLT warp_factor
Definition: csoundCore.h:1604
OPARMS::midiKeyPch
int midiKeyPch
Definition: csoundCore.h:251
SNDMEMFILE_::loopStart
double loopStart
loop start (sample frames)
Definition: csoundCore.h:745
CSOUND_::curbt
double curbt
Definition: csoundCore.h:1565
GEN01ARGS::channel
MYFLT channel
Definition: csoundCore.h:646
csoundMessageS
PUBLIC CS_PRINTF3 void csoundMessageS(CSOUND *, int attr, const char *format,...)
Print message with special attributes (see msg_attr.h for the list of available attributes).
CSOUND_::musmonStatics__::sectno
int16 sectno
Definition: csoundCore.h:1652
csoundDebugFreeVariables
PUBLIC void csoundDebugFreeVariables(CSOUND *csound, debug_variable_t *varHead)
Free variable list generated by csoundDebugGetVariables()
CSOUND_PARAMS::use_cscore
int use_cscore
Definition: csound.h:487
insds::csound
CSOUND * csound
Definition: csoundCore.h:550
CSOUND_::LockMutex
void(* LockMutex)(void *mutex_)
Definition: csoundCore.h:1200
CSOUND_::cfgVariableDB
CS_HASH_TABLE * cfgVariableDB
Definition: csoundCore.h:1564
CSOUND_::ErrMsgV
void(* ErrMsgV)(CSOUND *, const char *hdr, const char *fmt, va_list)
Definition: csoundCore.h:1176
CS_MIDIDEVICE
Definition: csound.h:526
csRtAudioParams::bufSamp_HW
int bufSamp_HW
total buffer size (-B) in sample frames
Definition: csound.h:546
mchnblk::pgm2ins
int16 pgm2ins[128]
program change to instr number (<=0: ignore)
Definition: csoundCore.h:456
op::t
TEXT t
Definition: csoundCore.h:364
CSOUND_PARAMS::message_level
int message_level
Definition: csound.h:484
MEMFIL::filename
char filename[256]
Definition: csoundCore.h:703
CSOUND_::SetYieldCallback
void(* SetYieldCallback)(CSOUND *, int(*yieldCallback)(CSOUND *))
Definition: csoundCore.h:1309
CsoundThreaded::IsPlaying
virtual bool IsPlaying() const
Returns whether or not the performance thread routine is running.
Definition: csound_threaded.hpp:331
csoundSetOutputChannelCallback
PUBLIC void csoundSetOutputChannelCallback(CSOUND *csound, channelCallback_t outputChannelCalback)
Sets the function which will be called whenever the outvalue opcode is used.
namedInstr::instno
int32 instno
Definition: csoundCore.h:352
oentry::flags
uint16 flags
Definition: csoundCore.h:287
SNDMEMFILE_::nxt
struct SNDMEMFILE_ * nxt
Definition: csoundCore.h:720
CsoundThreaded::CsoundThreaded
CsoundThreaded()
Definition: csound_threaded.hpp:179
CsoundRandMTState_::mt
uint32_t mt[624]
Definition: csound.h:569
csoundCompileTreeAsync
PUBLIC int csoundCompileTreeAsync(CSOUND *csound, TREE *root)
Asynchronous version of csoundCompileTree()
CSOUND_::isGraphable_
int isGraphable_
Definition: csoundCore.h:1684
auxch
Definition: csoundCore.h:373
CSOUND_::GetReleaseFlag
int(* GetReleaseFlag)(void *p)
Definition: csoundCore.h:1058
SUBR
int(* SUBR)(CSOUND *, void *)
Definition: csoundCore.h:593
CSOUND_::actanchor
INSDS actanchor
Definition: csoundCore.h:1546
CSOUND_::SetExitGraphCallback
void(* SetExitGraphCallback)(CSOUND *, int(*exitGraphCallback)(CSOUND *))
Definition: csoundCore.h:1305
pvsdat_ext::overlap
int32 overlap
Definition: csound.h:578
_alloc_data_::ip
INSDS * ip
Definition: csoundCore.h:987
CSOUND_::lineventStatics__::Linebuf
char * Linebuf
Definition: csoundCore.h:1644
OPARMS::oMaxLag
int oMaxLag
Definition: csoundCore.h:238
oentry::kopadr
int(* kopadr)(CSOUND *, void *p)
Definition: csoundCore.h:292
insds::no_end
uint32_t no_end
Definition: csoundCore.h:564
instr::varPool
CS_VAR_POOL * varPool
Definition: csoundCore.h:326
CsoundScoreEvent::opcode
char opcode
Definition: csound_threaded.hpp:122
CsoundThreaded::PerformAndReset
virtual int PerformAndReset()
Like Perform, but calls Cleanup() and Reset() at the conclusion of the performance,...
Definition: csound_threaded.hpp:270
csoundDisposeOpcodeList
PUBLIC void csoundDisposeOpcodeList(CSOUND *, opcodeListEntry *opcodelist)
Releases an opcode list.
CSOUND_::onefileStatics__::midiSet
int midiSet
Definition: csoundCore.h:1636
CSOUND_::type2csfiletype
int(* type2csfiletype)(int type, int encoding)
Definition: csoundCore.h:1240
CSOUND_::orc_macros
MACRO * orc_macros
Definition: csoundCore.h:1580
SPECDAT::downsrcp
DOWNDAT * downsrcp
Definition: csoundCore.h:635
CSOUND_::strtod
double(* strtod)(char *, char **)
Definition: csoundCore.h:1365
csoundDebugGetVariables
PUBLIC debug_variable_t * csoundDebugGetVariables(CSOUND *csound, debug_instr_t *instr)
Get list of variables for instrument.
csoundInitialize
PUBLIC int csoundInitialize(int flags)
Initialise Csound library with specific flags.
csoundSetRtplayCallback
PUBLIC void csoundSetRtplayCallback(CSOUND *, void(*rtplay__)(CSOUND *, const MYFLT *outBuf, int nbytes))
Sets a function to be called by Csound for performing real-time audio playback.
CSOUND_::musmonStatics__::orngcnt
int32 orngcnt[MAXCHNLS]
Definition: csoundCore.h:1650
CSOUND_PARAMS::e0dbfs_override
MYFLT e0dbfs_override
Definition: csound.h:509
pvsdat_ext::sliding
int sliding
Definition: csound.h:576
CSOUND_::sread__::unused_int3
int unused_int3
Definition: csoundCore.h:1611
CSOUND_::inZero
int inZero
Definition: csoundCore.h:1801
csoundGetLibrarySymbol
PUBLIC void * csoundGetLibrarySymbol(void *library, const char *symbolName)
Platform-independent function to get a symbol address in a shared library.
CSOUND_::GetRandSeed
int(* GetRandSeed)(CSOUND *, int which)
Definition: csoundCore.h:1186
EVLIST
Definition: cscore.h:80
TABDAT::aux
AUXCH aux
Definition: csoundCore.h:410
csRtAudioParams::sampleRate
float sampleRate
sample rate in Hz
Definition: csound.h:552
cscoreDefineEvent
PUBLIC EVENT * cscoreDefineEvent(CSOUND *, char *)
MIDIMAXPORTS
#define MIDIMAXPORTS
Definition: csoundCore.h:793
event::p2orig
MYFLT p2orig
Event start time.
Definition: csoundCore.h:490
_FFT_SETUP::d
int d
Definition: csoundCore.h:965
oentry::outypes
char * outypes
Definition: csoundCore.h:289
FGDATA::flen
int32 flen
Definition: csoundCore.h:690
CSOUND_::GetA4
MYFLT(* GetA4)(CSOUND *csound)
Definition: csoundCore.h:1383
csoundGetRtPlayUserData
PUBLIC void ** csoundGetRtPlayUserData(CSOUND *)
Return pointer to user data pointer for real time audio output.
CSOUND_::hostdata
void * hostdata
Definition: csoundCore.h:1464
SSTRSIZ
#define SSTRSIZ
Definition: csoundCore.h:168
cscoreListCopy
PUBLIC EVLIST * cscoreListCopy(CSOUND *, EVLIST *)
pvsdat_ext::format
int32 format
Definition: csound.h:581
csoundDestroyCircularBuffer
PUBLIC void csoundDestroyCircularBuffer(CSOUND *csound, void *circularbuffer)
Free circular buffer.
csoundDebugFreeInstrInstances
PUBLIC void csoundDebugFreeInstrInstances(CSOUND *csound, debug_instr_t *instr)
Free list created by csoundDebugGetCurrentInstrInstance() or csoundDebugGetInstrInstances()
midiglobals::midiOutUserData
void * midiOutUserData
Definition: csoundCore.h:816
STRINGDAT
Definition: csoundCore.h:413
csoundRandMT
PUBLIC uint32_t csoundRandMT(CsoundRandMTState *p)
Returns next random number from MT19937 generator.
CSOUND_::insert_score_event
int(* insert_score_event)(CSOUND *, EVTBLK *, double)
Definition: csoundCore.h:1337
CSOUND_::memlock
spin_lock_t memlock
Definition: csoundCore.h:1592
CSOUND_::PVOC_CloseFile
int(* PVOC_CloseFile)(CSOUND *, int)
Definition: csoundCore.h:1158
CSFTYPE_EXTRACT_PARMS
@ CSFTYPE_EXTRACT_PARMS
Definition: csound.h:379
mchnblk::dplsb
int dplsb
Definition: csoundCore.h:468
CsoundRandMTState_::mti
int mti
Definition: csound.h:568
FDCH
struct fdch FDCH
CSOUND_::GetOParms
void(* GetOParms)(CSOUND *, OPARMS *)
Definition: csoundCore.h:1034
CSOUND_CONTROL_CHANNEL
@ CSOUND_CONTROL_CHANNEL
Definition: csound.h:616
MONPCH
struct monblk MONPCH
csoundPerformKsmps
PUBLIC int csoundPerformKsmps(CSOUND *)
Senses input events, and performs one control sample worth (ksmps) of audio output.
CSOUND_::expanded_sco
CORFIL * expanded_sco
Definition: csoundCore.h:1788
CSFTYPE_SOUNDFONT
@ CSFTYPE_SOUNDFONT
Definition: csound.h:412
CSOUND_::smacros
NAMES * smacros
Definition: csoundCore.h:1692
ARRAYDAT::arrayType
CS_TYPE * arrayType
Definition: csoundCore.h:401
mchnblk::RegParNo
int16 RegParNo
Definition: csoundCore.h:445
csoundGetCPUTime
PUBLIC double csoundGetCPUTime(RTCLOCK *)
Return the elapsed CPU time (in seconds) since the specified timer structure was initialised.
opcodeListEntry::outypes
char * outypes
Definition: csound.h:562
CSOUND_::sread__::warpin
int warpin
Definition: csoundCore.h:1599
GEN01ARGS::gen01
MYFLT gen01
Definition: csoundCore.h:642
csoundUDPConsole
PUBLIC int csoundUDPConsole(CSOUND *csound, const char *addr, int port, int mirror)
Turns on the transmission of console messages to UDP on address addr port port.
VDSP_LIB
@ VDSP_LIB
Definition: csoundCore.h:217
csoundScoreExtract
PUBLIC int csoundScoreExtract(CSOUND *, FILE *inFile, FILE *outFile, FILE *extractFile)
Extracts from 'inFile', controlled by 'extractFile', and writes the result to 'outFile'.
CSOUND_::msg_queue
struct _message_queue ** msg_queue
Definition: csoundCore.h:1802
CsoundRandMTState
struct CsoundRandMTState_ CsoundRandMTState
midiglobals::MIDIoutDONE
int MIDIoutDONE
Definition: csoundCore.h:805
CSOUND_::spoutactive
int spoutactive
Definition: csoundCore.h:1477
namedInstr
Definition: csoundCore.h:351
csoundPerformBuffer
PUBLIC int csoundPerformBuffer(CSOUND *)
Performs Csound, sensing real-time and score events and processing one buffer's worth (-b frames) of ...
opcodinfo::instno
int32 instno
Definition: csoundCore.h:933
CSOUND_::scorestr
CORFIL * scorestr
Definition: csoundCore.h:1466
CSFTYPE_MPC2K
@ CSFTYPE_MPC2K
Definition: csound.h:395
CSOUND_AUDIO_CHANNEL
@ CSOUND_AUDIO_CHANNEL
Definition: csound.h:617
OPARMS::echo
int echo
Definition: csoundCore.h:265
CSOUND_::multichan
int16 multichan
Definition: csoundCore.h:1548
MODULE_INFO
plugin module info
Definition: csoundCore.h:973
cscorePutEvent
PUBLIC void cscorePutEvent(CSOUND *, EVENT *)
CSOUND_::rndfrac
double rndfrac
Definition: csoundCore.h:1690
CSOUND_::mtpdsr
MYFLT mtpdsr
Definition: csoundCore.h:1532
TREE
struct TREE TREE
CSOUND_::sread__::inputs
IN_STACK * inputs
Definition: csoundCore.h:1609
TREE::right
struct TREE * right
Definition: csound.h:603
CSOUND_::Message
CS_PRINTF2 void(* Message)(CSOUND *, const char *fmt,...)
Definition: csoundCore.h:1040
CSOUND_::scoLineOffset
int scoLineOffset
Definition: csoundCore.h:1775
CSOUND_::A4
double A4
Definition: csoundCore.h:1539
arg::next
struct arg * next
Definition: csoundCore.h:277
CSOUND_::API_lock
void * API_lock
Definition: csoundCore.h:1590
_FFT_SETUP::buffer
MYFLT * buffer
Definition: csoundCore.h:963
NAME
struct NAME__ NAME
CSOUND_::ekr
MYFLT ekr
Definition: csoundCore.h:1480
csoundCreateThread
PUBLIC void * csoundCreateThread(uintptr_t(*threadRoutine)(void *), void *userdata)
Creates and starts a new thread of execution.
CSOUND_::csoundYieldCallback_
int(* csoundYieldCallback_)(CSOUND *)
Definition: csoundCore.h:1445
CSOUND_::GetMidiNoteNumber
int(* GetMidiNoteNumber)(void *p)
Definition: csoundCore.h:1056
GEN01ARGS::iskptim
MYFLT iskptim
Definition: csoundCore.h:644
CSOUND_::LockMutexNoWait
int(* LockMutexNoWait)(void *mutex_)
Definition: csoundCore.h:1199
FFT_LIB
@ FFT_LIB
Definition: csoundCore.h:217
csoundGetControlChannel
PUBLIC MYFLT csoundGetControlChannel(CSOUND *csound, const char *name, int *err)
retrieves the value of control channel identified by *name.
event
This struct holds the data for one score event.
Definition: csoundCore.h:479
CSFTYPE_IMAGE_PNG
@ CSFTYPE_IMAGE_PNG
Definition: csound.h:446
CSOUND_::dag_task_max_size
int dag_task_max_size
Definition: csoundCore.h:1772
GEN01ARGS::ifilno
MYFLT ifilno
Definition: csoundCore.h:643
ALLOC_DATA
struct _alloc_data_ ALLOC_DATA
insds::ksmps_offset
uint32_t ksmps_offset
Definition: csoundCore.h:563
csRtAudioParams::bufSamp_SW
unsigned int bufSamp_SW
buffer fragment size (-b) in sample frames
Definition: csound.h:544
CSOUND_::alloc_queue_wp
unsigned long alloc_queue_wp
Definition: csoundCore.h:1811
DPARM
Definition: csoundCore.h:427
opcodinfo::name
char * name
Definition: csoundCore.h:934
CSOUND_::libsndStatics__::pin
FILE * pin
Definition: csoundCore.h:1673
CSOUND_::revlpsum
int32 revlpsum
Definition: csoundCore.h:1689
CSOUND_::ParseConfigurationVariable
int(* ParseConfigurationVariable)(CSOUND *, const char *name, const char *value)
Definition: csoundCore.h:1129
csoundTableCopyInAsync
PUBLIC void csoundTableCopyInAsync(CSOUND *csound, int table, MYFLT *src)
Asynchronous version of csoundTableCopyIn()
CSOUND_::argoffspace
int * argoffspace
Definition: csoundCore.h:1510
CSFTYPE_LADSPA_PLUGIN
@ CSFTYPE_LADSPA_PLUGIN
Definition: csound.h:430
CSOUND_::curBeat_inc
double curBeat_inc
Definition: csoundCore.h:1487
mchnblk::pchbend
MYFLT pchbend
pitch bend (-1 to 1)
Definition: csoundCore.h:460
cscoreListCopyEvents
PUBLIC EVLIST * cscoreListCopyEvents(CSOUND *, EVLIST *)
CSOUND_::csoundDrawGraphCallback_
void(* csoundDrawGraphCallback_)(CSOUND *, WINDAT *windat)
Definition: csoundCore.h:1442
csdebug_data_s::cmd_buffer
void * cmd_buffer
Definition: csdebug.h:160
CSOUND_PVS_CHANNEL
@ CSOUND_PVS_CHANNEL
Definition: csound.h:619
CSOUND_::PVOC_FrameCount
int(* PVOC_FrameCount)(CSOUND *, int)
Definition: csoundCore.h:1161
csoundSetHostData
PUBLIC void csoundSetHostData(CSOUND *, void *hostData)
Sets host data.
CSOUND_::InverseComplexFFT
void(* InverseComplexFFT)(CSOUND *, MYFLT *buf, int FFTsize)
Definition: csoundCore.h:1142
GEN01ARGS::sample_rate
MYFLT sample_rate
Definition: csoundCore.h:647
engine_state::instrumentNames
CS_HASH_TABLE * instrumentNames
Definition: csoundCore.h:952
CsoundThreaded::input_queue
concurrent_queue< CsoundEvent * > input_queue
Definition: csound_threaded.hpp:170
CSOUND_::kcounter
uint64_t kcounter
Definition: csoundCore.h:1478
csoundSetYieldCallback
PUBLIC void csoundSetYieldCallback(CSOUND *, int(*yieldCallback_)(CSOUND *))
Called by external software to set a function for checking system events, yielding cpu time for coope...
CSOUND_::DeleteConfigurationVariable
int(* DeleteConfigurationVariable)(CSOUND *, const char *name)
Definition: csoundCore.h:1133
csoundCompileOrc
PUBLIC int csoundCompileOrc(CSOUND *csound, const char *str)
Parse, and compile the given orchestra from an ASCII string, also evaluating any global space code (i...
EVENT
Definition: cscore.h:69
CSFTYPE_INTEGER_TEXT
@ CSFTYPE_INTEGER_TEXT
Definition: csound.h:442
CSFTYPE_AIFC
@ CSFTYPE_AIFC
Definition: csound.h:385
cshdr::type
int16 type
Definition: cscore.h:64
insds::p1
CS_VAR_MEM p1
Definition: csoundCore.h:578
opds
This struct holds the info for one opcode in a concrete instrument instance in performance.
Definition: csoundCore.h:599
controlChannelType
controlChannelType
Constants used by the bus interface (csoundGetChannelPtr() etc.).
Definition: csound.h:615
CSOUND_::oscfp
FILE * oscfp
Definition: csoundCore.h:1503
CsoundEvent
Abstract base class for Csound events to be enqueued for performance.
Definition: csound_threaded.hpp:108
CSOUND_::GetInputArgCnt
int(* GetInputArgCnt)(void *p)
Definition: csoundCore.h:1079
CSFTYPE_PVCEX
@ CSFTYPE_PVCEX
Definition: csound.h:420
MIDIMESSAGE
Definition: csoundCore.h:795
CSOUND_::InverseRealFFT
void(* InverseRealFFT)(CSOUND *, MYFLT *buf, int FFTsize)
Definition: csoundCore.h:1144
csoundCloseLibrary
PUBLIC int csoundCloseLibrary(void *library)
Platform-independent function to unload a shared library.
CSOUND_::sread__::unused_intA
int unused_intA
Definition: csoundCore.h:1627
CSOUND_::ReadAsync
unsigned int(* ReadAsync)(CSOUND *, void *, MYFLT *, int)
Definition: csoundCore.h:1247
CSOUND_::exitjmp
jmp_buf exitjmp
Definition: csoundCore.h:1542
debug_instr_s::p1
MYFLT p1
Definition: csdebug.h:69
concurrent_queue::wait_and_pop
void wait_and_pop(Data &popped_value)
Definition: csound_threaded.hpp:92
csRtAudioParams::devNum
int devNum
device number (0-1023), 1024: default
Definition: csound.h:542
engine_state::instxtanchor
INSTRTXT instxtanchor
Definition: csoundCore.h:951
CSOUND_::SetInternalYieldCallback
void(* SetInternalYieldCallback)(CSOUND *, int(*yieldCallback)(CSOUND *))
Definition: csoundCore.h:1320
CSOUND_::ErrorMsg
CS_PRINTF2 void(* ErrorMsg)(CSOUND *, const char *fmt,...)
Definition: csoundCore.h:1175
CSOUND_::libsndStatics__::inbufrem
uint32 inbufrem
Definition: csoundCore.h:1665
CSOUND_::libsndStatics__::infile
SNDFILE * infile
Definition: csoundCore.h:1660
csoundDebugNext
PUBLIC void csoundDebugNext(CSOUND *csound)
Continue execution and break at next instrument instance.
opcodinfo::prv
struct opcodinfo * prv
Definition: csoundCore.h:939
csoundGetStringChannel
PUBLIC void csoundGetStringChannel(CSOUND *csound, const char *name, char *string)
copies the string channel identified by *name into *string which should contain enough memory for the...
CSOUND_::SetUtilSr
void(* SetUtilSr)(CSOUND *, MYFLT)
Definition: csoundCore.h:1350
CSOUND_::display
void(* display)(CSOUND *, WINDAT *)
Definition: csoundCore.h:1294
opds::optext
OPTXT * optext
Orch file template part for this opcode.
Definition: csoundCore.h:609
cscoreListExtractInstruments
PUBLIC EVLIST * cscoreListExtractInstruments(CSOUND *, EVLIST *, char *)
oentry::dsblksiz
uint16 dsblksiz
Definition: csoundCore.h:286
CSOUND_::pidsr
MYFLT pidsr
Definition: csoundCore.h:1532
opds::opadr
SUBR opadr
Perf-time (k- or a-rate) function pointer.
Definition: csoundCore.h:607
CSOUND_::curp2
double curp2
Definition: csoundCore.h:1566
CSOUND_::scfp
FILE * scfp
Definition: csoundCore.h:1501
csdebug_data_s::cur_bkpt
bkpt_node_t * cur_bkpt
Definition: csdebug.h:163
cscoreListGetNext
PUBLIC EVLIST * cscoreListGetNext(CSOUND *, MYFLT)
cscore.h
CSOUND_PARAMS::ascii_graphs
int ascii_graphs
Definition: csound.h:482
midiglobals::MidiWriteCallback
int(* MidiWriteCallback)(CSOUND *, void *, const unsigned char *, int)
Definition: csoundCore.h:812
CSOUND_::tpidsr
MYFLT tpidsr
Definition: csoundCore.h:1532
midiglobals::midiOutFileData
void * midiOutFileData
Definition: csoundCore.h:818
cscoreListConcatenate
PUBLIC EVLIST * cscoreListConcatenate(CSOUND *, EVLIST *, EVLIST *)
CSHDR
struct cshdr CSHDR
insds::offtim
double offtim
Definition: csoundCore.h:546
CSOUND_::libsndStatics__::inbufsiz
unsigned int inbufsiz
Definition: csoundCore.h:1668
CSOUND_::cpsocfrc
MYFLT * cpsocfrc
Definition: csoundCore.h:1786
CSOUND_::parserUdoflag
int parserUdoflag
Definition: csoundCore.h:1778
OPDS
struct opds OPDS
This struct holds the info for one opcode in a concrete instrument instance in performance.
CSOUND_PARAMS::hardware_buffer_frames
int hardware_buffer_frames
Definition: csound.h:480
CSFTYPE_LPC
@ CSFTYPE_LPC
Definition: csound.h:422
csoundSetOutput
PUBLIC void csoundSetOutput(CSOUND *csound, const char *name, const char *type, const char *format)
Set output destination, type and format type can be one of "wav","aiff", "au","raw",...
csoundTableCopyOut
PUBLIC void csoundTableCopyOut(CSOUND *csound, int table, MYFLT *dest)
Copy the contents of a function table into a supplied array *dest The table number is assumed to be v...
CSOUND_::GetOffTime
double(* GetOffTime)(void *p)
Definition: csoundCore.h:1059
csoundCreateThreadLock
PUBLIC void * csoundCreateThreadLock(void)
Creates and returns a monitor object, or NULL if not successful.
FUNC::ftable
MYFLT * ftable
table data (flen + 1 MYFLT values)
Definition: csoundCore.h:685
CSOUND_::musmonStatics__::lplayed
int lplayed
Definition: csoundCore.h:1653
cscoreFileOpen
PUBLIC FILE * cscoreFileOpen(CSOUND *, char *)
event::strarg
char * strarg
Definition: csoundCore.h:482
concurrent_queue::push
void push(Data const &data)
Definition: csound_threaded.hpp:70
CSFTYPE_SCOT
@ CSFTYPE_SCOT
Definition: csound.h:377
EVENT::p3orig
MYFLT p3orig
Definition: cscore.h:75
CSFTYPE_SCO_INCLUDE
@ CSFTYPE_SCO_INCLUDE
Definition: csound.h:375
MEMFIL::next
struct MEMFIL * next
Definition: csoundCore.h:707
auxch::endp
void * endp
Definition: csoundCore.h:376
CSOUND_::FileClose
int(* FileClose)(CSOUND *, void *)
Definition: csoundCore.h:1237
CSOUND_::modules_loaded
int modules_loaded
Definition: csoundCore.h:1793
OPARMS::playscore
CORFIL * playscore
Definition: csoundCore.h:247
csScoInMask
const uint32_t csScoInMask
CSOUND_::nspin
int nspin
Definition: csoundCore.h:1524
CSOUND_::rtPlay_userdata
void * rtPlay_userdata
Definition: csoundCore.h:1541
csoundSetInput
PUBLIC void csoundSetInput(CSOUND *csound, const char *name)
Set input source.
CSOUND_::libsndStatics__::isfopen
int isfopen
Definition: csoundCore.h:1669
csdebug_data_s::bkpt_anchor
bkpt_node_t * bkpt_anchor
Definition: csdebug.h:162
csoundMessage
PUBLIC CS_PRINTF2 void csoundMessage(CSOUND *, const char *format,...)
Displays an informational message.
CSOUND_::GetCPUTime
double(* GetCPUTime)(RTCLOCK *)
Definition: csoundCore.h:1210
csoundCreateGlobalVariable
PUBLIC int csoundCreateGlobalVariable(CSOUND *, const char *name, size_t nbytes)
Allocate nbytes bytes of memory that can be accessed later by calling csoundQueryGlobalVariable() wit...
CSOUND_::SetDebug
void(* SetDebug)(CSOUND *, int d)
Set internal debug mode.
Definition: csoundCore.h:1031
CSOUND_::rewriteheader
void(* rewriteheader)(void *ofd)
Definition: csoundCore.h:1231
OPARMS::ksmps_override
int ksmps_override
Definition: csoundCore.h:263
auxch::auxp
void * auxp
Definition: csoundCore.h:376
CSFTYPE_SVX
@ CSFTYPE_SVX
Definition: csound.h:405
CSOUND_::sampsNeeded
int sampsNeeded
Definition: csoundCore.h:1681
ORCTOKEN::optype
char * optype
Definition: csound.h:591
mchnblk::sustaining
int16 sustaining
current state of sustain pedal (0: off)
Definition: csoundCore.h:466
controlChannelHints_s::behav
controlChannelBehavior behav
Definition: csound.h:640
marked_sections::name
char * name
Definition: csoundCore.h:913
DOWNDAT::nsamps
int32 nsamps
Definition: csoundCore.h:626
CSOUND_::sectcnt
int sectcnt
Definition: csoundCore.h:1544
concurrent_queue::try_pop
bool try_pop(Data &popped_value)
Definition: csound_threaded.hpp:82
CSOUND_::filedir
char * filedir[256]
Definition: csoundCore.h:1789
CSFTYPE_AU
@ CSFTYPE_AU
Definition: csound.h:387
csoundDebugStop
PUBLIC void csoundDebugStop(CSOUND *csound)
Stop Csound rendering and enter the debugger.
CSOUND_::spinrecv
void(* spinrecv)(CSOUND *)
Definition: csoundCore.h:1460
CSFTYPE_RAW_AUDIO
@ CSFTYPE_RAW_AUDIO
Definition: csound.h:382
OCTDAT
Definition: csoundCore.h:620
CSOUND_::first_delayr
void * first_delayr
Definition: csoundCore.h:1686
debug_instr_s::kcounter
uint64_t kcounter
Definition: csdebug.h:70
in_stack_s::is_marked_repeat
int16 is_marked_repeat
Definition: csoundCore.h:903
CsoundThreaded::keep_running
std::atomic< bool > keep_running
Definition: csound_threaded.hpp:167
midiglobals::midiInUserData
void * midiInUserData
Definition: csoundCore.h:815
debug_bkpt_info_t::instrListHead
debug_instr_t * instrListHead
Definition: csdebug.h:93
CSOUND_::auxspin
MYFLT * auxspin
Definition: csoundCore.h:1526
CSOUND_::lprdaddr
void * lprdaddr
Definition: csoundCore.h:1731
CSOUND_::csoundMakeGraphCallback_
void(* csoundMakeGraphCallback_)(CSOUND *, WINDAT *windat, const char *name)
Definition: csoundCore.h:1440
CSOUND_::GetZakBounds
int(* GetZakBounds)(CSOUND *, MYFLT **)
Definition: csoundCore.h:1062
CSOUND_::randSeed2
int randSeed2
Definition: csoundCore.h:1516
EVENT::strarg
char * strarg
Definition: cscore.h:71
CSOUND_::tpsave
void * tpsave
Definition: csoundCore.h:1578
CSFTYPE_STD_MIDI
@ CSFTYPE_STD_MIDI
Definition: csound.h:413
CORFIL::p
unsigned int p
Definition: csoundCore.h:228
CSOUND_::sread__::unused_ptr1
MACRO * unused_ptr1
Definition: csoundCore.h:1628
insds::kicvt
MYFLT kicvt
Definition: csoundCore.h:554
CSOUND_::SetExternalMidiInOpenCallback
void(* SetExternalMidiInOpenCallback)(CSOUND *, int(*func)(CSOUND *, void **, const char *))
Definition: csoundCore.h:1273
mchnblk::aftouch
MYFLT aftouch
channel pressure (0-127)
Definition: csoundCore.h:458
csoundScoreEventAbsolute
PUBLIC int csoundScoreEventAbsolute(CSOUND *, char type, const MYFLT *pfields, long numFields, double time_ofs)
Like csoundScoreEvent(), this function inserts a score event, but at absolute time with respect to th...
CsoundThreaded::Join
virtual void Join()
Causes the calling thread to wait for the end of the performance thread routine.
Definition: csound_threaded.hpp:320
CS_AUDIODEVICE::isOutput
int isOutput
Definition: csound.h:523
CSOUND_::randSeed1
int randSeed1
Definition: csoundCore.h:1515
TREE::rate
int rate
Definition: csound.h:598
marked_sections::line
int line
Definition: csoundCore.h:915
CSOUND_::sinelength
int sinelength
Definition: csoundCore.h:1784
csoundModuleInfo
PUBLIC int csoundModuleInfo(void)
debug_variable_s::next
struct debug_variable_s * next
Definition: csdebug.h:87
OPARMS::e0dbfs_override
MYFLT e0dbfs_override
Definition: csoundCore.h:260
opcodinfo::out_arg_pool
CS_VAR_POOL * out_arg_pool
Definition: csoundCore.h:936
CSOUND_::musmonStatics__::ep
EVENT ** ep
Definition: csoundCore.h:1655
CSOUND_::omacros
NAMES * omacros
Definition: csoundCore.h:1692
insds::strarg
char * strarg
Definition: csoundCore.h:575
csoundRewindScore
PUBLIC void csoundRewindScore(CSOUND *)
Rewinds a compiled Csound score to the time specified with csoundSetScoreOffsetSeconds().
csoundModuleCreate
PUBLIC int csoundModuleCreate(CSOUND *)
CSOUND_VAR_CHANNEL
@ CSOUND_VAR_CHANNEL
Definition: csound.h:620
debug_opcode_s::prev
struct debug_opcode_s * prev
Definition: csdebug.h:80
CSOUND_::onefileStatics__::sconame
char * sconame
Definition: csoundCore.h:1634
CSOUND_::SetAudioDeviceListCallback
void(* SetAudioDeviceListCallback)(CSOUND *csound, int(*audiodevlist__)(CSOUND *, CS_AUDIODEVICE *list, int isOutput))
Definition: csoundCore.h:1265
CSOUND_::RandMT
uint32_t(* RandMT)(CsoundRandMTState *p)
Definition: csoundCore.h:1184
CSOUND_::delayederrormessages
char * delayederrormessages
Definition: csoundCore.h:1593
CSOUND_::RealFFT
void(* RealFFT)(CSOUND *, MYFLT *buf, int FFTsize)
Definition: csoundCore.h:1143
csoundSetCscoreCallback
PUBLIC void csoundSetCscoreCallback(CSOUND *, void(*cscoreCallback_)(CSOUND *))
Sets an external callback for Cscore processing.
CSOUND_::onefileStatics__::csdlinecount
int csdlinecount
Definition: csoundCore.h:1637
CSOUND_::realtime_audio_flag
int realtime_audio_flag
Definition: csoundCore.h:1586
CSOUND_::GetTable
int(* GetTable)(CSOUND *, MYFLT **tablePtr, int tableNum)
Definition: csoundCore.h:1110
CSOUND_::GetSr
MYFLT(* GetSr)(CSOUND *)
Definition: csoundCore.h:1015
debug_variable_s::name
const char * name
Definition: csdebug.h:84
csoundSetExternalMidiOutOpenCallback
PUBLIC void csoundSetExternalMidiOutOpenCallback(CSOUND *, int(*func)(CSOUND *, void **userData, const char *devName))
Sets callback for opening real time MIDI output.
CSFTYPE_RF64
@ CSFTYPE_RF64
Definition: csound.h:396
marked_sections::posit
int32 posit
Definition: csoundCore.h:914
SNDMEMFILE_::name
char * name
file ID (short name)
Definition: csoundCore.h:719
CSOUND_::lineventStatics__::linebufsiz
int linebufsiz
Definition: csoundCore.h:1645
CSOUND_::lineventStatics__::Linebufend
char * Linebufend
Definition: csoundCore.h:1641
oentry::useropinfo
void * useropinfo
Definition: csoundCore.h:294
mchnblk::dpmsb
int dpmsb
Definition: csoundCore.h:467
CSOUND_::GetNchnls_i
uint32_t(* GetNchnls_i)(CSOUND *)
Get number of input channels.
Definition: csoundCore.h:1021
csoundCompileOrcAsync
PUBLIC int csoundCompileOrcAsync(CSOUND *csound, const char *str)
Async version of csoundCompileOrc().
arg::index
int index
Definition: csoundCore.h:276
ARG
struct arg ARG
CSOUND_::musmonStatics__::lsect
EVENT * lsect
Definition: csoundCore.h:1656
csoundRand31
PUBLIC int csoundRand31(int *seedVal)
Simple linear congruential random number generator: (*seedVal) = (*seedVal) * 742938285 % 2147483647 ...
FUNC::lenmask
int32 lenmask
length mask ( = flen - 1) for power of two table size, 0 otherwise
Definition: csoundCore.h:655
CSOUND_::ksmps
unsigned int ksmps
Definition: csoundCore.h:1474
csoundSetMessageLevel
PUBLIC void csoundSetMessageLevel(CSOUND *, int messageLevel)
Sets the Csound message level (from 0 to 231).
csoundSetSpinSample
PUBLIC void csoundSetSpinSample(CSOUND *csound, int frame, int channel, MYFLT sample)
Sets the audio input working buffer (spin) to the indicated sample this only ever makes sense before ...
message_string_queue_t
struct _message_queue_t_ message_string_queue_t
controlChannelHints_s::max
MYFLT max
Definition: csound.h:644
lblblk::prvi
OPDS * prvi
Definition: csoundCore.h:616
CSOUND_::sprintf
int(* sprintf)(char *str, const char *format,...)
Definition: csoundCore.h:1366
CSOUND_::oparms
OPARMS * oparms
Definition: csoundCore.h:1527
CSOUND_::SetRecopenCallback
void(* SetRecopenCallback)(CSOUND *, int(*recopen__)(CSOUND *, const csRtAudioParams *parm))
Definition: csoundCore.h:1260
SNDMEMFILE_::data
float data[1]
interleaved sample data
Definition: csoundCore.h:753
CSOUND_::sread__::unused_int4
int unused_int4[RPTDEPTH]
Definition: csoundCore.h:1618
CSOUND_::max_lpc_slot
int max_lpc_slot
Definition: csoundCore.h:1733
csoundCompileCsdText
PUBLIC int csoundCompileCsdText(CSOUND *csound, const char *csd_text)
Behaves the same way as csoundCompileCsd, except that the content of the CSD is read from the csd_tex...
csRtAudioParams::sampleFormat
int sampleFormat
sample format (AE_SHORT etc.)
Definition: csound.h:550
CSOUND_::winEPS_globals
void * winEPS_globals
Definition: csoundCore.h:1743
CSOUND_::AppendOpcode
int(* AppendOpcode)(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 *))
Definition: csoundCore.h:1325
insds::nxtolap
struct insds * nxtolap
Definition: csoundCore.h:528
debug_instr_s::lclbas
MYFLT * lclbas
Definition: csdebug.h:67
CSOUND_::Linepipe
FILE * Linepipe
Definition: csoundCore.h:1498
pvx_memfile_::data
float * data
Definition: csoundCore.h:759
controlChannelInfo_s::type
int type
Definition: csound.h:655
EVLIST::nevents
int nevents
Definition: cscore.h:83
CSOUND_PARAMS::ksmps_override
int ksmps_override
Definition: csound.h:511
CSOUND_::chn_db
CS_HASH_TABLE * chn_db
Definition: csoundCore.h:1734
CSOUND_::getsndin
int(* getsndin)(CSOUND *, void *, MYFLT *, int, void *)
Definition: csoundCore.h:1230
CsoundThreaded::InputMessage
virtual void InputMessage(const char *message)
Enqueues a textual score event or events for dispatch from the performance thread routine.
Definition: csound_threaded.hpp:290
CSOUND_::csRtClock
RTCLOCK * csRtClock
Definition: csoundCore.h:1518
dklst::nxtlst
struct dklst * nxtlst
Definition: csoundCore.h:434
csoundModuleInit
PUBLIC int csoundModuleInit(CSOUND *)
FUNC::lodiv
MYFLT lodiv
1 / 2^lobits
Definition: csoundCore.h:661
insds::spout
MYFLT * spout
Definition: csoundCore.h:569
CSOUND_::GetOutputArgCnt
int(* GetOutputArgCnt)(void *p)
Definition: csoundCore.h:1081
cscoreListFreeEvents
PUBLIC void cscoreListFreeEvents(CSOUND *, EVLIST *)
instr::pmax
int pmax
Definition: csoundCore.h:323
csoundSetDebug
PUBLIC void csoundSetDebug(CSOUND *, int debug)
Sets whether Csound prints debug messages from the DebugMsg() internal API function.
mchnblk::insno
int16 insno
instrument number assigned to this channel
Definition: csoundCore.h:444
FUNC::cvtbas
MYFLT cvtbas
LOFACT * (table_sr / orch_sr), cpscvt = cvtbas / base_freq.
Definition: csoundCore.h:663
CsoundThreaded::ReadScore
virtual int ReadScore(const char *score)
Enqueues a textual score event, score fragment, or entire score for dispatch from the performance thr...
Definition: csound_threaded.hpp:299
csoundGetOutputBufferSize
PUBLIC long csoundGetOutputBufferSize(CSOUND *)
Returns the number of samples in Csound's output buffer.
OPARMS::usingcscore
int usingcscore
Definition: csoundCore.h:239
PUBLIC
#define PUBLIC
Definition: csound.h:272
CSOUND_::ReadCircularBuffer
int(* ReadCircularBuffer)(CSOUND *, void *, void *, int)
Definition: csoundCore.h:1216
CSFTYPE_FTABLES_BINARY
@ CSFTYPE_FTABLES_BINARY
Definition: csound.h:436
CSOUND_PARAMS::daemon
int daemon
Definition: csound.h:510
CSOUND_::FDClose
void(* FDClose)(CSOUND *, FDCH *fdchp)
Definition: csoundCore.h:1234
CSFTYPE_IRCAM
@ CSFTYPE_IRCAM
Definition: csound.h:383
CSFTYPE_MAT5
@ CSFTYPE_MAT5
Definition: csound.h:400
csoundCreateMutex
PUBLIC void * csoundCreateMutex(int isRecursive)
Creates and returns a mutex object, or NULL if not successful.
csoundGetOutputName
PUBLIC const char * csoundGetOutputName(CSOUND *)
Returns the audio output name (-o).
csoundDestroyMutex
PUBLIC void csoundDestroyMutex(void *mutex_)
Destroys the indicated mutex object.
AUXASYNC::nbytes
size_t nbytes
Definition: csoundCore.h:391
instr::nocheckpcnt
int nocheckpcnt
Definition: csoundCore.h:348
MACRON::line
unsigned int line
Definition: csoundCore.h:888
CsoundThreaded::Perform
virtual int Perform()
Overrides Csound::Perform to run in a separate thread of execution.
Definition: csound_threaded.hpp:261
CSOUND_::csoundCallbacks_
void * csoundCallbacks_
Definition: csoundCore.h:1500
insds::pylocal
void * pylocal
Definition: csoundCore.h:548
MEMFIL::endp
char * endp
Definition: csoundCore.h:705
CSFTYPE_HRTF
@ CSFTYPE_HRTF
Definition: csound.h:426
CSOUND_INITIALIZATION
@ CSOUND_INITIALIZATION
Definition: csound.h:334
cscoreListSeparateF
PUBLIC EVLIST * cscoreListSeparateF(CSOUND *, EVLIST *)
CSOUND_::sread__::unused_char0
char unused_char0[RPTDEPTH][NAMELEN]
Definition: csoundCore.h:1617
CSOUND_::evtFuncChain
void * evtFuncChain
Definition: csoundCore.h:1549
lblblk::prvp
OPDS * prvp
Definition: csoundCore.h:617
event::extra
MYFLT * extra
Definition: csoundCore.h:496
CSOUND_::InverseRealFFTnp2
void(* InverseRealFFTnp2)(CSOUND *, MYFLT *buf, int FFTsize)
Definition: csoundCore.h:1148
opcodinfo::outtypes
char * outtypes
Definition: csoundCore.h:934
CSOUND_::sread__::unused_int9
int32 unused_int9
Definition: csoundCore.h:1626
csoundGetSpoutSample
PUBLIC MYFLT csoundGetSpoutSample(CSOUND *csound, int frame, int channel)
Returns the indicated sample from the Csound audio output working buffer (spout); only ever makes sen...
CSOUND_::playopen_callback
int(* playopen_callback)(CSOUND *, const csRtAudioParams *parm)
Definition: csoundCore.h:1450
DOWNDAT
Definition: csoundCore.h:625
CSOUND_PARAMS::syntax_check_only
int syntax_check_only
Definition: csound.h:500
midiglobals::MIDIINbufIndex
int MIDIINbufIndex
Definition: csoundCore.h:806
engine_state::constantsPool
CS_HASH_TABLE * constantsPool
Definition: csoundCore.h:947
CSFTYPE_ORCHESTRA
@ CSFTYPE_ORCHESTRA
Definition: csound.h:371
MAXOCTS
#define MAXOCTS
Definition: csoundCore.h:180
csdebug_data_s::debug_instr_ptr
void * debug_instr_ptr
Definition: csdebug.h:166
TREE::type
int type
Definition: csound.h:596
csoundSetExternalMidiErrorStringCallback
PUBLIC void csoundSetExternalMidiErrorStringCallback(CSOUND *, const char *(*func)(int))
Sets callback for converting MIDI error codes to strings.
debug_opcode_s::opname
char opname[16]
Definition: csdebug.h:76
instr::active
int active
Definition: csoundCore.h:340
csoundParseOrc
PUBLIC TREE * csoundParseOrc(CSOUND *csound, const char *str)
Parse the given orchestra from an ASCII string into a TREE.
CSOUND_::lineventStatics
struct CSOUND_::lineventStatics__ lineventStatics
SNDMEMFILE_
Definition: csoundCore.h:717
debug_instr_s::instrptr
void * instrptr
Definition: csdebug.h:68
CSOUND_PARAMS::midi_key_cps
int midi_key_cps
Definition: csound.h:493
CSFTYPE_UNKNOWN
@ CSFTYPE_UNKNOWN
Definition: csound.h:456
ORCTOKEN::value
int value
Definition: csound.h:589
CSOUND_::AddUtility
int(* AddUtility)(CSOUND *, const char *name, int(*UtilFunc)(CSOUND *, int, char **))
Definition: csoundCore.h:1343
csoundReadCircularBuffer
PUBLIC int csoundReadCircularBuffer(CSOUND *csound, void *circular_buffer, void *out, int items)
Read from circular buffer.
CSOUND_::sread__::memend
char * memend
Definition: csoundCore.h:1606
CSOUND_::SF_csd_licence
char * SF_csd_licence
Definition: csoundCore.h:1721
CSOUND_::message_string
char * message_string
Definition: csoundCore.h:1817
CSOUND_::warped
int warped
Definition: csoundCore.h:1677
CSOUND_::event_insert_loop
int event_insert_loop
Definition: csoundCore.h:1588
CSOUND_::csdebug_data
void * csdebug_data
Definition: csoundCore.h:1795
CSOUND_::omaxamp
MYFLT omaxamp[MAXCHNLS]
Definition: csoundCore.h:1506
CSOUND_::dispinit
void(* dispinit)(CSOUND *)
Definition: csoundCore.h:1296
CSFTYPE_OPTIONS
@ CSFTYPE_OPTIONS
Definition: csound.h:378
CSOUND_::open_files
void * open_files
Definition: csoundCore.h:1694
CSOUND_::GetSizeOfMYFLT
int(* GetSizeOfMYFLT)(void)
Definition: csoundCore.h:1033
ORCTOKEN::next
struct ORCTOKEN * next
Definition: csound.h:592
CSFTYPE_ORC_INCLUDE
@ CSFTYPE_ORC_INCLUDE
Definition: csound.h:374
CSOUND_::performState
int performState
Definition: csoundCore.h:1738
CSOUND_::musmonStatics__::sormsg
int sormsg
Definition: csoundCore.h:1654
csoundGetChannelPtr
PUBLIC int csoundGetChannelPtr(CSOUND *, MYFLT **p, const char *name, int type)
Stores a pointer to the specified channel of the bus in *p, creating the channel first if it does not...
csoundTableCopyOutAsync
PUBLIC void csoundTableCopyOutAsync(CSOUND *csound, int table, MYFLT *dest)
Asynchronous version of csoundTableCopyOut()
CSOUND_::strsiz
int strsiz
Definition: csoundCore.h:1782
in_stack_s::oposit
int32 oposit
Definition: csoundCore.h:909
CSOUND_::lineventStatics__::orchestrab
char * orchestrab
Definition: csoundCore.h:1646
csoundSetInputChannelCallback
PUBLIC void csoundSetInputChannelCallback(CSOUND *csound, channelCallback_t inputChannelCalback)
Sets the function which will be called whenever the invalue opcode is used.
instr::muted
int16 muted
Definition: csoundCore.h:329
CSOUND_::CreateConfigurationVariable
int(* CreateConfigurationVariable)(CSOUND *, const char *name, void *p, int type, int flags, void *min, void *max, const char *shortDesc, const char *longDesc)
Definition: csoundCore.h:1123
csoundCompile
PUBLIC int csoundCompile(CSOUND *, int argc, const char **argv)
Compiles Csound input files (such as an orchestra and score, or CSD) as directed by the supplied comm...
CSOUND_::enableHostImplementedAudioIO
int enableHostImplementedAudioIO
Definition: csoundCore.h:1703
csoundGetHostData
PUBLIC void * csoundGetHostData(CSOUND *)
Returns host data.
CSOUND_::orcLineOffset
int orcLineOffset
Definition: csoundCore.h:1774
_alloc_data_::insno
int insno
Definition: csoundCore.h:983
instr::t
TEXT t
Definition: csoundCore.h:322
text::intype
char intype
Definition: csoundCore.h:311
CSOUND_::dispset
void(* dispset)(CSOUND *, WINDAT *, MYFLT *, int32, char *, int, char *)
Definition: csoundCore.h:1293
CSOUND_::sread__::last_name
int last_name
Definition: csoundCore.h:1608
CSOUND_::SetScoreOffsetSeconds
void(* SetScoreOffsetSeconds)(CSOUND *, MYFLT offset)
Definition: csoundCore.h:1373
CSOUND_::SetPlayopenCallback
void(* SetPlayopenCallback)(CSOUND *, int(*playopen__)(CSOUND *, const csRtAudioParams *parm))
Definition: csoundCore.h:1256
CSOUND_FILETYPES
CSOUND_FILETYPES
The following constants are used with csound->FileOpen2() and csound->ldmemfile2() to specify the for...
Definition: csound.h:369
csoundDebugContinue
PUBLIC void csoundDebugContinue(CSOUND *csound)
Continue execution from breakpoint.
CSOUND_::GetDebug
int(* GetDebug)(CSOUND *)
Definition: csoundCore.h:1032
controlChannelInfo_s
Definition: csound.h:653
csdebug_data_t
struct csdebug_data_s csdebug_data_t
CSOUND_::onefileStatics__::midname
char * midname
Definition: csoundCore.h:1635
CSOUND_::gbloffbas
MYFLT * gbloffbas
Definition: csoundCore.h:1582
cscoreListSeparateTWF
PUBLIC EVLIST * cscoreListSeparateTWF(CSOUND *, EVLIST *)
CSOUND_::DestroyBarrier
int(* DestroyBarrier)(void *)
Definition: csoundCore.h:1204
csoundReadScoreAsync
PUBLIC void csoundReadScoreAsync(CSOUND *csound, const char *str)
Asynchronous version of csoundReadScore().
OPARMS::cmdTempo
double cmdTempo
Definition: csoundCore.h:243
CSOUND_MEMORY
@ CSOUND_MEMORY
Definition: csound.h:338
event::p
MYFLT p[PMAX+1]
All p-fields for this event (SSTRCOD: string argument)
Definition: csoundCore.h:494
CSOUND_::DestroyGlobalVariable
int(* DestroyGlobalVariable)(CSOUND *, const char *name)
Definition: csoundCore.h:1122
insds::instr
INSTRTXT * instr
Definition: csoundCore.h:532
CSOUND_::onefileStatics__
Definition: csoundCore.h:1631
CSOUND_PARAMS::midi_key_pch
int midi_key_pch
Definition: csound.h:495
CSOUND_::SetExternalMidiReadCallback
void(* SetExternalMidiReadCallback)(CSOUND *, int(*func)(CSOUND *, void *, unsigned char *, int))
Definition: csoundCore.h:1275
CORFIL
struct CORFIL CORFIL
CSOUND_::Linefd
int Linefd
Definition: csoundCore.h:1499
CSOUND_::GetReinitFlag
int(* GetReinitFlag)(CSOUND *)
Definition: csoundCore.h:1064
MCHNBLK
struct mchnblk MCHNBLK
opcodeListEntry::opname
char * opname
Definition: csound.h:561
cshdr::prvblk
struct cshdr * prvblk
Definition: cscore.h:62
MACRON::n
int n
Definition: csoundCore.h:887
cshdr::size
int16 size
Definition: cscore.h:65
engine_state::varPool
CS_VAR_POOL * varPool
Definition: csoundCore.h:946
controlChannelHints_s::y
int y
Definition: csound.h:646
insds::relesing
char relesing
Definition: csoundCore.h:540
arglst::count
int count
Definition: csoundCore.h:269
csoundCreateCircularBuffer
PUBLIC void * csoundCreateCircularBuffer(CSOUND *csound, int numelem, int elemsize)
Create circular buffer with numelem number of elements.
CSOUND_::lineventStatics__::Linep
char * Linep
Definition: csoundCore.h:1641
csoundDestroy
PUBLIC void csoundDestroy(CSOUND *)
Destroys an instance of Csound.
CSFTYPE_AVR
@ CSFTYPE_AVR
Definition: csound.h:397
CSOUND_PARAMS::sample_accurate
int sample_accurate
Definition: csound.h:504
AUXASYNC::userData
void * userData
Definition: csoundCore.h:393
CSOUND_::libsndStatics__::outbufrem
uint32 outbufrem
Definition: csoundCore.h:1666
CSOUND_::FileOpenCallback_
void(* FileOpenCallback_)(CSOUND *, const char *, int, int, int)
Definition: csoundCore.h:1447
CSOUND_::multiThreadedComplete
int multiThreadedComplete
Definition: csoundCore.h:1751
CSFTYPE_VOC
@ CSFTYPE_VOC
Definition: csound.h:406
CsoundTextEvent::CsoundTextEvent
CsoundTextEvent(const char *text)
Definition: csound_threaded.hpp:143
OPARMS::fft_lib
int fft_lib
Definition: csoundCore.h:264
insds::nxtact
struct insds * nxtact
Definition: csoundCore.h:514
csScoSortMask
const uint32_t csScoSortMask
LBLBLK
struct lblblk LBLBLK
cscoreListPlay
PUBLIC int cscoreListPlay(CSOUND *, EVLIST *)
ARRAYDAT::sizes
int * sizes
Definition: csoundCore.h:399
CSOUND_::libsndStatics__::inbuf
MYFLT * inbuf
Definition: csoundCore.h:1662
CSOUND_PARAMS::heartbeat
int heartbeat
Definition: csound.h:490
CSOUND_::GetDitherMode
int(* GetDitherMode)(CSOUND *)
Definition: csoundCore.h:1269
csoundSetInstrumentBreakpoint
PUBLIC void csoundSetInstrumentBreakpoint(CSOUND *csound, MYFLT instr, int skip)
Set a breakpoint for an instrument number.
MEMFIL
struct MEMFIL MEMFIL
oentry::intypes
char * intypes
Definition: csoundCore.h:290
csoundGetNamedGEN
PUBLIC void csoundGetNamedGEN(CSOUND *csound, int num, char *name, int len)
Gets the GEN name from a number num, if this is a named GEN The final parameter is the max len of the...
arg
Definition: csoundCore.h:273
MACRON::s
struct MACRO * s
Definition: csoundCore.h:889
CSOUND_::engineState
ENGINE_STATE engineState
Definition: csoundCore.h:1468
debug_instr_t
struct debug_instr_s debug_instr_t
CSOUND_::orchname
char * orchname
Definition: csoundCore.h:1465
CSOUND_::GetNchnls
uint32_t(* GetNchnls)(CSOUND *)
Get number of output channels.
Definition: csoundCore.h:1019
CSOUND_::FSeekAsync
int(* FSeekAsync)(CSOUND *, void *, int, int)
Definition: csoundCore.h:1249
CsoundThreaded::SetKperiodCallback
virtual void SetKperiodCallback(void(*kperiod_callback_)(CSOUND *, void *), void *kperiod_callback_user_data_)
Definition: csound_threaded.hpp:188
_alloc_data_::blk
EVTBLK blk
Definition: csoundCore.h:984
instr::opcode_info
struct opcodinfo * opcode_info
Definition: csoundCore.h:344
CSOUND_::last_callback_
SUBR last_callback_
Definition: csoundCore.h:1448
csoundGetRealTime
PUBLIC double csoundGetRealTime(RTCLOCK *)
Return the elapsed real time (in seconds) since the specified timer structure was initialised.
pvx_memfile_::filename
char * filename
Definition: csoundCore.h:757
CSOUND_::Die
CS_NORETURN CS_PRINTF2 void(* Die)(CSOUND *, const char *msg,...)
Definition: csoundCore.h:1169
csoundSetAudioChannel
PUBLIC void csoundSetAudioChannel(CSOUND *csound, const char *name, MYFLT *samples)
sets the audio channel identified by *name with data from array *samples which should contain at leas...
text::inArgCount
unsigned int inArgCount
Definition: csoundCore.h:308
midiglobals::sexp
int sexp
Definition: csoundCore.h:804
CSOUND_::initonly
int initonly
Definition: csoundCore.h:1554
csoundWriteCircularBuffer
PUBLIC int csoundWriteCircularBuffer(CSOUND *csound, void *p, const void *inp, int items)
Write to circular buffer.
csoundGetOutputBuffer
PUBLIC MYFLT * csoundGetOutputBuffer(CSOUND *)
Returns the address of the Csound audio output buffer.
CSOUND_::RegisterSenseEventCallback
int(* RegisterSenseEventCallback)(CSOUND *, void(*func)(CSOUND *, void *), void *userData)
Definition: csoundCore.h:1314
CSOUND_SIGNAL
@ CSOUND_SIGNAL
Definition: csound.h:340
CSOUND_::DestroyCircularBuffer
void(* DestroyCircularBuffer)(CSOUND *, void *)
Definition: csoundCore.h:1219
cscoreFileSetCurrent
PUBLIC void cscoreFileSetCurrent(CSOUND *, FILE *)
csoundSystemSr
PUBLIC MYFLT csoundSystemSr(CSOUND *csound, MYFLT val)
If val > 0, sets the internal variable holding the system HW sr.
CSFTYPE_MAT4
@ CSFTYPE_MAT4
Definition: csound.h:399
CSOUND_::sread__::op
int op
Definition: csoundCore.h:1598
MIDIMESSAGE::dwData
uint32 dwData
Definition: csoundCore.h:796
TREE
Definition: csound.h:595
CSOUND_::maxamp
MYFLT maxamp[MAXCHNLS]
Definition: csoundCore.h:1504
controlChannelHints_s::min
MYFLT min
Definition: csound.h:643
CSOUND_::musmonStatics__::segamps
int segamps
Definition: csoundCore.h:1654
CSOUND_::rtRecord_userdata
void * rtRecord_userdata
Definition: csoundCore.h:1540
csoundGetNchnls
PUBLIC uint32_t csoundGetNchnls(CSOUND *)
Returns the number of audio output channels.
CSFTYPE_ATS
@ CSFTYPE_ATS
Definition: csound.h:423
op::nxtop
struct op * nxtop
Definition: csoundCore.h:363
instr::opdstot
int32 opdstot
Definition: csoundCore.h:331
CSOUND_::evt_poll_cnt
int evt_poll_cnt
Definition: csoundCore.h:1555
DOWNDAT::auxch
AUXCH auxch
Definition: csoundCore.h:629
CSOUND_::Mforcdecs
int Mforcdecs
Definition: csoundCore.h:1557
ARRAYDAT::data
MYFLT * data
Definition: csoundCore.h:402
CsoundScoreEvent::CsoundScoreEvent
CsoundScoreEvent(char opcode_, const MYFLT *pfields_, long pfield_count)
Definition: csound_threaded.hpp:124
CSOUND_CONTROL_CHANNEL_LIN
@ CSOUND_CONTROL_CHANNEL_LIN
Definition: csound.h:631
CSOUND_::omaxpos
uint32 omaxpos[MAXCHNLS]
Definition: csoundCore.h:1507
controlChannelHints_s::height
int height
Definition: csound.h:648
CSOUND_::spin
MYFLT * spin
Definition: csoundCore.h:1521
MARKED_SECTIONS
struct marked_sections MARKED_SECTIONS
CSOUND_::alloc_queue
ALLOC_DATA * alloc_queue
Definition: csoundCore.h:1809
OPARMS::outformat
int outformat
Definition: csoundCore.h:235
MAX_MESSAGE_STR
#define MAX_MESSAGE_STR
Definition: csoundCore.h:991
FUNC::fno
int32 fno
table number
Definition: csoundCore.h:677
pvsdat_ext::NB
int32 NB
Definition: csound.h:577
text::outlist
ARGLST * outlist
Definition: csoundCore.h:306
CSOUND_::opcodedirWasOK
int opcodedirWasOK
Definition: csoundCore.h:1735
OPARMS::syntaxCheckOnly
int syntaxCheckOnly
Definition: csoundCore.h:256
insds::kcounter
uint64_t kcounter
Definition: csoundCore.h:551
CSOUND_::dead_instr_no
int dead_instr_no
Definition: csoundCore.h:1472
MIDIINBUFMAX
#define MIDIINBUFMAX
Definition: csoundCore.h:790
TREE::next
struct TREE * next
Definition: csound.h:604
ENGINE_STATE
struct engine_state ENGINE_STATE
This struct will hold the current engine state after compilation.
csoundGetScoreOffsetSeconds
PUBLIC MYFLT csoundGetScoreOffsetSeconds(CSOUND *)
Returns the score time beginning at which score events will actually immediately be performed (see cs...
CSOUND_::freeEvtNodes
EVTNODE * freeEvtNodes
Definition: csoundCore.h:1551
cscoreListFree
PUBLIC void cscoreListFree(CSOUND *, EVLIST *)
RPTDEPTH
#define RPTDEPTH
Definition: csoundCore.h:1616
csoundSetIsGraphable
PUBLIC int csoundSetIsGraphable(CSOUND *, int isGraphable)
Tells Csound whether external graphic table display is supported.
EVENT::op
char op
Definition: cscore.h:72
CSFTYPE_SDIF
@ CSFTYPE_SDIF
Definition: csound.h:425
OPARMS::midiVelocityAmp
int midiVelocityAmp
Definition: csoundCore.h:252
csoundSetRtrecordCallback
PUBLIC void csoundSetRtrecordCallback(CSOUND *, int(*rtrecord__)(CSOUND *, MYFLT *inBuf, int nbytes))
Sets a function to be called by Csound for performing real-time audio recording.
CSOUND_::delayr_stack_depth
int delayr_stack_depth
Definition: csoundCore.h:1685
CSOUND_::Remove_KeyCallback
void(* Remove_KeyCallback)(CSOUND *, int(*func)(void *, void *, unsigned int))
Definition: csoundCore.h:1312
csoundGetFirstMessage
PUBLIC const char * csoundGetFirstMessage(CSOUND *csound)
Returns the first message from the buffer.
CS_AUDIODEVICE
Device information.
Definition: csound.h:518
CSFTYPE_SNAPSHOT
@ CSFTYPE_SNAPSHOT
Definition: csound.h:431
NAME__::nxt
struct NAME__ * nxt
Definition: csoundCore.h:925
CSOUND_::parserNamedInstrFlag
int parserNamedInstrFlag
Definition: csoundCore.h:1779
CSOUND_::memalloc_db
void * memalloc_db
Definition: csoundCore.h:1569
CSOUND_::SetUtilityDescription
int(* SetUtilityDescription)(CSOUND *, const char *utilName, const char *utilDesc)
Definition: csoundCore.h:1347
SPECDAT::ktimstamp
uint32_t ktimstamp
Definition: csoundCore.h:633
csoundSetFileOpenCallback
PUBLIC void csoundSetFileOpenCallback(CSOUND *p, void(*func)(CSOUND *, const char *, int, int, int))
Sets an external callback for receiving notices whenever Csound opens a file.
midiglobals::MidiReadCallback
int(* MidiReadCallback)(CSOUND *, void *, unsigned char *, int)
Definition: csoundCore.h:809
MEVENT::chan
int16 chan
Definition: csoundCore.h:712
TEXT
struct text TEXT
Storage for parsed orchestra code, for each opcode in an INSTRTXT.
CSOUND_::libsndStatics__::sfoutname
char * sfoutname
Definition: csoundCore.h:1661
CSOUND_::genmax
int genmax
Definition: csoundCore.h:1562
CSOUND_ERROR
@ CSOUND_ERROR
Definition: csound.h:332
pvx_memfile_::chans
int chans
Definition: csoundCore.h:766
FUNC
Definition: csoundCore.h:651
oentry::aopadr
int(* aopadr)(CSOUND *, void *p)
Definition: csoundCore.h:293
midiglobals::datcnt
int16 datcnt
Definition: csoundCore.h:823
csoundCompileCsd
PUBLIC int csoundCompileCsd(CSOUND *csound, const char *csd_filename)
Compiles a Csound input file (CSD, .csd file), but does not perform it.
CSOUND_::GetChannelPtr
int(* GetChannelPtr)(CSOUND *, MYFLT **, const char *, int)
Definition: csoundCore.h:1393
FUNC::gen01args
GEN01ARGS gen01args
GEN01 parameters.
Definition: csoundCore.h:683
CSOUND_::system_sr
MYFLT(* system_sr)(CSOUND *, MYFLT)
Definition: csoundCore.h:1368
csoundGetNchnlsInput
PUBLIC uint32_t csoundGetNchnlsInput(CSOUND *csound)
Returns the number of audio input channels.
monblk::pch
int16 pch
Definition: csoundCore.h:419
CSOUND_SUCCESS
@ CSOUND_SUCCESS
Definition: csound.h:330
MEMFIL
Definition: csoundCore.h:702
CSOUND_::Free
void(* Free)(CSOUND *, void *ptr)
Definition: csoundCore.h:1095
CSOUND_::nxtbt
double nxtbt
Definition: csoundCore.h:1565
csoundSetMakeGraphCallback
PUBLIC void csoundSetMakeGraphCallback(CSOUND *, void(*makeGraphCallback_)(CSOUND *, WINDAT *windat, const char *name))
Called by external software to set Csound's MakeGraph function.
CSOUND_::RealFFTnp2
void(* RealFFTnp2)(CSOUND *, MYFLT *buf, int FFTsize)
Definition: csoundCore.h:1147
csoundScoreEventAsync
PUBLIC void csoundScoreEventAsync(CSOUND *, char type, const MYFLT *pFields, long numFields)
Asynchronous version of csoundScoreEvent().
_message_queue_t_::attr
int attr
Definition: csoundCore.h:993
ARRAYDAT::allocated
size_t allocated
Definition: csoundCore.h:403
CSOUND_::RunCommand
long(* RunCommand)(const char *const *argv, int noWait)
Definition: csoundCore.h:1355
CSOUND_::InitTimerStruct
void(* InitTimerStruct)(RTCLOCK *)
Definition: csoundCore.h:1208
event::p3orig
MYFLT p3orig
Length.
Definition: csoundCore.h:492
csoundSetDrawGraphCallback
PUBLIC void csoundSetDrawGraphCallback(CSOUND *, void(*drawGraphCallback_)(CSOUND *, WINDAT *windat))
Called by external software to set Csound's DrawGraph function.
CSOUND_::powerof2
MYFLT * powerof2
Definition: csoundCore.h:1785
OPARMS::quality
double quality
Definition: csoundCore.h:262
csoundUnlockMutex
PUBLIC void csoundUnlockMutex(void *mutex_)
Releases the indicated mutex object, which should be owned by the current thread, otherwise the opera...
csoundDeleteUtilityList
PUBLIC void csoundDeleteUtilityList(CSOUND *, char **lst)
Releases an utility list previously returned by csoundListUtilities().
csoundLockMutex
PUBLIC void csoundLockMutex(void *mutex_)
Acquires the indicated mutex object; if it is already in use by another thread, the function waits un...
CSOUND_::nxtim
double nxtim
Definition: csoundCore.h:1566
CSOUND_::csRandState
CsoundRandMTState * csRandState
Definition: csoundCore.h:1517
CSOUND_::memfiles
MEMFIL * memfiles
Definition: csoundCore.h:1572
CSOUND_::WriteAsync
unsigned int(* WriteAsync)(CSOUND *, void *, MYFLT *, int)
Definition: csoundCore.h:1248
event::scnt
int scnt
String argument(s) (NULL if none)
Definition: csoundCore.h:481
csoundDeleteChannelList
PUBLIC void csoundDeleteChannelList(CSOUND *, controlChannelInfo_t *lst)
Releases a channel list previously returned by csoundListChannels().
CSOUND_::file_io_start
int file_io_start
Definition: csoundCore.h:1584
CSOUND_::csoundMessageCallback_
void(* csoundMessageCallback_)(CSOUND *, int attr, const char *format, va_list args)
Definition: csoundCore.h:1437
insds
This struct holds the info for a concrete instrument event instance in performance.
Definition: csoundCore.h:504
insds::pds
struct opds * pds
Definition: csoundCore.h:555
breakpoint_cb_t
void(* breakpoint_cb_t)(CSOUND *, debug_bkpt_info_t *, void *userdata)
Breakpoint callback function type.
Definition: csdebug.h:156
csoundEvalCode
PUBLIC MYFLT csoundEvalCode(CSOUND *csound, const char *str)
Parse and compile an orchestra given on an string, evaluating any global space code (i-time only).
CSOUND_::SetIsGraphable
int(* SetIsGraphable)(CSOUND *, int isGraphable)
Definition: csoundCore.h:1297
MBUFSIZ
#define MBUFSIZ
Definition: csoundCore.h:789
CSOUND_PARAMS::tempo
int tempo
Definition: csound.h:485
CSOUND_::FDRecord
void(* FDRecord)(CSOUND *, FDCH *fdchp)
Definition: csoundCore.h:1233
CSOUND_::ftError
int(* ftError)(const FGDATA *, const char *,...)
Definition: csoundCore.h:1382
CSOUND_::oparms_
OPARMS oparms_
Definition: csoundCore.h:1744
csOrcMask
const uint32_t csOrcMask
CSOUND_::smaxamp
MYFLT smaxamp[MAXCHNLS]
Definition: csoundCore.h:1505
CSOUND_PARAMS::FFT_library
int FFT_library
Definition: csound.h:512
AUXCH
struct auxch AUXCH
CSOUND_::inerrcnt
int inerrcnt
Definition: csoundCore.h:1545
CSOUND_::ISSTRCOD
int(* ISSTRCOD)(MYFLT)
Definition: csoundCore.h:1376
EVENT::h
CSHDR h
Definition: cscore.h:70
CSOUND_::CreateGlobalVariable
int(* CreateGlobalVariable)(CSOUND *, const char *name, size_t nbytes)
Definition: csoundCore.h:1119
CSFTYPE_XI
@ CSFTYPE_XI
Definition: csound.h:407
CSOUND_::prvbt
double prvbt
Definition: csoundCore.h:1565
pvx_memfile_::nxt
struct pvx_memfile_ * nxt
Definition: csoundCore.h:758
NGFENS
Definition: csoundCore.h:695
CSOUND_::jumpset
int jumpset
Definition: csoundCore.h:1791
MEVENT::dat2
int16 dat2
Definition: csoundCore.h:714
csoundGetTableArgs
PUBLIC int csoundGetTableArgs(CSOUND *csound, MYFLT **argsPtr, int tableNum)
Stores pointer to the arguments used to generate function table 'tableNum' in *argsPtr,...
midiglobals::MidiInCloseCallback
int(* MidiInCloseCallback)(CSOUND *, void *)
Definition: csoundCore.h:810
instr::nxtop
struct op * nxtop
Definition: csoundCore.h:321
CSOUND_::disprep_fftcoefs
MYFLT * disprep_fftcoefs
Definition: csoundCore.h:1742
CSOUND_::PVOC_PutFrames
int(* PVOC_PutFrames)(CSOUND *, int, const float *, int32)
Definition: csoundCore.h:1159
CSOUND_::beatOffs
double beatOffs
Definition: csoundCore.h:1485
csoundGetTable
PUBLIC int csoundGetTable(CSOUND *, MYFLT **tablePtr, int tableNum)
Stores pointer to function table 'tableNum' in *tablePtr, and returns the table length (not including...
csoundCondSignal
PUBLIC void csoundCondSignal(void *condVar)
Signals a conditional variable.
CSOUND_::sread__::clock_base
MYFLT clock_base
Definition: csoundCore.h:1603
csoundJoinThread
PUBLIC uintptr_t csoundJoinThread(void *thread)
Waits until the indicated thread's routine has finished.
CSOUND_::instRoot
struct instr_semantics_t * instRoot
Definition: csoundCore.h:1763
csoundSetOption
PUBLIC int csoundSetOption(CSOUND *csound, const char *option)
Set a single csound option (flag).
csoundSetLanguage
PUBLIC void csoundSetLanguage(cslanguage_t lang_code)
Set language to 'lang_code' (lang_code can be for example CSLANGUAGE_ENGLISH_UK or CSLANGUAGE_FRENCH ...
CSFTYPE_XSCANU_MATRIX
@ CSFTYPE_XSCANU_MATRIX
Definition: csound.h:437
csoundModuleDestroy
PUBLIC int csoundModuleDestroy(CSOUND *)
DOWNDAT::srate
MYFLT srate
Definition: csoundCore.h:627
insds::spin
MYFLT * spin
Definition: csoundCore.h:568
csoundSetExternalMidiReadCallback
PUBLIC void csoundSetExternalMidiReadCallback(CSOUND *, int(*func)(CSOUND *, void *userData, unsigned char *buf, int nBytes))
Sets callback for reading from real time MIDI input.
CSOUND_::sread__::unused_int7
int32 unused_int7[RPTDEPTH]
Definition: csoundCore.h:1619
AUXASYNC::csound
CSOUND * csound
Definition: csoundCore.h:390
concurrent_queue
A thread-safe queue, or first-in first-out (FIFO) queue, implemented using only the standard C++11 li...
Definition: csound_threaded.hpp:64
TEMPO::ktempo
MYFLT * ktempo
Definition: csoundCore.h:834
CSOUND_::rtplay_callback
void(* rtplay_callback)(CSOUND *, const MYFLT *outBuf, int nbytes)
Definition: csoundCore.h:1451
namedInstr::ip
INSTRTXT * ip
Definition: csoundCore.h:354
csoundIsScorePending
PUBLIC int csoundIsScorePending(CSOUND *)
Sets whether Csound score events are performed or not, independently of real-time MIDI events (see cs...
CSFTYPE_SCORE_OUT
@ CSFTYPE_SCORE_OUT
Definition: csound.h:376
eventnode::start_kcnt
uint32 start_kcnt
Definition: csoundCore.h:828
csRtAudioParams::nChannels
int nChannels
number of channels
Definition: csound.h:548
concurrent_queue::empty
bool empty() const
Definition: csound_threaded.hpp:77
CSOUND_::UnlockMutex
void(* UnlockMutex)(void *mutex_)
Definition: csoundCore.h:1201
CSOUND_::spoutlock
spin_lock_t spoutlock
Definition: csoundCore.h:1591
CsoundThreaded::ScoreEvent
virtual int ScoreEvent(char opcode, const MYFLT *pfields, long pfield_count)
Enqueues a low-level score event with raw pfields for dispatch from the performance thread routine.
Definition: csound_threaded.hpp:279
csoundFlushCircularBuffer
PUBLIC void csoundFlushCircularBuffer(CSOUND *csound, void *p)
Empty circular buffer of any remaining data.
FUNC::loopmode1
int16 loopmode1
sustain loop mode (0: none, 1: forward, 2: forward and backward)
Definition: csoundCore.h:665
CSFTYPE_PAF
@ CSFTYPE_PAF
Definition: csound.h:402
debug_variable_s
Definition: csdebug.h:83
CSOUND_::SF_id_scopyright
int SF_id_scopyright
Definition: csoundCore.h:1724
csoundSetExitGraphCallback
PUBLIC void csoundSetExitGraphCallback(CSOUND *, int(*exitGraphCallback_)(CSOUND *))
Called by external software to set Csound's ExitGraph function.
fdch::fd
void * fd
handle returned by csound->FileOpen()
Definition: csoundCore.h:370
CSOUND_::revlpsiz
int32 revlpsiz[6]
Definition: csoundCore.h:1688
CSOUND_::ugens4_rand_15
int ugens4_rand_15
Definition: csoundCore.h:1740
CSOUND_::searchPathCache
void * searchPathCache
Definition: csoundCore.h:1695
csoundRemoveKeyboardCallback
PUBLIC void csoundRemoveKeyboardCallback(CSOUND *csound, int(*func)(void *, void *, unsigned int))
Removes a callback previously set with csoundRegisterKeyboardCallback().
CSOUND_::recopen_callback
int(* recopen_callback)(CSOUND *, const csRtAudioParams *parm)
Definition: csoundCore.h:1452
CSOUND_::SetMIDIDeviceListCallback
void(* SetMIDIDeviceListCallback)(CSOUND *csound, int(*audiodevlist__)(CSOUND *, CS_MIDIDEVICE *list, int isOutput))
Definition: csoundCore.h:1287
csoundTableLength
PUBLIC int csoundTableLength(CSOUND *, int table)
Returns the length of a function table (not including the guard point), or -1 if the table does not e...
CSOUND_::DebugMsg
CS_PRINTF2 void(* DebugMsg)(CSOUND *, const char *msg,...)
Definition: csoundCore.h:1173
_FFT_SETUP::M
int M
Definition: csoundCore.h:961
CSOUND_::RealFFT2
void(* RealFFT2)(CSOUND *csound, void *p, MYFLT *sig)
Definition: csoundCore.h:1380
CSOUND_::Pow2
MYFLT(* Pow2)(CSOUND *, MYFLT a)
Definition: csoundCore.h:1070
CSOUND_::MessageV
void(* MessageV)(CSOUND *, int attr, const char *format, va_list args)
Definition: csoundCore.h:1042
controlChannelHints_t
struct controlChannelHints_s controlChannelHints_t
This structure holds the parameter hints for control channels.
debug_bkpt_info_t::breakpointInstr
debug_instr_t * breakpointInstr
Definition: csdebug.h:91
cshdr
Definition: cscore.h:61
instr::insname
char * insname
Definition: csoundCore.h:345
instr::maxalloc
int maxalloc
Definition: csoundCore.h:342
ORCTOKEN::fvalue
double fvalue
Definition: csound.h:590
csoundGetVersion
PUBLIC int csoundGetVersion(void)
Returns the version number times 1000 (5.00.0 = 5000).
CSOUND_::GetInverseRealFFTScale
MYFLT(* GetInverseRealFFTScale)(CSOUND *, int FFTsize)
Definition: csoundCore.h:1140
eventnode
Definition: csoundCore.h:826
CSFTYPE_WAVE
@ CSFTYPE_WAVE
Definition: csound.h:386
cscoreListGetUntil
PUBLIC EVLIST * cscoreListGetUntil(CSOUND *, MYFLT)
CSOUND_::csoundScoreOffsetSeconds_
MYFLT csoundScoreOffsetSeconds_
Definition: csoundCore.h:1682
opds::nxti
struct opds * nxti
Next opcode in init-time chain.
Definition: csoundCore.h:601
csoundGetMessageLevel
PUBLIC int csoundGetMessageLevel(CSOUND *)
Returns the Csound message level (from 0 to 231).
cscoreGetEvent
PUBLIC EVENT * cscoreGetEvent(CSOUND *)
instr::cpuload
MYFLT cpuload
Definition: csoundCore.h:343
CSOUND_::envVarDB
CS_HASH_TABLE * envVarDB
Definition: csoundCore.h:1571
CSOUND_::SetExternalMidiWriteCallback
void(* SetExternalMidiWriteCallback)(CSOUND *, int(*func)(CSOUND *, void *, const unsigned char *, int))
Definition: csoundCore.h:1281
CSOUND_::doCsoundCallback
int(* doCsoundCallback)(CSOUND *, void *, unsigned int)
Definition: csoundCore.h:1457
csoundRegisterKeyboardCallback
PUBLIC int csoundRegisterKeyboardCallback(CSOUND *, int(*func)(void *userData, void *p, unsigned int type), void *userData, unsigned int type)
Registers general purpose callback functions that will be called to query keyboard events.
CsoundThreaded::CsoundThreaded
CsoundThreaded(void *host_data)
Definition: csound_threaded.hpp:181
csPlayScoMask
const uint32_t csPlayScoMask
CSOUND_::MessageS
CS_PRINTF3 void(* MessageS)(CSOUND *, int attr, const char *fmt,...)
Definition: csoundCore.h:1041
OPARMS::RTevents
int RTevents
Definition: csoundCore.h:240
CSOUND_::lineventStatics__::oflag
int oflag
Definition: csoundCore.h:1647
CSOUND_::sread__::unused_int5
int unused_int5
Definition: csoundCore.h:1620
OPARMS::sfwrite
int sfwrite
Definition: csoundCore.h:233
DKLST
struct dklst DKLST
MACRO::next
struct MACRO * next
Definition: csoundCore.h:897
FFT_INV
@ FFT_INV
Definition: csoundCore.h:218
CSOUND_::SetMessageLevel
void(* SetMessageLevel)(CSOUND *, int messageLevel)
Definition: csoundCore.h:1044
namedInstr::name
char * name
Definition: csoundCore.h:353
CORFIL::len
unsigned int len
Definition: csoundCore.h:227
CSOUND_::ListChannels
int(* ListChannels)(CSOUND *, controlChannelInfo_t **)
Definition: csoundCore.h:1394
insds::xtratim
int xtratim
Definition: csoundCore.h:524
CSOUND_::msg_queue_items
volatile long msg_queue_items
Definition: csoundCore.h:1806
csoundQueryGlobalVariableNoCheck
PUBLIC void * csoundQueryGlobalVariableNoCheck(CSOUND *, const char *name)
This function is the same as csoundQueryGlobalVariable(), except the variable is assumed to exist and...
FUNC::end2
int32 end2
Definition: csoundCore.h:671
pvsdat_ext
Definition: csound.h:574
insds::nxtoff
struct insds * nxtoff
Definition: csoundCore.h:518
csoundGetKsmps
PUBLIC uint32_t csoundGetKsmps(CSOUND *)
Returns the number of audio sample frames per control sample.
CSOUND_PARAMS::control_rate_override
MYFLT control_rate_override
Definition: csound.h:506
CSFTYPE_HETRO
@ CSFTYPE_HETRO
Definition: csound.h:417
CSOUND_::spraw
MYFLT * spraw
Definition: csoundCore.h:1523
midiglobals::datreq
int16 datreq
Definition: csoundCore.h:823
CSOUND_::SF_id_date
char * SF_id_date
Definition: csoundCore.h:1728
CSFTYPE_OTHER_TEXT
@ CSFTYPE_OTHER_TEXT
Definition: csound.h:451
cscoreListAppendList
PUBLIC EVLIST * cscoreListAppendList(CSOUND *, EVLIST *, EVLIST *)
csoundSetScoreOffsetSeconds
PUBLIC void csoundSetScoreOffsetSeconds(CSOUND *, MYFLT time)
Csound score events prior to the specified time are not performed, and performance begins immediately...
midiglobals::endatp
unsigned char * endatp
Definition: csoundCore.h:822
insds::lclbas
MYFLT * lclbas
Definition: csoundCore.h:574
arg::argPtr
void * argPtr
Definition: csoundCore.h:275
CSOUND_::RealFFTMult
void(* RealFFTMult)(CSOUND *, MYFLT *outbuf, MYFLT *buf1, MYFLT *buf2, int FFTsize, MYFLT scaleFac)
Definition: csoundCore.h:1145
CSOUND_CONTROL_CHANNEL_NO_HINTS
@ CSOUND_CONTROL_CHANNEL_NO_HINTS
Definition: csound.h:629
CSOUND_PARAMS::compute_weights
int compute_weights
Definition: csound.h:502
CSOUND_::scoreout
FILE * scoreout
Definition: csoundCore.h:1509
CSOUND_PARAMS::no_default_paths
int no_default_paths
Definition: csound.h:498
mchnblk::monocur
MONPCH * monocur
Definition: csoundCore.h:448
csoundSetHostImplementedMIDIIO
PUBLIC void csoundSetHostImplementedMIDIIO(CSOUND *csound, int state)
call this function with state 1 if the host is implementing MIDI via the callbacks below.
concurrent_queue::queue_
std::queue< Data > queue_
Definition: csound_threaded.hpp:66
dklst::keylst
MYFLT keylst[1]
cnt + keynos
Definition: csoundCore.h:437
pvx_memfile_
Definition: csoundCore.h:756
debug_opcode_s::line
int line
Definition: csdebug.h:77
CSOUND_::scorein
FILE * scorein
Definition: csoundCore.h:1508
CSOUND_::GetMidiChannelNumber
int(* GetMidiChannelNumber)(void *p)
Definition: csoundCore.h:1054
CSOUND_OUTPUT_CHANNEL
@ CSOUND_OUTPUT_CHANNEL
Definition: csound.h:625
dklst::pgmno
int32 pgmno
Definition: csoundCore.h:435
concurrent_queue::mutex_
std::mutex mutex_
Definition: csound_threaded.hpp:67
names
Definition: csoundCore.h:843
text::outArgs
ARG * outArgs
Definition: csoundCore.h:309
CSOUND_::sstrbuf
char * sstrbuf
Definition: csoundCore.h:1679
csoundGetInputBufferSize
PUBLIC long csoundGetInputBufferSize(CSOUND *)
Returns the number of samples in Csound's input buffer.
auxch::nxtchp
struct auxch * nxtchp
Definition: csoundCore.h:374
csoundGetCurrentThreadId
PUBLIC void * csoundGetCurrentThreadId(void)
Returns the ID of the currently executing thread, or NULL for failure.
csRtAudioParams
Real-time audio parameters structure.
Definition: csound.h:538
CSOUND_::dl_opcodes_oplibs
char * dl_opcodes_oplibs
Definition: csoundCore.h:1720
cscoreFileGetCurrent
PUBLIC FILE * cscoreFileGetCurrent(CSOUND *)
OPARMS::rewrt_hdr
int rewrt_hdr
Definition: csoundCore.h:242
instr::pending_release
int pending_release
Definition: csoundCore.h:341
CSFTYPE_FLOATS_TEXT
@ CSFTYPE_FLOATS_TEXT
Definition: csound.h:440
csoundSetPvsChannel
PUBLIC int csoundSetPvsChannel(CSOUND *, const PVSDATEXT *fin, const char *name)
Sends a PVSDATEX fin to the pvsin opcode (f-rate) for channel 'name'.
oentry::thread
uint8_t thread
Definition: csoundCore.h:288
CSOUND_::GetMidiVelocity
int(* GetMidiVelocity)(void *p)
Definition: csoundCore.h:1057
OPARMS::postscript
int postscript
Definition: csoundCore.h:237
cscoreFileClose
PUBLIC void cscoreFileClose(CSOUND *, FILE *)
CSOUND_::int1
int int1
Definition: csoundCore.h:1760
CSOUND_::flist
FUNC ** flist
Definition: csoundCore.h:1559
engine_state::maxopcno
int maxopcno
Definition: csoundCore.h:949
OCTDAT::scount
int32 scount
Definition: csoundCore.h:622
CSOUND_::PerfError
CS_PRINTF3 int(* PerfError)(CSOUND *, OPDS *h, const char *msg,...)
Definition: csoundCore.h:1171
csoundGetKr
PUBLIC MYFLT csoundGetKr(CSOUND *)
Returns the number of control samples per second.
csoundGetSr
PUBLIC MYFLT csoundGetSr(CSOUND *)
Returns the number of audio sample frames per second.
CSFTYPE_WVE
@ CSFTYPE_WVE
Definition: csound.h:393
CSOUND_::msg_queue_rstart
volatile long msg_queue_rstart
Definition: csoundCore.h:1805
CSOUND_::SF_id_title
char * SF_id_title
Definition: csoundCore.h:1722
CSOUND_::sread__::prvp2
MYFLT prvp2
Definition: csoundCore.h:1602
CSOUND_::opcodes
CS_HASH_TABLE * opcodes
Definition: csoundCore.h:1496
csoundSetMIDIFileOutput
PUBLIC void csoundSetMIDIFileOutput(CSOUND *csound, const char *name)
Set MIDI file utput name.
MACRO
Definition: csoundCore.h:893
CSOUND_::dispexit
int(* dispexit)(CSOUND *)
Definition: csoundCore.h:1295
CSOUND_::AuxAlloc
void(* AuxAlloc)(CSOUND *, size_t nbytes, AUXCH *auxchp)
Definition: csoundCore.h:1090
CSOUND_::pointer2
void * pointer2
Definition: csoundCore.h:1759
CSFTYPE_OGG
@ CSFTYPE_OGG
Definition: csound.h:394
CSOUND_::isintab
int16 * isintab
Definition: csoundCore.h:1730
CSOUND_::libsndStatics__::outbuf
MYFLT * outbuf
Definition: csoundCore.h:1663
mchnblk::kinsptr
struct insds * kinsptr[128]
list of active notes (NULL: not active)
Definition: csoundCore.h:450
OPARMS::realtime
int realtime
Definition: csoundCore.h:259
CSOUND_::stdin_assign_flg
char stdin_assign_flg
Definition: csoundCore.h:1715
insds::retval
MYFLT retval
Definition: csoundCore.h:573
csoundSpinLockInit
PUBLIC int csoundSpinLockInit(spin_lock_t *spinlock)
If the spinlock is not locked, lock it and return; if is is locked, wait until it is unlocked,...
midiglobals::midiFileData
void * midiFileData
Definition: csoundCore.h:817
csoundReadScore
PUBLIC int csoundReadScore(CSOUND *csound, const char *str)
Read, preprocess, and load a score from an ASCII string It can be called repeatedly,...
DPEXCL
Definition: csoundCore.h:423
CSOUND_::chanof
char * chanof
Definition: csoundCore.h:1749
CSFTYPE_MIDI_SYSEX
@ CSFTYPE_MIDI_SYSEX
Definition: csound.h:414
CSOUND_::AuxAllocAsync
int(* AuxAllocAsync)(CSOUND *, size_t, AUXCH *, AUXASYNC *, aux_cb, void *)
Definition: csoundCore.h:1384
csoundCreateBarrier
PUBLIC void * csoundCreateBarrier(unsigned int max)
Create a Thread Barrier.
OPARMS::sfsampsize
int sfsampsize
Definition: csoundCore.h:236
CSOUND_::sread__::unused_int8
int unused_int8
Definition: csoundCore.h:1625
CSOUND_::PVOC_fseek
int(* PVOC_fseek)(CSOUND *, int, int)
Definition: csoundCore.h:1162
kperf_debug
int kperf_debug(CSOUND *csound)
CSOUND_::libsndStatics__::pipdevout
int pipdevout
Definition: csoundCore.h:1671
CsoundThreaded::kperiod_callback_user_data
void * kperiod_callback_user_data
Definition: csound_threaded.hpp:169
CSOUND_::TableLength
int(* TableLength)(CSOUND *, int table)
Definition: csoundCore.h:1111
SNDMEMFILE_::scaleFac
double scaleFac
amplitude scale factor
Definition: csoundCore.h:751
_alloc_data_::ids
OPDS * ids
Definition: csoundCore.h:988
CSOUND_::directory
void * directory
Definition: csoundCore.h:1808
CSOUND_CONTROL_CHANNEL_EXP
@ CSOUND_CONTROL_CHANNEL_EXP
Definition: csound.h:632
CSOUND_::sread__::input_size
int input_size
Definition: csoundCore.h:1610
FUNC::flen
uint32_t flen
table length, not including the guard point
Definition: csoundCore.h:653
debug_variable_s::typeName
const char * typeName
Definition: csdebug.h:85
PVSDATEXT
struct pvsdat_ext PVSDATEXT
CSOUND_::maxfnum
int maxfnum
Definition: csoundCore.h:1560
midiglobals
Definition: csoundCore.h:802
cscoreListPut
PUBLIC void cscoreListPut(CSOUND *, EVLIST *)
csoundAppendOpcode
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 *))
Appends an opcode implemented by external software to Csound's internal opcode list.
CSOUND_::RegisterResetCallback
int(* RegisterResetCallback)(CSOUND *, void *userData, int(*func)(CSOUND *, void *))
Definition: csoundCore.h:1318
CSOUND_CONTROL_CHANNEL_INT
@ CSOUND_CONTROL_CHANNEL_INT
Definition: csound.h:630
namelst::name
char * name
Definition: csoundCore.h:919
OPARMS
Definition: csoundCore.h:231
CsoundThreaded::~CsoundThreaded
virtual ~CsoundThreaded()
Definition: csound_threaded.hpp:182
insds::ekr
MYFLT ekr
Definition: csoundCore.h:553
csoundSetDefaultMessageCallback
PUBLIC void csoundSetDefaultMessageCallback(void(*csoundMessageCallback_)(CSOUND *, int attr, const char *format, va_list valist))
csoundGetAPIVersion
PUBLIC int csoundGetAPIVersion(void)
Returns the API version number times 100 (1.00 = 100).
INSTRNAME
struct namedInstr INSTRNAME
CSOUND_::GetErrorCnt
int(* GetErrorCnt)(CSOUND *)
Definition: csoundCore.h:1395
engine_state::instrtxtp
INSTRTXT ** instrtxtp
Definition: csoundCore.h:950
ORCTOKEN::lexeme
char * lexeme
Definition: csound.h:588
TREE::value
ORCTOKEN * value
Definition: csound.h:597
CSOUND_::tempStatus
uint32_t tempStatus
Definition: csoundCore.h:1773
CSOUND_::GetInputBufferSize
long(* GetInputBufferSize)(CSOUND *)
Definition: csoundCore.h:1026
_FFT_SETUP
Nen FFT interface.
Definition: csoundCore.h:960
CSOUND_INPUT_CHANNEL
@ CSOUND_INPUT_CHANNEL
Definition: csound.h:624
AUXASYNC
AuxAllocAsync data.
Definition: csoundCore.h:389
CSOUND_::aftouch
int aftouch
Definition: csoundCore.h:1807
CSOUND_::frstoff
INSDS * frstoff
Definition: csoundCore.h:1511
controlChannelBehavior
controlChannelBehavior
Definition: csound.h:628
pvsdat_ext::N
int32 N
Definition: csound.h:575
opcodinfo::ip
INSTRTXT * ip
Definition: csoundCore.h:938
CsoundTextEvent::operator()
virtual int operator()(CSOUND *csound_)
Dispatches the event to Csound during performance.
Definition: csound_threaded.hpp:147
CSOUND_::GetTieFlag
int(* GetTieFlag)(CSOUND *)
Definition: csoundCore.h:1063
mchnblk::dparms
DPARM * dparms
drumset params
Definition: csoundCore.h:473
CSOUND_PARAMS::postscript_graphs
int postscript_graphs
Definition: csound.h:483
op
A chain of TEXT structs.
Definition: csoundCore.h:362
CSOUND_::onedsr
MYFLT onedsr
Definition: csoundCore.h:1531
channelCallback_t
void(* channelCallback_t)(CSOUND *csound, const char *channelName, void *channelValuePtr, const void *channelType)
Definition: csound.h:659
opcodinfo
Definition: csoundCore.h:932
CSFTYPE_FTABLES_TEXT
@ CSFTYPE_FTABLES_TEXT
Definition: csound.h:435
CSFTYPE_UNUSED
@ CSFTYPE_UNUSED
Definition: csound.h:429
insds::prvinstance
struct insds * prvinstance
Definition: csoundCore.h:512
CSOUND_::stdOp_Env
void * stdOp_Env
reserved for std opcode library
Definition: csoundCore.h:1513
csoundGetRandomSeedFromTime
PUBLIC uint32_t csoundGetRandomSeedFromTime(void)
Return a 32-bit unsigned integer to be used as seed from current time.
CSOUND_::rtclose_callback
void(* rtclose_callback)(CSOUND *)
Definition: csoundCore.h:1454
event::c
union event::@2 c
CSOUND_CHANNEL_TYPE_MASK
@ CSOUND_CHANNEL_TYPE_MASK
Definition: csound.h:622
csoundGetAudioDevList
PUBLIC int csoundGetAudioDevList(CSOUND *csound, CS_AUDIODEVICE *list, int isOutput)
This function can be called to obtain a list of available input or output audio devices.
SPECDAT::npts
int32 npts
Definition: csoundCore.h:634
csoundGetScoreTime
PUBLIC double csoundGetScoreTime(CSOUND *)
Returns the current score time in seconds since the beginning of performance.
debug_opcode_t
struct debug_opcode_s debug_opcode_t
CSOUND_::FFT_table_2
void * FFT_table_2
Definition: csoundCore.h:1576
CSOUND_::GetOutputBufferSize
long(* GetOutputBufferSize)(CSOUND *)
Definition: csoundCore.h:1027
CSOUND_::init_event
EVTBLK * init_event
Definition: csoundCore.h:1813
CSOUND_::SetDrawGraphCallback
void(* SetDrawGraphCallback)(CSOUND *, void(*drawGraphCallback)(CSOUND *, WINDAT *p))
Definition: csoundCore.h:1301
RTCLOCK_S::starttime_real
int_least64_t starttime_real
Definition: csound.h:556
text::inlist
ARGLST * inlist
Definition: csoundCore.h:305
CSOUND_::barrier2
void * barrier2
Definition: csoundCore.h:1755
CSOUND_::SetMessageCallback
void(* SetMessageCallback)(CSOUND *, void(*csoundMessageCallback)(CSOUND *, int attr, const char *format, va_list valist))
Definition: csoundCore.h:1045
eventnode::evt
EVTBLK evt
Definition: csoundCore.h:829
CSOUND_::libsndStatics__::nframes
uint32 nframes
Definition: csoundCore.h:1672
CSOUND_::dag_task_map
INSDS ** dag_task_map
Definition: csoundCore.h:1767
CSOUND_::timeOffs
double timeOffs
start time of current section
Definition: csoundCore.h:1485
csoundSetExternalMidiInOpenCallback
PUBLIC void csoundSetExternalMidiInOpenCallback(CSOUND *, int(*func)(CSOUND *, void **userData, const char *devName))
Sets callback for opening real time MIDI input.
csoundGetChannelLock
PUBLIC int * csoundGetChannelLock(CSOUND *, const char *name)
Recovers a pointer to a lock for the specified channel called 'name'.
CSOUND_::multiThreadedDag
struct dag_t * multiThreadedDag
Definition: csoundCore.h:1753
CSOUND_::file_io_thread
void * file_io_thread
Definition: csoundCore.h:1583
CSOUND_::alloc_spinlock
spin_lock_t alloc_spinlock
Definition: csoundCore.h:1812
CSOUND_::sread__::unused_ptr2
MACRO * unused_ptr2
Definition: csoundCore.h:1607
insds::opcod_iobufs
void * opcod_iobufs
Definition: csoundCore.h:559
CSOUND_::sread__::nocarry
int nocarry
Definition: csoundCore.h:1629
insds::subins_deact
void * subins_deact
Definition: csoundCore.h:560
csoundSetAudioDeviceListCallback
PUBLIC void csoundSetAudioDeviceListCallback(CSOUND *csound, int(*audiodevlist__)(CSOUND *, CS_AUDIODEVICE *list, int isOutput))
Sets a function that is called to obtain a list of audio devices.
CSOUND_PARAMS::realtime_mode
int realtime_mode
Definition: csound.h:503
XYINDAT
struct xyindat_ XYINDAT
Definition: csound.h:469
csoundStart
PUBLIC int csoundStart(CSOUND *csound)
Prepares Csound for performance.
CSOUND_::keep_tmp
int keep_tmp
Definition: csoundCore.h:1495
cscoreListSort
PUBLIC void cscoreListSort(CSOUND *, EVLIST *)
insds::fdchp
FDCH * fdchp
Definition: csoundCore.h:520
CSOUND_::rtrecord_callback
int(* rtrecord_callback)(CSOUND *, MYFLT *inBuf, int nbytes)
Definition: csoundCore.h:1453
CSOUND_::sread__::unused_ptr0
MACRO * unused_ptr0[RPTDEPTH]
Definition: csoundCore.h:1621
CSOUND_::xfilename
char * xfilename
Definition: csoundCore.h:1493
MACRON
Definition: csoundCore.h:886
OPARMS::numThreads
int numThreads
Definition: csoundCore.h:255
csoundDebuggerInit
PUBLIC void csoundDebuggerInit(CSOUND *csound)
Intialize debugger facilities.
CSOUND_::strsmax
int strsmax
Definition: csoundCore.h:1519
CSOUND_::GetCurrentTimeSamples
int64_t(* GetCurrentTimeSamples)(CSOUND *)
Definition: csoundCore.h:1025
csoundCompileArgs
PUBLIC int csoundCompileArgs(CSOUND *, int argc, const char **argv)
Read arguments, parse and compile an orchestra, read, process and load a score.
debug_bkpt_info_t::currentOpcode
debug_opcode_t * currentOpcode
Definition: csdebug.h:94
CSOUND_::printerrormessagesflag
void * printerrormessagesflag
Definition: csoundCore.h:1594
csoundGetRtRecordUserData
PUBLIC void ** csoundGetRtRecordUserData(CSOUND *)
Return pointer to user data pointer for real time audio input.
engine_state
This struct will hold the current engine state after compilation.
Definition: csoundCore.h:945
CSOUND_::libsndStatics__::outbufp
MYFLT * outbufp
Definition: csoundCore.h:1664
SNDMEMFILE_::sampleRate
double sampleRate
sample rate in Hz
Definition: csoundCore.h:726
CSOUND_::SeedRandMT
void(* SeedRandMT)(CsoundRandMTState *p, const uint32_t *initKey, uint32_t keyLength)
Definition: csoundCore.h:1182
text
Storage for parsed orchestra code, for each opcode in an INSTRTXT.
Definition: csoundCore.h:300
CSFTYPE_FLOATS_BINARY
@ CSFTYPE_FLOATS_BINARY
Definition: csound.h:441
CSOUND_::musmonStatics__::epend
EVENT ** epend
Definition: csoundCore.h:1655
csdebug_data_s::bkpt_buffer
void * bkpt_buffer
Definition: csdebug.h:159
csoundSetMIDIModule
PUBLIC void csoundSetMIDIModule(CSOUND *csound, const char *module)
Sets the current MIDI IO module.
CSOUND_STRING_CHANNEL
@ CSOUND_STRING_CHANNEL
Definition: csound.h:618
CSOUND_::RunUtility
int(* RunUtility)(CSOUND *, const char *name, int argc, char **argv)
Definition: csoundCore.h:1345
CSOUND_PARAMS::ring_bell
int ring_bell
Definition: csound.h:486
CSOUND_::cscoreCallback_
void(* cscoreCallback_)(CSOUND *)
Definition: csoundCore.h:1446
EVENT::pcnt
int16 pcnt
Definition: cscore.h:73
csoundClearBreakpoints
PUBLIC void csoundClearBreakpoints(CSOUND *csound)
Clear all breakpoints.
EVTNODE
struct eventnode EVTNODE
csoundGetMessageCnt
PUBLIC int csoundGetMessageCnt(CSOUND *csound)
Returns the number of pending messages in the buffer.
debug_instr_s::next
struct debug_instr_s * next
Definition: csdebug.h:72
cscoreFreeEvent
PUBLIC void cscoreFreeEvent(CSOUND *, EVENT *)
MACRO::name
char * name
Definition: csoundCore.h:894
CsoundEvent::~CsoundEvent
virtual ~CsoundEvent()
Definition: csound_threaded.hpp:109
CSOUND_::musmonStatics__::srngcnt
int32 srngcnt[MAXCHNLS]
Definition: csoundCore.h:1650
csoundUDPServerStart
PUBLIC int csoundUDPServerStart(CSOUND *csound, unsigned int port)
Starts the UDP server on a supplied port number returns CSOUND_SUCCESS if server has been started suc...
controlChannelHints_s::width
int width
Definition: csound.h:647
csoundGetSpin
PUBLIC MYFLT * csoundGetSpin(CSOUND *)
Returns the address of the Csound audio input working buffer (spin).
csoundSetControlChannel
PUBLIC void csoundSetControlChannel(CSOUND *csound, const char *name, MYFLT val)
sets the value of control channel identified by *name
CsoundThreaded::performance_thread
std::thread performance_thread
Definition: csound_threaded.hpp:166
CSOUND_::SetExternalMidiOutCloseCallback
void(* SetExternalMidiOutCloseCallback)(CSOUND *, int(*func)(CSOUND *, void *))
Definition: csoundCore.h:1283
CSOUND_::info_message_request
int info_message_request
Definition: csoundCore.h:1792
threadInfo
Definition: csoundCore.h:848
csoundWaitThreadLock
PUBLIC int csoundWaitThreadLock(void *lock, size_t milliseconds)
Waits on the indicated monitor object for the indicated period.
csoundReset
PUBLIC void csoundReset(CSOUND *)
Resets all internal memory and state in preparation for a new performance.
mchnblk::ksuscnt
int16 ksuscnt
number of held (sustaining) notes
Definition: csoundCore.h:464
CSOUND_::namedGlobals
CS_HASH_TABLE * namedGlobals
Definition: csoundCore.h:1563
CsoundScoreEvent::pfields
std::vector< MYFLT > pfields
Definition: csound_threaded.hpp:123
CSOUND_::msg_queue_wput
volatile long msg_queue_wput
Definition: csoundCore.h:1804
csoundRemoveBreakpoint
PUBLIC void csoundRemoveBreakpoint(CSOUND *csound, int line, int instr)
Remove a previously set line breakpoint.
csoundGetControlChannelHints
PUBLIC int csoundGetControlChannelHints(CSOUND *, const char *name, controlChannelHints_t *hints)
Returns special parameters (assuming there are any) of a control channel, previously set with csoundS...
csoundOpenLibrary
PUBLIC int csoundOpenLibrary(void **library, const char *libraryPath)
Platform-independent function to load a shared library.
_message_queue_t_
Definition: csoundCore.h:992
TREE::markup
void * markup
Definition: csound.h:605
GEN01ARGS::iformat
MYFLT iformat
Definition: csoundCore.h:645
CSOUND_::CloseLibrary
int(* CloseLibrary)(void *library)
Definition: csoundCore.h:1357
CSOUND_PARAMS::nchnls_i_override
int nchnls_i_override
Definition: csound.h:508
CsoundTextEvent::events
std::string events
Definition: csound_threaded.hpp:142
CSOUND_::lineventStatics__::prve
EVTBLK prve
Definition: csoundCore.h:1643
opds::iopadr
SUBR iopadr
Initialization (i-time) function pointer.
Definition: csoundCore.h:605
csoundWaitThreadLockNoTimeout
PUBLIC void csoundWaitThreadLockNoTimeout(void *lock)
Waits on the indicated monitor object until it is notified.
CSOUND_::sread__::sp
char * sp
Definition: csoundCore.h:1597
csoundPeekCircularBuffer
PUBLIC int csoundPeekCircularBuffer(CSOUND *csound, void *circular_buffer, void *out, int items)
Read from circular buffer without removing them from the buffer.
csoundGetMIDIDevList
PUBLIC int csoundGetMIDIDevList(CSOUND *csound, CS_MIDIDEVICE *list, int isOutput)
This function can be called to obtain a list of available input or output midi devices.
CSOUND_::SetKillGraphCallback
void(* SetKillGraphCallback)(CSOUND *, void(*killGraphCallback)(CSOUND *, WINDAT *p))
Definition: csoundCore.h:1303
MGLOBAL
struct midiglobals MGLOBAL
CSOUND_::SetExternalMidiOutOpenCallback
void(* SetExternalMidiOutOpenCallback)(CSOUND *, int(*func)(CSOUND *, void **, const char *))
Definition: csoundCore.h:1279
opcodinfo::inchns
int16 inchns
Definition: csoundCore.h:935
CSFTYPE_SDS
@ CSFTYPE_SDS
Definition: csound.h:404
FGDATA::guardreq
int guardreq
Definition: csoundCore.h:691
MEMFIL::beginp
char * beginp
Definition: csoundCore.h:704
monblk
Definition: csoundCore.h:418
controlChannelHints_s::dflt
MYFLT dflt
Definition: csound.h:642
CSFTYPE_UNKNOWN_AUDIO
@ CSFTYPE_UNKNOWN_AUDIO
Definition: csound.h:408
mchnblk
Definition: csoundCore.h:440
CSOUND_PARAMS::number_of_threads
int number_of_threads
Definition: csound.h:499
OENTRY
struct oentry OENTRY
CSOUND_::ids
OPDS * ids
Definition: csoundCore.h:1467
pvx_memfile_::srate
MYFLT srate
Definition: csoundCore.h:767
CSOUND_::SVrecvbuf
REMOT_BUF SVrecvbuf
Definition: csoundCore.h:1745
OPARMS::sr_override
float sr_override
Definition: csoundCore.h:244
TEMPO::h
OPDS h
Definition: csoundCore.h:833
CSFTYPE_W64
@ CSFTYPE_W64
Definition: csound.h:389
OPARMS::noDefaultPaths
int noDefaultPaths
Definition: csoundCore.h:253
_FFT_SETUP::setup
void * setup
Definition: csoundCore.h:962
opcodinfo::intypes
char * intypes
Definition: csoundCore.h:934
TREE::len
int len
Definition: csound.h:599
CSOUND_::libsndStatics__
Definition: csoundCore.h:1658
CSOUND_::sread__::linpos
int linpos
Definition: csoundCore.h:1600
CSOUND_::GetRealTime
double(* GetRealTime)(RTCLOCK *)
Definition: csoundCore.h:1209
ARRAYDAT
Definition: csoundCore.h:397
csoundSetMIDIFileInput
PUBLIC void csoundSetMIDIFileInput(CSOUND *csound, const char *name)
Set MIDI file input name.
opcodeListEntry::flags
int flags
Definition: csound.h:564
mchnblk::klists
DKLST * klists
chain of dpgm keylists
Definition: csoundCore.h:471
CSOUND_::enableMsgAttr
int enableMsgAttr
Definition: csoundCore.h:1680
CSOUND_::score_parser
int score_parser
Definition: csoundCore.h:1798
_message_queue_t_::str
char str[MAX_MESSAGE_STR]
Definition: csoundCore.h:994
csoundLockMutexNoWait
PUBLIC int csoundLockMutexNoWait(void *mutex_)
Acquires the indicated mutex object and returns zero, unless it is already in use by another thread,...
CSOUND_::lineventStatics__
Definition: csoundCore.h:1640
CSOUND_::frstbp
SRTBLK * frstbp
Definition: csoundCore.h:1543
FUNC::nchanls
int32 nchanls
number of channels
Definition: csoundCore.h:675
CSOUND_::evt_poll_maxcnt
int evt_poll_maxcnt
Definition: csoundCore.h:1556
OPARMS::Midiname
char * Midiname
Definition: csoundCore.h:248
CsoundTextEvent
Specialization of CsoundEvent for high-level textual score events, fragments of scores,...
Definition: csound_threaded.hpp:141
midiglobals::MidiInOpenCallback
int(* MidiInOpenCallback)(CSOUND *, void **, const char *)
Definition: csoundCore.h:808
insds::onedksmps
MYFLT onedksmps
Definition: csoundCore.h:554
csoundScoreEvent
PUBLIC int csoundScoreEvent(CSOUND *, char type, const MYFLT *pFields, long numFields)
Send a new score event.
controlChannelHints_s::x
int x
Definition: csound.h:645
CSOUND_::randState_
CsoundRandMTState randState_
Definition: csoundCore.h:1737
CSOUND_::NotifyThreadLock
void(* NotifyThreadLock)(void *lock)
Definition: csoundCore.h:1196
CSOUND_::libsndStatics__::outfile
SNDFILE * outfile
Definition: csoundCore.h:1659
midiglobals::MidiOutOpenCallback
int(* MidiOutOpenCallback)(CSOUND *, void **, const char *)
Definition: csoundCore.h:811
CSOUND_::SetReleaseLengthSeconds
MYFLT(* SetReleaseLengthSeconds)(void *p, MYFLT n)
Definition: csoundCore.h:1053
CSOUND_::utility_db
void * utility_db
Definition: csoundCore.h:1729
CSOUND_PARAMS::buffer_frames
int buffer_frames
Definition: csound.h:479
csoundSetPlayopenCallback
PUBLIC void csoundSetPlayopenCallback(CSOUND *, int(*playopen__)(CSOUND *, const csRtAudioParams *parm))
Sets a function to be called by Csound for opening real-time audio playback.
CSOUND_::first_callback_
SUBR first_callback_
Definition: csoundCore.h:1434
ARRAYDAT::arrayMemberSize
int arrayMemberSize
Definition: csoundCore.h:400
csoundListUtilities
PUBLIC char ** csoundListUtilities(CSOUND *)
Returns a NULL terminated list of registered utility names.
CSOUND_::AppendOpcodes
int(* AppendOpcodes)(CSOUND *, const OENTRY *opcodeList, int n)
Definition: csoundCore.h:1330
CSOUND_::kicvt
MYFLT kicvt
Definition: csoundCore.h:1535
CSOUND_::intpow
MYFLT(* intpow)(MYFLT, int32)
Definition: csoundCore.h:1072
CSOUND_::midiGlobals
MGLOBAL * midiGlobals
Definition: csoundCore.h:1570
csoundGetPvsChannel
PUBLIC int csoundGetPvsChannel(CSOUND *csound, PVSDATEXT *fout, const char *name)
Receives a PVSDAT fout from the pvsout opcode (f-rate) at channel 'name' Returns zero on success,...
in_stack_s::mac
MACRO * mac
Definition: csoundCore.h:907
CSOUND_::libsndStatics__::outbufsiz
unsigned int outbufsiz
Definition: csoundCore.h:1668
CSOUND_::message_buffer
void * message_buffer
Definition: csoundCore.h:1790
PVOCEX_MEMFILE
struct pvx_memfile_ PVOCEX_MEMFILE
THREADINFO
struct threadInfo THREADINFO
text::oentry
OENTRY * oentry
Definition: csoundCore.h:303
csoundPerform
PUBLIC int csoundPerform(CSOUND *)
Senses input events and performs audio output until the end of score is reached (positive return valu...
CSOUND_::Rand31
int(* Rand31)(int *seedVal)
Definition: csoundCore.h:1185
CSOUND_::sread__::nxp
char * nxp
Definition: csoundCore.h:1597
text::locn
uint64_t locn
Definition: csoundCore.h:302
csoundSetRecopenCallback
PUBLIC void csoundSetRecopenCallback(CSOUND *, int(*recopen_)(CSOUND *, const csRtAudioParams *parm))
Sets a function to be called by Csound for opening real-time audio recording.
instr::instance
struct insds * instance
Definition: csoundCore.h:334
CSOUND_::insert_score_event_at_sample
int(* insert_score_event_at_sample)(CSOUND *, EVTBLK *, int64_t)
Definition: csoundCore.h:1338
pvx_memfile_::wintype
int wintype
Definition: csoundCore.h:765
insds::tieflag
int tieflag
Definition: csoundCore.h:571
csdebug_data_s
Definition: csdebug.h:158
insds::m_pitch
unsigned char m_pitch
Definition: csoundCore.h:536
CSOUND_::_system_sr
MYFLT _system_sr
Definition: csoundCore.h:1794
csoundGetInputBuffer
PUBLIC MYFLT * csoundGetInputBuffer(CSOUND *)
Returns the address of the Csound audio input buffer.
OPARMS::termifend
int termifend
Definition: csoundCore.h:241
CSOUND_::csoundKillGraphCallback_
void(* csoundKillGraphCallback_)(CSOUND *, WINDAT *windat)
Definition: csoundCore.h:1443
csoundTableGet
PUBLIC MYFLT csoundTableGet(CSOUND *, int table, int index)
Returns the value of a slot in a function table.
CSOUND_::dag_task_watch
watchList *volatile * dag_task_watch
Definition: csoundCore.h:1769
insds::p2
CS_VAR_MEM p2
Definition: csoundCore.h:579
_FFT_SETUP::p2
int p2
Definition: csoundCore.h:966
TEMPO
Definition: csoundCore.h:832
CSFTYPE_FLAC
@ CSFTYPE_FLAC
Definition: csound.h:391
TREE::locn
uint64_t locn
Definition: csound.h:601
CSOUND_::MTrkend
int MTrkend
Definition: csoundCore.h:1557
debug_instr_s
Definition: csdebug.h:65
CSOUND_::sscanf
int(* sscanf)(char *str, const char *format,...)
Definition: csoundCore.h:1367
CSOUND_::currentLPCSlot
int currentLPCSlot
Definition: csoundCore.h:1732
OPARMS::useCsdLineCounts
int useCsdLineCounts
Definition: csoundCore.h:257
CSFTYPE_UNIFIED_CSD
@ CSFTYPE_UNIFIED_CSD
Definition: csound.h:370
RTCLOCK_S
Definition: csound.h:555
insds::m_sust
int16 m_sust
Definition: csoundCore.h:534
NAMELST
struct namelst NAMELST
CORFIL
Definition: csoundCore.h:225
CSOUND_::sread__::linepos
int linepos
Definition: csoundCore.h:1613
CSOUND_::GetKr
MYFLT(* GetKr)(CSOUND *)
Definition: csoundCore.h:1016
cshdr::nxtblk
struct cshdr * nxtblk
Definition: cscore.h:63
csoundGetDebug
PUBLIC int csoundGetDebug(CSOUND *)
Returns whether Csound is set to print debug messages sent through the DebugMsg() internal API functi...
CSOUND_::OrcTrigEvts
EVTNODE * OrcTrigEvts
Definition: csoundCore.h:1550
CSOUND_::strarg2insno
int32(* strarg2insno)(CSOUND *, void *p, int is_string)
Definition: csoundCore.h:1084
_alloc_data_::type
int type
Definition: csoundCore.h:982
WINDAT
struct windat_ WINDAT
Definition: csound.h:468
CSOUND_::libsndStatics__::pipdevin
int pipdevin
Definition: csoundCore.h:1671
CSOUND_::dag_num_active
int dag_num_active
Definition: csoundCore.h:1766
CSOUND_::InputChannelCallback_
channelCallback_t InputChannelCallback_
Definition: csoundCore.h:1435
EVLIST::nslots
int nslots
Definition: cscore.h:82
CSOUND_::advanceCnt
int64_t advanceCnt
Definition: csoundCore.h:1553
CSOUND_::maxpos
uint32 maxpos[MAXCHNLS]
Definition: csoundCore.h:1507
cscoreListCount
PUBLIC int cscoreListCount(CSOUND *, EVLIST *)
MACRO::margs
int margs
Definition: csoundCore.h:898
SPECDAT::auxch
AUXCH auxch
Definition: csoundCore.h:636
CsoundThreaded::Stop
virtual void Stop()
Signals the performance thread routine to stop and return.
Definition: csound_threaded.hpp:309
OPCODINFO
struct opcodinfo OPCODINFO
insds::onedkr
MYFLT onedkr
Definition: csoundCore.h:554
mchnblk::pbensens
MYFLT pbensens
pitch bend sensitivity in semitones
Definition: csoundCore.h:462
CSOUND_::instCurr
struct instr_semantics_t * instCurr
Definition: csoundCore.h:1762
CSOUND_::csoundMessageStringCallback
void(* csoundMessageStringCallback)(CSOUND *csound, int attr, const char *str)
Definition: csoundCore.h:1814
csoundRunCommand
PUBLIC long csoundRunCommand(const char *const *argv, int noWait)
Runs an external command with the arguments specified in 'argv'.
CSOUND_::dag_changed
int dag_changed
Definition: csoundCore.h:1765
marked_sections
Definition: csoundCore.h:912
CSOUND_::SetRtrecordCallback
void(* SetRtrecordCallback)(CSOUND *, int(*rtrecord__)(CSOUND *, MYFLT *inBuf, int nbytes))
Definition: csoundCore.h:1262
ARRAYDAT::dimensions
int dimensions
Definition: csoundCore.h:398
CSOUND_::alloc_queue_items
volatile unsigned long alloc_queue_items
Definition: csoundCore.h:1810
CSOUND_::RegisterDeinitCallback
int(* RegisterDeinitCallback)(CSOUND *, void *p, int(*func)(CSOUND *, void *))
Definition: csoundCore.h:1316
instr::act_instance
struct insds * act_instance
Definition: csoundCore.h:337
CSOUND_::sread__
Definition: csoundCore.h:1595
OPTXT
struct op OPTXT
A chain of TEXT structs.
CSOUND_::message_string_queue_wp
unsigned long message_string_queue_wp
Definition: csoundCore.h:1819
debug_instr_s::p2
MYFLT p2
Definition: csdebug.h:69
CSOUND_::esr
MYFLT esr
Definition: csoundCore.h:1479
instr::vmax
int vmax
Definition: csoundCore.h:323
CSOUND_::sftype2csfiletype
int(* sftype2csfiletype)(int type)
Definition: csoundCore.h:1242
opds::insdshead
INSDS * insdshead
Owner instrument instance data structure.
Definition: csoundCore.h:611
CsoundThreaded::ClearQueue
void ClearQueue()
Definition: csound_threaded.hpp:171
insds::nxtp
struct opds * nxtp
Definition: csoundCore.h:508
CSFTYPE_SCRIPT_TEXT
@ CSFTYPE_SCRIPT_TEXT
Definition: csound.h:450
MAXCHNLS
#define MAXCHNLS
Definition: csoundCore.h:174
in_stack_s
Definition: csoundCore.h:902
CSOUND_::JoinThread
uintptr_t(* JoinThread)(void *thread)
Definition: csoundCore.h:1192
CSFTYPE_AIFF
@ CSFTYPE_AIFF
Definition: csound.h:384
insds::m_chnbp
MCHNBLK * m_chnbp
Definition: csoundCore.h:526
instr::pextrab
int pextrab
Definition: csoundCore.h:323
arglst
Definition: csoundCore.h:268
CSOUND_::TableGet
MYFLT(* TableGet)(CSOUND *, int table, int index)
Definition: csoundCore.h:1112
monblk::prv
struct monblk * prv
Definition: csoundCore.h:420
concurrent_queue::condition_variable_
std::condition_variable condition_variable_
Definition: csound_threaded.hpp:68
CSOUND_::dag_wlmm
watchList * dag_wlmm
Definition: csoundCore.h:1770
CSOUND_FFT_SETUP
struct _FFT_SETUP CSOUND_FFT_SETUP
Nen FFT interface.
OPARMS::outbufsamps
int outbufsamps
Definition: csoundCore.h:234
TREE::line
int line
Definition: csound.h:600
CSOUND_PARAMS::midi_key_oct
int midi_key_oct
Definition: csound.h:494
CSOUND_::PVOC_GetFrames
int(* PVOC_GetFrames)(CSOUND *, int, float *, uint32)
Definition: csoundCore.h:1160
NAME__::type
int type
Definition: csoundCore.h:926
CSOUND_::WaitThreadLockNoTimeout
void(* WaitThreadLockNoTimeout)(void *lock)
Definition: csoundCore.h:1197
CSOUND_::expanded_orc
CORFIL * expanded_orc
Definition: csoundCore.h:1787
MACRO::acnt
int acnt
Definition: csoundCore.h:895
csoundAddSpinSample
PUBLIC void csoundAddSpinSample(CSOUND *csound, int frame, int channel, MYFLT sample)
Adds the indicated sample into the audio input working buffer (spin); this only ever makes sense befo...
insds::prvact
struct insds * prvact
Definition: csoundCore.h:516
OPARMS::odebug
int odebug
Definition: csoundCore.h:232
midiglobals::mbuf
unsigned char mbuf[MBUFSIZ]
Definition: csoundCore.h:821
CSOUND_::perferrcnt
int perferrcnt
Definition: csoundCore.h:1545
SNDMEMFILE_::startOffs
double startOffs
playback start offset frames
Definition: csoundCore.h:743
CSOUND_::barrier1
void * barrier1
Definition: csoundCore.h:1754
dklst
Definition: csoundCore.h:433
csoundIsNamedGEN
PUBLIC int csoundIsNamedGEN(CSOUND *csound, int num)
Checks if a given GEN number num is a named GEN if so, it returns the string length (excluding termin...
MACRON
struct MACRON MACRON
pvsdat_ext::wintype
int wintype
Definition: csound.h:580
threadInfo::threadId
void * threadId
Definition: csoundCore.h:850
FGDATA
Definition: csoundCore.h:688
MARGS
#define MARGS
Definition: csoundCore.h:882
CSFTYPE_SD2
@ CSFTYPE_SD2
Definition: csound.h:388
CSOUND_::sread
struct CSOUND_::sread__ sread
insds::p3
CS_VAR_MEM p3
Definition: csoundCore.h:580
CSOUND_::rngcnt
int32 rngcnt[MAXCHNLS]
Definition: csoundCore.h:1547
csoundKillInstance
PUBLIC int csoundKillInstance(CSOUND *csound, MYFLT instr, char *instrName, int mode, int allow_release)
Kills off one or more running instances of an instrument identified by instr (number) or instrName (n...
debug_instr_s::varPoolHead
CS_VARIABLE * varPoolHead
Definition: csdebug.h:66
ISSTRCOD
int ISSTRCOD(MYFLT)
CSOUND_::last_delayr
void * last_delayr
Definition: csoundCore.h:1687
insds::insno
int16 insno
Definition: csoundCore.h:530
CSOUND_::sicvt
MYFLT sicvt
Definition: csoundCore.h:1531
CSOUND_::SF_id_copyright
char * SF_id_copyright
Definition: csoundCore.h:1723
CSOUND_::Warning
CS_PRINTF2 void(* Warning)(CSOUND *, const char *msg,...)
Definition: csoundCore.h:1172
CSOUND_::GetKcounter
uint64_t(* GetKcounter)(CSOUND *)
Get number of control blocks elapsed.
Definition: csoundCore.h:1024
csoundSetExternalMidiOutCloseCallback
PUBLIC void csoundSetExternalMidiOutCloseCallback(CSOUND *, int(*func)(CSOUND *, void *userData))
Sets callback for closing real time MIDI output.
csoundGetModule
PUBLIC int csoundGetModule(CSOUND *csound, int number, char **name, char **type)
retrieves a module name and type ("audio" or "midi") given a number Modules are added to list as csou...
CSOUND_::RewindScore
void(* RewindScore)(CSOUND *)
Definition: csoundCore.h:1374
CSOUND_::ibeatTime
int64_t ibeatTime
beat time = 60 / tempo
Definition: csoundCore.h:1489
CSOUND_::curTime_inc
double curTime_inc
Definition: csoundCore.h:1483
CSOUND_::FTDelete
int(* FTDelete)(CSOUND *, int tableNum)
Definition: csoundCore.h:1102
TREE::left
struct TREE * left
Definition: csound.h:602
CSOUND_::orchstr
CORFIL * orchstr
Definition: csoundCore.h:1466
CSOUND_::libsndStatics__::dither
int dither
Definition: csoundCore.h:1674
IN_STACK
struct in_stack_s IN_STACK
RTCLOCK
struct RTCLOCK_S RTCLOCK
CSOUND_::ugens4_rand_16
int ugens4_rand_16
Definition: csoundCore.h:1739
csoundRunUtility
PUBLIC int csoundRunUtility(CSOUND *, const char *name, int argc, char **argv)
Run utility with the specified name and command line arguments.
CSOUND_::midi_dev_list_callback
int(* midi_dev_list_callback)(CSOUND *, CS_MIDIDEVICE *, int)
Definition: csoundCore.h:1456
CSOUND_::PVOC_OpenFile
int(* PVOC_OpenFile)(CSOUND *, const char *, void *, void *)
Definition: csoundCore.h:1157
CSOUND_::SetExternalMidiInCloseCallback
void(* SetExternalMidiInCloseCallback)(CSOUND *, int(*func)(CSOUND *, void *))
Definition: csoundCore.h:1277
_alloc_data_
Definition: csoundCore.h:981
auxch::size
size_t size
Definition: csoundCore.h:375
CSOUND_::LongJmp
CS_NORETURN void(* LongJmp)(CSOUND *, int)
Definition: csoundCore.h:1174
CsoundRandMTState_
Definition: csound.h:567
csoundInputMessage
PUBLIC void csoundInputMessage(CSOUND *, const char *message)
Input a NULL-terminated string (as if from a console), used for line events.
csoundGetAudioChannel
PUBLIC void csoundGetAudioChannel(CSOUND *csound, const char *name, MYFLT *samples)
copies the audio channel identified by *name into array *samples which should contain enough memory f...
CSOUND_::strsets
char ** strsets
Definition: csoundCore.h:1520
event::opcod
char opcod
Event type.
Definition: csoundCore.h:486
CSOUND_::smaxpos
uint32 smaxpos[MAXCHNLS]
Definition: csoundCore.h:1507
pvsdat_ext::frame
float * frame
Definition: csound.h:583
CSOUND_::nspout
int nspout
Definition: csoundCore.h:1525
SNDMEMFILE_::baseFreq
double baseFreq
base frequency (in Hz)
Definition: csoundCore.h:749
csoundScoreEventAbsoluteAsync
PUBLIC void csoundScoreEventAbsoluteAsync(CSOUND *, char type, const MYFLT *pfields, long numFields, double time_ofs)
Asynchronous version of csoundScoreEventAbsolute().
CSOUND_::sinetable
FUNC * sinetable
Definition: csoundCore.h:1783
CSOUND_::SetMakeGraphCallback
void(* SetMakeGraphCallback)(CSOUND *, void(*makeGraphCallback)(CSOUND *, WINDAT *p, const char *name))
Definition: csoundCore.h:1298
FUNC::argcnt
int argcnt
arg count
Definition: csoundCore.h:681
CSOUND_::pvErrorCode
int pvErrorCode
Definition: csoundCore.h:1700
AUXASYNC::notify
aux_cb notify
Definition: csoundCore.h:394
PFFT_LIB
@ PFFT_LIB
Definition: csoundCore.h:217
debug_opcode_s
Definition: csdebug.h:75
CSOUND_::sread__::prvibp
SRTBLK * prvibp
Definition: csoundCore.h:1596
CSOUND_::e0dbfs
MYFLT e0dbfs
Definition: csoundCore.h:1538
CSOUND_::GetInverseComplexFFTScale
MYFLT(* GetInverseComplexFFTScale)(CSOUND *, int FFTsize)
Definition: csoundCore.h:1139
MACRO
struct MACRO MACRO
EVENT::p2orig
MYFLT p2orig
Definition: cscore.h:74
pvsdat_ext::framecount
uint32 framecount
Definition: csound.h:582
CSOUND_::dbfs_to_float
MYFLT dbfs_to_float
Definition: csoundCore.h:1538
pvsdat_ext::winsize
int32 winsize
Definition: csound.h:579
csoundClearSpin
PUBLIC void csoundClearSpin(CSOUND *)
Clears the input buffer (spin).
debug_variable_t
struct debug_variable_s debug_variable_t
csoundWaitBarrier
PUBLIC int csoundWaitBarrier(void *barrier)
Wait on the thread barrier.
cscoreCopyEvent
PUBLIC EVENT * cscoreCopyEvent(CSOUND *, EVENT *)
insds::nxtd
void * nxtd
Definition: csoundCore.h:562
CSOUND_::ComplexFFT
void(* ComplexFFT)(CSOUND *, MYFLT *buf, int FFTsize)
Definition: csoundCore.h:1141
GEN01ARGS
Definition: csoundCore.h:641
CSOUND_::symbtab
CS_HASH_TABLE * symbtab
Definition: csoundCore.h:1799
CSOUND_::typePool
TYPE_POOL * typePool
Definition: csoundCore.h:1473
text::pftype
char pftype
Definition: csoundCore.h:312
SNDMEMFILE_::loopEnd
double loopEnd
loop end (sample frames)
Definition: csoundCore.h:747
lblblk::h
OPDS h
Definition: csoundCore.h:615
CSFTYPE_LORIS
@ CSFTYPE_LORIS
Definition: csound.h:424
CSOUND_::pointer1
void * pointer1
Definition: csoundCore.h:1758
CSOUND_::tran_nchnlsi
int tran_nchnlsi
Definition: csoundCore.h:1780
CSOUND_::pvNumFiles
int pvNumFiles
Definition: csoundCore.h:1699
STRINGDAT::size
int size
Definition: csoundCore.h:415
CSOUND_::init_pass_threadlock
void * init_pass_threadlock
Definition: csoundCore.h:1589
TABDAT
Definition: csoundCore.h:407
CsoundThreaded::PerformRoutine
virtual int PerformRoutine()
Definition: csound_threaded.hpp:193
csoundSetStringChannel
PUBLIC void csoundSetStringChannel(CSOUND *csound, const char *name, char *string)
sets the string channel identified by *name with *string
csoundSetMIDIDeviceListCallback
PUBLIC void csoundSetMIDIDeviceListCallback(CSOUND *csound, int(*mididevlist__)(CSOUND *, CS_MIDIDEVICE *list, int isOutput))
Sets a function that is called to obtain a list of MIDI devices.
CSOUND_::m_chnbp
MCHNBLK * m_chnbp[MIDIMAXPORTS *16]
reserve space for up to MIDIMAXPORTS MIDI devices
Definition: csoundCore.h:1529
CSOUND_::csoundInternalYieldCallback_
int(* csoundInternalYieldCallback_)(CSOUND *)
Definition: csoundCore.h:1458
CSOUND_::GetRandomSeedFromTime
uint32_t(* GetRandomSeedFromTime)(void)
Definition: csoundCore.h:1181
insds::reinitflag
int reinitflag
Definition: csoundCore.h:572
FGDATA::csound
CSOUND * csound
Definition: csoundCore.h:689
csoundGetCurrentTimeSamples
PUBLIC int64_t csoundGetCurrentTimeSamples(CSOUND *csound)
Return the current performance time in samples.
CSOUND_::orcname_mode
char orcname_mode
Definition: csoundCore.h:1717
MEVENT
Definition: csoundCore.h:710
CSOUND_::audtran
void(* audtran)(CSOUND *, const MYFLT *, int)
Definition: csoundCore.h:1463
CSOUND_::PerformKsmps
int(* PerformKsmps)(CSOUND *)
Definition: csoundCore.h:1339
csoundMessageV
PUBLIC void csoundMessageV(CSOUND *, int attr, const char *format, va_list args)
csoundDeleteTree
PUBLIC void csoundDeleteTree(CSOUND *csound, TREE *tree)
Free the resources associated with the TREE *tree This function should be called whenever the TREE wa...
mchnblk::datenabl
int datenabl
Definition: csoundCore.h:469
CSOUND_PARAMS::nchnls_override
int nchnls_override
Definition: csound.h:507
CSOUND_::inchnls
int inchnls
Definition: csoundCore.h:1476
csoundTableCopyIn
PUBLIC void csoundTableCopyIn(CSOUND *csound, int table, MYFLT *src)
Copy the contents of an array *src into a given function table The table number is assumed to be vali...
CSOUND_::synterrcnt
int synterrcnt
Definition: csoundCore.h:1545
debug_instr_s::p3
MYFLT p3
Definition: csdebug.h:69
CSOUND_::rngflg
int16 rngflg
Definition: csoundCore.h:1548
ARGLST
struct arglst ARGLST
csoundScoreSort
PUBLIC int csoundScoreSort(CSOUND *, FILE *inFile, FILE *outFile)
Sorts score file 'inFile' and writes the result to 'outFile'.
RTCLOCK_S::starttime_CPU
int_least64_t starttime_CPU
Definition: csound.h:557
CSOUND_::schedule_kicked
void * schedule_kicked
Definition: csoundCore.h:1741
csoundCreateMessageBuffer
PUBLIC void csoundCreateMessageBuffer(CSOUND *csound, int toStdOut)
Creates a buffer for storing messages printed by Csound.
CSOUND_::dag_task_status
volatile stateWithPadding * dag_task_status
Definition: csoundCore.h:1768
CSOUND_::SF_id_comment
char * SF_id_comment
Definition: csoundCore.h:1727
insds::actflg
char actflg
Definition: csoundCore.h:542
CSOUND_::SetExternalMidiErrorStringCallback
void(* SetExternalMidiErrorStringCallback)(CSOUND *, const char *(*func)(int))
Definition: csoundCore.h:1285
csoundDebuggerClean
PUBLIC void csoundDebuggerClean(CSOUND *csound)
Cleanup debugger facilities.
CSOUND_::tseg
void * tseg
Definition: csoundCore.h:1578
csoundSetExternalMidiWriteCallback
PUBLIC void csoundSetExternalMidiWriteCallback(CSOUND *, int(*func)(CSOUND *, void *userData, const unsigned char *buf, int nBytes))
Sets callback for writing to real time MIDI output.
CsoundThreaded::PerformAndResetRoutine
virtual int PerformAndResetRoutine()
Definition: csound_threaded.hpp:222
CSOUND_::SetReleaseLength
int(* SetReleaseLength)(void *p, int n)
Definition: csoundCore.h:1052
csoundSetBreakpoint
PUBLIC void csoundSetBreakpoint(CSOUND *csound, int line, int instr, int skip)
Set a breakpoint on a particular line.
CSOUND_::FlushCircularBuffer
void(* FlushCircularBuffer)(CSOUND *, void *)
Definition: csoundCore.h:1218
CSOUND_::audrecv
int(* audrecv)(CSOUND *, MYFLT *, int)
Definition: csoundCore.h:1462
EVTBLK
struct event EVTBLK
This struct holds the data for one score event.
SNDMEMFILE_::fileType
int fileType
TYP_WAV, TYP_AIFF, etc.
Definition: csoundCore.h:732
FUNC::lobits
int32 lobits
log2(MAXLEN / flen) for power of two table size, 0 otherwise
Definition: csoundCore.h:657
CSOUND_::io_initialised
int io_initialised
Definition: csoundCore.h:1821
event::pinstance
void * pinstance
Definition: csoundCore.h:484
event::pcnt
int16 pcnt
Number of p-fields.
Definition: csoundCore.h:488
CSOUND_::NotifyFileOpened
void(* NotifyFileOpened)(CSOUND *, const char *, int, int, int)
Definition: csoundCore.h:1241
namelst
Definition: csoundCore.h:918
aux_cb
AUXCH *(* aux_cb)(CSOUND *, void *, AUXCH *)
this callback is used to notify the availability of new storage in AUXCH *.
Definition: csoundCore.h:384
csoundGetA4
PUBLIC MYFLT csoundGetA4(CSOUND *)
Returns the A4 frequency reference.
csoundInitTimerStruct
PUBLIC void csoundInitTimerStruct(RTCLOCK *)
Initialise a timer structure.
CSOUND_::SetUtilNchnls
void(* SetUtilNchnls)(CSOUND *, int)
Definition: csoundCore.h:1351
CSOUND_PARAMS::sample_rate_override
MYFLT sample_rate_override
Definition: csound.h:505
CsoundThreaded
This class provides a multi-threaded C++ interface to the "C" Csound API.
Definition: csound_threaded.hpp:164
CSOUND_::WaitThreadLock
int(* WaitThreadLock)(void *lock, size_t milliseconds)
Definition: csoundCore.h:1195
csoundNewOpcodeList
PUBLIC int csoundNewOpcodeList(CSOUND *, opcodeListEntry **opcodelist)
Gets an alphabetically sorted list of all opcodes.
csound_fgen_init
PUBLIC NGFENS * csound_fgen_init(CSOUND *)
CSOUND_PARAMS::displays
int displays
Definition: csound.h:481
CSOUND_::GetMessageLevel
int(* GetMessageLevel)(CSOUND *)
Definition: csoundCore.h:1043
insds::init_done
int init_done
Definition: csoundCore.h:570
CSOUND_::Mxtroffs
int Mxtroffs
Definition: csoundCore.h:1557
CSOUND_::cyclesRemaining
int64_t cyclesRemaining
Definition: csoundCore.h:1567
CSOUND_::GetZaBounds
int(* GetZaBounds)(CSOUND *, MYFLT **)
Definition: csoundCore.h:1388
FFT_FWD
@ FFT_FWD
Definition: csoundCore.h:218
CSFTYPE_WAVEX
@ CSFTYPE_WAVEX
Definition: csound.h:390
csoundGetUtilityDescription
PUBLIC const char * csoundGetUtilityDescription(CSOUND *, const char *utilName)
Get utility description.
CSOUND_::hfgens
int(* hfgens)(CSOUND *, FUNC **, const EVTBLK *, int)
Definition: csoundCore.h:1100
OPARMS::nchnls_override
int nchnls_override
Definition: csoundCore.h:245
mchnblk::monobas
MONPCH * monobas
Definition: csoundCore.h:447
CSOUND_::onedkr
MYFLT onedkr
Definition: csoundCore.h:1534
SNDMEMFILE_::fullName
char * fullName
full path filename
Definition: csoundCore.h:722
csoundGetParams
PUBLIC void csoundGetParams(CSOUND *csound, CSOUND_PARAMS *p)
Get the current set of parameters from a CSOUND instance in a CSOUND_PARAMS structure.
MACRO::body
char * body
Definition: csoundCore.h:896
csoundSpinUnLock
PUBLIC void csoundSpinUnLock(spin_lock_t *spinlock)
Unlocks the spinlock.
csoundRegisterSenseEventCallback
PUBLIC int csoundRegisterSenseEventCallback(CSOUND *, void(*func)(CSOUND *, void *), void *userData)
Register a function to be called once in every control period by sensevents().
CSFTYPE_NIST
@ CSFTYPE_NIST
Definition: csound.h:401
pvx_memfile_::fftsize
int fftsize
Definition: csoundCore.h:762
csoundCompileTree
PUBLIC int csoundCompileTree(CSOUND *csound, TREE *root)
Compile the given TREE node into structs for Csound to use this can be called during performance to c...
CSOUND_::DestroyMutex
void(* DestroyMutex)(void *mutex_)
Definition: csoundCore.h:1202
midiglobals::Midevtblk
MEVENT * Midevtblk
Definition: csoundCore.h:803
csoundSetExternalMidiInCloseCallback
PUBLIC void csoundSetExternalMidiInCloseCallback(CSOUND *, int(*func)(CSOUND *, void *userData))
Sets callback for closing real time MIDI input.
names::next
struct names * next
Definition: csoundCore.h:845
CSOUND_::GetKsmps
uint32_t(* GetKsmps)(CSOUND *)
Definition: csoundCore.h:1017
CsoundScoreEvent::operator()
virtual int operator()(CSOUND *csound_)
Dispatches the event to Csound during performance.
Definition: csound_threaded.hpp:131
csoundStop
PUBLIC void csoundStop(CSOUND *)
Stops a csoundPerform() running in another thread.
CSOUND_::sread__::unused_char1
char unused_char1[NAMELEN]
Definition: csoundCore.h:1624
CSOUND_::GetInstrumentNumber
int(* GetInstrumentNumber)(void *p)
Definition: csoundCore.h:1061
CSFTYPE_POSTSCRIPT
@ CSFTYPE_POSTSCRIPT
Definition: csound.h:449
mchnblk::ctl_val
MYFLT ctl_val[136]
...
Definition: csoundCore.h:454
CSOUND_::gensub
GEN * gensub
Definition: csoundCore.h:1561
SNDMEMFILE_::loopMode
int loopMode
loop mode: 0: no loop information 1: off 2: forward 3: backward 4: bidirectional
Definition: csoundCore.h:741
CSOUND_::onefileStatics
struct CSOUND_::onefileStatics__ onefileStatics
CSFTYPE_CVANAL
@ CSFTYPE_CVANAL
Definition: csound.h:421
OPARMS::FMidioutname
char * FMidioutname
Definition: csoundCore.h:250
CSOUND_::global_kcounter
uint64_t global_kcounter
Definition: csoundCore.h:1478
OPARMS::Midioutname
char * Midioutname
Definition: csoundCore.h:249
NAMELEN
#define NAMELEN
Definition: csoundCore.h:1615