csnd

Class Csound

public class Csound extends Object

Field Summary
protected booleanswigCMemOwn
Constructor Summary
Csound(long cPtr, boolean cMemoryOwn)
Csound()
Csound(SWIGTYPE_p_void hostData)
Method Summary
voidAddSpinSample(int frame, int channel, double sample)
intAppendOpcode(String opname, int dsblksiz, int thread, String outypes, String intypes, SWIGTYPE_p_f_p_CSOUND__p_void__int iopadr, SWIGTYPE_p_f_p_CSOUND__p_void__int kopadr, SWIGTYPE_p_f_p_CSOUND__p_void__int aopadr)
intChanIASet(SWIGTYPE_p_double value, int n)
intChanIASetSample(int channel, int frame, double sample)
intChanIKSet(double value, int n)
intChanIKSetValue(int channel, double value)
intChanOAGet(SWIGTYPE_p_double value, int n)
doubleChanOAGetSample(int channel, int frame)
intChanOKGet(SWIGTYPE_p_double value, int n)
doubleChanOKGetValue(int channel)
intCleanup()
intCompile(int argc, SWIGTYPE_p_p_char argv)
intCompile(String csdName)
intCompile(String orcName, String scoName)
intCompile(String arg1, String arg2, String arg3)
intCompile(String arg1, String arg2, String arg3, String arg4)
intCompile(String arg1, String arg2, String arg3, String arg4, String arg5)
intCreateConfigurationVariable(String name, SWIGTYPE_p_void p, int type, int flags, SWIGTYPE_p_void min, SWIGTYPE_p_void max, String shortDesc, String longDesc)
intCreateGlobalVariable(String name, int nbytes)
voiddelete()
voidDeleteChannelList(CsoundChannelListEntry lst)
intDeleteConfigurationVariable(String name)
voidDeleteUtilityList(SWIGTYPE_p_p_char lst)
intDestroyGlobalVariable(String name)
voidDestroyMessageBuffer()
voidDisposeOpcodeList(opcodeListEntry opcodelist)
voidEnableMessageBuffer(int toStdOut)
protected voidfinalize()
static longgetCPtr(Csound obj)
SWIGTYPE_p_voidgetPydata()
doubleGet0dBFS()
doubleGetChannel(String name)
intGetChannelPtr(SWIGTYPE_p_p_double p, String name, int type)
intGetControlChannelParams(String name, SWIGTYPE_p_double dflt, SWIGTYPE_p_double min, SWIGTYPE_p_double max)
SWIGTYPE_p_CSOUND_GetCsound()
intGetDebug()
StringGetEnv(String name)
StringGetFirstMessage()
intGetFirstMessageAttr()
SWIGTYPE_p_voidGetHostData()
SWIGTYPE_p_doubleGetInputBuffer()
intGetInputBufferSize()
doubleGetKr()
intGetKsmps()
intGetMessageCnt()
intGetMessageLevel()
intGetNchnls()
SWIGTYPE_p_doubleGetOutputBuffer()
intGetOutputBufferSize()
StringGetOutputFileName()
SWIGTYPE_p_p_voidGetRtPlayUserData()
SWIGTYPE_p_p_voidGetRtRecordUserData()
intGetSampleFormat()
intGetSampleSize()
doubleGetScoreOffsetSeconds()
doubleGetScoreTime()
SWIGTYPE_p_doubleGetSpin()
SWIGTYPE_p_doubleGetSpout()
doubleGetSpoutSample(int frame, int channel)
doubleGetSr()
intGetStrVarMaxLen()
intGetTable(SWIGTYPE_p_p_double tablePtr, int tableNum)
StringGetUtilityDescription(String utilName)
intInitializeCscore(SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco)
voidInputMessage(String message)
intIsScorePending()
voidKeyPressed(char c)
intListChannels(SWIGTYPE_p_p_CsoundChannelListEntry_ lst)
SWIGTYPE_p_p_csCfgVariable_uListConfigurationVariables()
SWIGTYPE_p_p_charListUtilities()
voidMessage(String format)
voidMessageS(int attr, String format)
intNewOpcodeList(SWIGTYPE_p_p_opcodeListEntry opcodelist)
intParseConfigurationVariable(String name, String value)
intPerform()
intPerform(int argc, SWIGTYPE_p_p_char argv)
intPerform(String csdName)
intPerform(String orcName, String scoName)
intPerform(String arg1, String arg2, String arg3)
intPerform(String arg1, String arg2, String arg3, String arg4)
intPerform(String arg1, String arg2, String arg3, String arg4, String arg5)
intPerformBuffer()
intPerformKsmps()
intPerformKsmpsAbsolute()
voidPopFirstMessage()
intPreCompile()
intPvsinSet(PVSDATEXT value, int n)
intPvsoutGet(PVSDATEXT value, int n)
csCfgVariable_tQueryConfigurationVariable(String name)
SWIGTYPE_p_voidQueryGlobalVariable(String name)
SWIGTYPE_p_voidQueryGlobalVariableNoCheck(String name)
voidReset()
voidRewindScore()
intRunUtility(String name, int argc, SWIGTYPE_p_p_char argv)
voidsetPydata(SWIGTYPE_p_void value)
intScoreEvent(char type, SWIGTYPE_p_double pFields, int numFields)
intScoreExtract(SWIGTYPE_p_FILE inFile, SWIGTYPE_p_FILE outFile, SWIGTYPE_p_FILE extractFile)
intScoreSort(SWIGTYPE_p_FILE inFile, SWIGTYPE_p_FILE outFile)
voidSetChannel(String name, double value)
voidSetChannel(String name, String value)
voidSetChannelIOCallback(SWIGTYPE_p_f_p_CSOUND__p_q_const__char_p_double_int__void func)
intSetConfigurationVariable(String name, SWIGTYPE_p_void value)
intSetControlChannelParams(String name, int type, double dflt, double min, double max)
voidSetDebug(int debug)
voidSetExternalMidiInCloseCallback(SWIGTYPE_p_f_p_CSOUND__p_void__int func)
voidSetExternalMidiInOpenCallback(SWIGTYPE_p_f_p_CSOUND__p_p_void_p_q_const__char__int func)
voidSetExternalMidiReadCallback(SWIGTYPE_p_f_p_CSOUND__p_void_p_unsigned_char_int__int func)
voidSetHostData(SWIGTYPE_p_void hostData)
voidSetHostImplementedAudioIO(int state, int bufSize)
voidSetInputValueCallback(SWIGTYPE_p_f_p_CSOUND__p_q_const__char_p_double__void inputValueCallback_)
voidSetMessageCallback(SWIGTYPE_p_f_p_CSOUND__int_p_q_const__char_va_list__void csoundMessageCallback_)
voidSetMessageLevel(int messageLevel)
voidSetOutputValueCallback(SWIGTYPE_p_f_p_CSOUND__p_q_const__char_double__void outputValueCallback_)
voidSetScoreOffsetSeconds(double time)
voidSetScorePending(int pending)
voidStop()
doubleTableGet(int table, int index)
intTableLength(int table)
voidTableSet(int table, int index, double value)

Field Detail

swigCMemOwn

protected boolean swigCMemOwn

Constructor Detail

Csound

public Csound(long cPtr, boolean cMemoryOwn)

Csound

public Csound()

Csound

public Csound(SWIGTYPE_p_void hostData)

Method Detail

AddSpinSample

public void AddSpinSample(int frame, int channel, double sample)

AppendOpcode

public int AppendOpcode(String opname, int dsblksiz, int thread, String outypes, String intypes, SWIGTYPE_p_f_p_CSOUND__p_void__int iopadr, SWIGTYPE_p_f_p_CSOUND__p_void__int kopadr, SWIGTYPE_p_f_p_CSOUND__p_void__int aopadr)

ChanIASet

public int ChanIASet(SWIGTYPE_p_double value, int n)

ChanIASetSample

public int ChanIASetSample(int channel, int frame, double sample)

ChanIKSet

public int ChanIKSet(double value, int n)

ChanIKSetValue

public int ChanIKSetValue(int channel, double value)

ChanOAGet

public int ChanOAGet(SWIGTYPE_p_double value, int n)

ChanOAGetSample

public double ChanOAGetSample(int channel, int frame)

ChanOKGet

public int ChanOKGet(SWIGTYPE_p_double value, int n)

ChanOKGetValue

public double ChanOKGetValue(int channel)

Cleanup

public int Cleanup()

Compile

public int Compile(int argc, SWIGTYPE_p_p_char argv)

Compile

public int Compile(String csdName)

Compile

public int Compile(String orcName, String scoName)

Compile

public int Compile(String arg1, String arg2, String arg3)

Compile

public int Compile(String arg1, String arg2, String arg3, String arg4)

Compile

public int Compile(String arg1, String arg2, String arg3, String arg4, String arg5)

CreateConfigurationVariable

public int CreateConfigurationVariable(String name, SWIGTYPE_p_void p, int type, int flags, SWIGTYPE_p_void min, SWIGTYPE_p_void max, String shortDesc, String longDesc)

CreateGlobalVariable

public int CreateGlobalVariable(String name, int nbytes)

delete

public void delete()

DeleteChannelList

public void DeleteChannelList(CsoundChannelListEntry lst)

DeleteConfigurationVariable

public int DeleteConfigurationVariable(String name)

DeleteUtilityList

public void DeleteUtilityList(SWIGTYPE_p_p_char lst)

DestroyGlobalVariable

public int DestroyGlobalVariable(String name)

DestroyMessageBuffer

public void DestroyMessageBuffer()

DisposeOpcodeList

public void DisposeOpcodeList(opcodeListEntry opcodelist)

EnableMessageBuffer

public void EnableMessageBuffer(int toStdOut)

finalize

protected void finalize()

getCPtr

public static long getCPtr(Csound obj)

getPydata

public SWIGTYPE_p_void getPydata()

Get0dBFS

public double Get0dBFS()

GetChannel

public double GetChannel(String name)

GetChannelPtr

public int GetChannelPtr(SWIGTYPE_p_p_double p, String name, int type)

GetControlChannelParams

public int GetControlChannelParams(String name, SWIGTYPE_p_double dflt, SWIGTYPE_p_double min, SWIGTYPE_p_double max)

GetCsound

public SWIGTYPE_p_CSOUND_ GetCsound()

GetDebug

public int GetDebug()

GetEnv

public String GetEnv(String name)

GetFirstMessage

public String GetFirstMessage()

GetFirstMessageAttr

public int GetFirstMessageAttr()

GetHostData

public SWIGTYPE_p_void GetHostData()

GetInputBuffer

public SWIGTYPE_p_double GetInputBuffer()

GetInputBufferSize

public int GetInputBufferSize()

GetKr

public double GetKr()

GetKsmps

public int GetKsmps()

GetMessageCnt

public int GetMessageCnt()

GetMessageLevel

public int GetMessageLevel()

GetNchnls

public int GetNchnls()

GetOutputBuffer

public SWIGTYPE_p_double GetOutputBuffer()

GetOutputBufferSize

public int GetOutputBufferSize()

GetOutputFileName

public String GetOutputFileName()

GetRtPlayUserData

public SWIGTYPE_p_p_void GetRtPlayUserData()

GetRtRecordUserData

public SWIGTYPE_p_p_void GetRtRecordUserData()

GetSampleFormat

public int GetSampleFormat()

GetSampleSize

public int GetSampleSize()

GetScoreOffsetSeconds

public double GetScoreOffsetSeconds()

GetScoreTime

public double GetScoreTime()

GetSpin

public SWIGTYPE_p_double GetSpin()

GetSpout

public SWIGTYPE_p_double GetSpout()

GetSpoutSample

public double GetSpoutSample(int frame, int channel)

GetSr

public double GetSr()

GetStrVarMaxLen

public int GetStrVarMaxLen()

GetTable

public int GetTable(SWIGTYPE_p_p_double tablePtr, int tableNum)

GetUtilityDescription

public String GetUtilityDescription(String utilName)

InitializeCscore

public int InitializeCscore(SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco)

InputMessage

public void InputMessage(String message)

IsScorePending

public int IsScorePending()

KeyPressed

public void KeyPressed(char c)

ListChannels

public int ListChannels(SWIGTYPE_p_p_CsoundChannelListEntry_ lst)

ListConfigurationVariables

public SWIGTYPE_p_p_csCfgVariable_u ListConfigurationVariables()

ListUtilities

public SWIGTYPE_p_p_char ListUtilities()

Message

public void Message(String format)

MessageS

public void MessageS(int attr, String format)

NewOpcodeList

public int NewOpcodeList(SWIGTYPE_p_p_opcodeListEntry opcodelist)

ParseConfigurationVariable

public int ParseConfigurationVariable(String name, String value)

Perform

public int Perform()

Perform

public int Perform(int argc, SWIGTYPE_p_p_char argv)

Perform

public int Perform(String csdName)

Perform

public int Perform(String orcName, String scoName)

Perform

public int Perform(String arg1, String arg2, String arg3)

Perform

public int Perform(String arg1, String arg2, String arg3, String arg4)

Perform

public int Perform(String arg1, String arg2, String arg3, String arg4, String arg5)

PerformBuffer

public int PerformBuffer()

PerformKsmps

public int PerformKsmps()

PerformKsmpsAbsolute

public int PerformKsmpsAbsolute()

PopFirstMessage

public void PopFirstMessage()

PreCompile

public int PreCompile()

PvsinSet

public int PvsinSet(PVSDATEXT value, int n)

PvsoutGet

public int PvsoutGet(PVSDATEXT value, int n)

QueryConfigurationVariable

public csCfgVariable_t QueryConfigurationVariable(String name)

QueryGlobalVariable

public SWIGTYPE_p_void QueryGlobalVariable(String name)

QueryGlobalVariableNoCheck

public SWIGTYPE_p_void QueryGlobalVariableNoCheck(String name)

Reset

public void Reset()

RewindScore

public void RewindScore()

RunUtility

public int RunUtility(String name, int argc, SWIGTYPE_p_p_char argv)

setPydata

public void setPydata(SWIGTYPE_p_void value)

ScoreEvent

public int ScoreEvent(char type, SWIGTYPE_p_double pFields, int numFields)

ScoreExtract

public int ScoreExtract(SWIGTYPE_p_FILE inFile, SWIGTYPE_p_FILE outFile, SWIGTYPE_p_FILE extractFile)

ScoreSort

public int ScoreSort(SWIGTYPE_p_FILE inFile, SWIGTYPE_p_FILE outFile)

SetChannel

public void SetChannel(String name, double value)

SetChannel

public void SetChannel(String name, String value)

SetChannelIOCallback

public void SetChannelIOCallback(SWIGTYPE_p_f_p_CSOUND__p_q_const__char_p_double_int__void func)

SetConfigurationVariable

public int SetConfigurationVariable(String name, SWIGTYPE_p_void value)

SetControlChannelParams

public int SetControlChannelParams(String name, int type, double dflt, double min, double max)

SetDebug

public void SetDebug(int debug)

SetExternalMidiInCloseCallback

public void SetExternalMidiInCloseCallback(SWIGTYPE_p_f_p_CSOUND__p_void__int func)

SetExternalMidiInOpenCallback

public void SetExternalMidiInOpenCallback(SWIGTYPE_p_f_p_CSOUND__p_p_void_p_q_const__char__int func)

SetExternalMidiReadCallback

public void SetExternalMidiReadCallback(SWIGTYPE_p_f_p_CSOUND__p_void_p_unsigned_char_int__int func)

SetHostData

public void SetHostData(SWIGTYPE_p_void hostData)

SetHostImplementedAudioIO

public void SetHostImplementedAudioIO(int state, int bufSize)

SetInputValueCallback

public void SetInputValueCallback(SWIGTYPE_p_f_p_CSOUND__p_q_const__char_p_double__void inputValueCallback_)

SetMessageCallback

public void SetMessageCallback(SWIGTYPE_p_f_p_CSOUND__int_p_q_const__char_va_list__void csoundMessageCallback_)

SetMessageLevel

public void SetMessageLevel(int messageLevel)

SetOutputValueCallback

public void SetOutputValueCallback(SWIGTYPE_p_f_p_CSOUND__p_q_const__char_double__void outputValueCallback_)

SetScoreOffsetSeconds

public void SetScoreOffsetSeconds(double time)

SetScorePending

public void SetScorePending(int pending)

Stop

public void Stop()

TableGet

public double TableGet(int table, int index)

TableLength

public int TableLength(int table)

TableSet

public void TableSet(int table, int index, double value)