csnd

Class Csound

public class Csound extends Object

Field Summary
protected booleanswigCMemOwn
Constructor Summary
protected Csound(long cPtr, boolean cMemoryOwn)
Csound()
Csound(SWIGTYPE_p_void hostData)
Method Summary
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_float value, int n)
intChanIKSet(double value, int n)
intChanOAGet(SWIGTYPE_p_float value, int n)
intChanOKGet(SWIGTYPE_p_float value, int n)
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()
protected static longgetCPtr(Csound obj)
floatGet0dBFS()
floatGetChannel(String name)
intGetChannelPtr(SWIGTYPE_p_float p, String name, int type)
intGetControlChannelParams(String name, SWIGTYPE_p_float dflt, SWIGTYPE_p_float min, SWIGTYPE_p_float max)
SWIGTYPE_p_CSOUND_GetCsound()
intGetDebug()
StringGetEnv(String name)
StringGetFirstMessage()
intGetFirstMessageAttr()
SWIGTYPE_p_voidGetHostData()
SWIGTYPE_p_floatGetInputBuffer()
intGetInputBufferSize()
floatGetKr()
intGetKsmps()
intGetMessageCnt()
intGetMessageLevel()
intGetNchnls()
SWIGTYPE_p_floatGetOutputBuffer()
intGetOutputBufferSize()
StringGetOutputFileName()
SWIGTYPE_p_p_voidGetRtPlayUserData()
SWIGTYPE_p_p_voidGetRtRecordUserData()
intGetSampleFormat()
intGetSampleSize()
floatGetScoreOffsetSeconds()
doubleGetScoreTime()
SWIGTYPE_p_floatGetSpin()
SWIGTYPE_p_floatGetSpout()
floatGetSr()
intGetStrVarMaxLen()
intGetTable(SWIGTYPE_p_float tablePtr, int tableNum)
StringGetUtilityDescription(String utilName)
intInitializeCscore(SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco)
voidInputMessage(String message)
intIsScorePending()
voidKeyPress(char c)
intListChannels(CsoundChannelListEntry lst)
SWIGTYPE_p_p_csCfgVariable_uListConfigurationVariables()
SWIGTYPE_p_p_charListUtilities()
voidMessage(String format)
voidMessageS(int attr, String format)
intNewOpcodeList(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)
intScoreEvent(char type, SWIGTYPE_p_float 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_float_int__void func)
intSetConfigurationVariable(String name, SWIGTYPE_p_void value)
intSetControlChannelParams(String name, int type, double dflt, double min, double max)
voidSetDebug(int debug)
voidSetHostData(SWIGTYPE_p_void hostData)
voidSetHostImplementedAudioIO(int state, int bufSize)
voidSetMessageLevel(int messageLevel)
voidSetScoreOffsetSeconds(double time)
voidSetScorePending(int pending)
voidStop()
floatTableGet(int table, int index)
intTableLength(int table)
voidTableSet(int table, int index, double value)

Field Detail

swigCMemOwn

protected boolean swigCMemOwn

Constructor Detail

Csound

protected Csound(long cPtr, boolean cMemoryOwn)

Csound

public Csound()

Csound

public Csound(SWIGTYPE_p_void hostData)

Method Detail

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_float value, int n)

ChanIKSet

public int ChanIKSet(double value, int n)

ChanOAGet

public int ChanOAGet(SWIGTYPE_p_float value, int n)

ChanOKGet

public int ChanOKGet(SWIGTYPE_p_float value, int n)

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

protected static long getCPtr(Csound obj)

Get0dBFS

public float Get0dBFS()

GetChannel

public float GetChannel(String name)

GetChannelPtr

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

GetControlChannelParams

public int GetControlChannelParams(String name, SWIGTYPE_p_float dflt, SWIGTYPE_p_float min, SWIGTYPE_p_float 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_float GetInputBuffer()

GetInputBufferSize

public int GetInputBufferSize()

GetKr

public float GetKr()

GetKsmps

public int GetKsmps()

GetMessageCnt

public int GetMessageCnt()

GetMessageLevel

public int GetMessageLevel()

GetNchnls

public int GetNchnls()

GetOutputBuffer

public SWIGTYPE_p_float 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 float GetScoreOffsetSeconds()

GetScoreTime

public double GetScoreTime()

GetSpin

public SWIGTYPE_p_float GetSpin()

GetSpout

public SWIGTYPE_p_float GetSpout()

GetSr

public float GetSr()

GetStrVarMaxLen

public int GetStrVarMaxLen()

GetTable

public int GetTable(SWIGTYPE_p_float 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()

KeyPress

public void KeyPress(char c)

ListChannels

public int ListChannels(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(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)

ScoreEvent

public int ScoreEvent(char type, SWIGTYPE_p_float 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_float_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)

SetHostData

public void SetHostData(SWIGTYPE_p_void hostData)

SetHostImplementedAudioIO

public void SetHostImplementedAudioIO(int state, int bufSize)

SetMessageLevel

public void SetMessageLevel(int messageLevel)

SetScoreOffsetSeconds

public void SetScoreOffsetSeconds(double time)

SetScorePending

public void SetScorePending(int pending)

Stop

public void Stop()

TableGet

public float TableGet(int table, int index)

TableLength

public int TableLength(int table)

TableSet

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