csnd

Class CsoundFile

public class CsoundFile extends Object

Field Summary
protected booleanswigCMemOwn
Constructor Summary
protected CsoundFile(long cPtr, boolean cMemoryOwn)
CsoundFile()
Method Summary
voidaddArrangement(String instrument)
voidaddNote(double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10, double p11)
voidaddNote(double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10)
voidaddNote(double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9)
voidaddNote(double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8)
voidaddNote(double p1, double p2, double p3, double p4, double p5, double p6, double p7)
voidaddNote(double p1, double p2, double p3, double p4, double p5, double p6)
voidaddNote(double p1, double p2, double p3, double p4, double p5)
voidaddNote(double p1, double p2, double p3, double p4)
voidaddNote(double p1, double p2, double p3)
voidaddScoreLine(String line)
voiddelete()
intexportArrangement(SWIGTYPE_p_std__ostream stream)
intexportArrangementForPerformance(String filename)
intexportArrangementForPerformance(SWIGTYPE_p_std__ostream stream)
intexportCommand(SWIGTYPE_p_std__ostream stream)
booleanexportForPerformance()
intexportMidifile(SWIGTYPE_p_std__ostream stream)
intexportOrchestra(SWIGTYPE_p_std__ostream stream)
intexportScore(SWIGTYPE_p_std__ostream stream)
protected voidfinalize()
StringgenerateFilename()
SWIGTYPE_p_std__vectorT_std__string_tgetArrangement()
StringgetArrangement(int index)
intgetArrangementCount()
StringgetCommand()
protected static longgetCPtr(CsoundFile obj)
StringgetCSD()
StringgetFilename()
booleangetInstrument(int number, SWIGTYPE_p_std__string definition)
booleangetInstrument(String name, SWIGTYPE_p_std__string definition)
StringgetInstrument(String name)
StringgetInstrument(int number)
StringgetInstrumentBody(String name)
StringgetInstrumentBody(int number)
intgetInstrumentCount()
IntToStringMapgetInstrumentNames()
doublegetInstrumentNumber(String name)
StringgetLibraryFilename()
StringgetMidiFilename()
StringgetOrcFilename()
StringgetOrchestra()
StringgetOrchestraHeader()
StringgetOutputSoundfileName()
StringgetScoFilename()
StringgetScore()
intimportArrangement(SWIGTYPE_p_std__istream stream)
intimportCommand(SWIGTYPE_p_std__istream stream)
intimportFile(String filename)
intimportFile(SWIGTYPE_p_std__istream stream)
intimportMidifile(SWIGTYPE_p_std__istream stream)
intimportOrchestra(SWIGTYPE_p_std__istream stream)
intimportScore(SWIGTYPE_p_std__istream stream)
voidinsertArrangement(int index, String instrument)
intload(String filename)
intload(SWIGTYPE_p_std__istream stream)
booleanloadOrcLibrary(String filename)
booleanloadOrcLibrary()
voidremoveAll()
voidremoveArrangement(int index)
voidremoveArrangement()
voidremoveCommand()
voidremoveMidifile()
voidremoveOrchestra()
voidremoveScore()
intsave(String filename)
intsave(SWIGTYPE_p_std__ostream stream)
voidsetArrangement(SWIGTYPE_p_std__vectorT_std__string_t value)
voidsetArrangement(int index, String instrument)
voidsetCommand(String commandLine)
voidsetCSD(String xml)
voidsetFilename(String name)
voidsetLibraryFilename(String value)
voidsetOrchestra(String orchestra)
voidsetScore(String score)

Field Detail

swigCMemOwn

protected boolean swigCMemOwn

Constructor Detail

CsoundFile

protected CsoundFile(long cPtr, boolean cMemoryOwn)

CsoundFile

public CsoundFile()

Method Detail

addArrangement

public void addArrangement(String instrument)

addNote

public void addNote(double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10, double p11)

addNote

public void addNote(double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10)

addNote

public void addNote(double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9)

addNote

public void addNote(double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8)

addNote

public void addNote(double p1, double p2, double p3, double p4, double p5, double p6, double p7)

addNote

public void addNote(double p1, double p2, double p3, double p4, double p5, double p6)

addNote

public void addNote(double p1, double p2, double p3, double p4, double p5)

addNote

public void addNote(double p1, double p2, double p3, double p4)

addNote

public void addNote(double p1, double p2, double p3)

addScoreLine

public void addScoreLine(String line)

delete

public void delete()

exportArrangement

public int exportArrangement(SWIGTYPE_p_std__ostream stream)

exportArrangementForPerformance

public int exportArrangementForPerformance(String filename)

exportArrangementForPerformance

public int exportArrangementForPerformance(SWIGTYPE_p_std__ostream stream)

exportCommand

public int exportCommand(SWIGTYPE_p_std__ostream stream)

exportForPerformance

public boolean exportForPerformance()

exportMidifile

public int exportMidifile(SWIGTYPE_p_std__ostream stream)

exportOrchestra

public int exportOrchestra(SWIGTYPE_p_std__ostream stream)

exportScore

public int exportScore(SWIGTYPE_p_std__ostream stream)

finalize

protected void finalize()

generateFilename

public String generateFilename()

getArrangement

public SWIGTYPE_p_std__vectorT_std__string_t getArrangement()

getArrangement

public String getArrangement(int index)

getArrangementCount

public int getArrangementCount()

getCommand

public String getCommand()

getCPtr

protected static long getCPtr(CsoundFile obj)

getCSD

public String getCSD()

getFilename

public String getFilename()

getInstrument

public boolean getInstrument(int number, SWIGTYPE_p_std__string definition)

getInstrument

public boolean getInstrument(String name, SWIGTYPE_p_std__string definition)

getInstrument

public String getInstrument(String name)

getInstrument

public String getInstrument(int number)

getInstrumentBody

public String getInstrumentBody(String name)

getInstrumentBody

public String getInstrumentBody(int number)

getInstrumentCount

public int getInstrumentCount()

getInstrumentNames

public IntToStringMap getInstrumentNames()

getInstrumentNumber

public double getInstrumentNumber(String name)

getLibraryFilename

public String getLibraryFilename()

getMidiFilename

public String getMidiFilename()

getOrcFilename

public String getOrcFilename()

getOrchestra

public String getOrchestra()

getOrchestraHeader

public String getOrchestraHeader()

getOutputSoundfileName

public String getOutputSoundfileName()

getScoFilename

public String getScoFilename()

getScore

public String getScore()

importArrangement

public int importArrangement(SWIGTYPE_p_std__istream stream)

importCommand

public int importCommand(SWIGTYPE_p_std__istream stream)

importFile

public int importFile(String filename)

importFile

public int importFile(SWIGTYPE_p_std__istream stream)

importMidifile

public int importMidifile(SWIGTYPE_p_std__istream stream)

importOrchestra

public int importOrchestra(SWIGTYPE_p_std__istream stream)

importScore

public int importScore(SWIGTYPE_p_std__istream stream)

insertArrangement

public void insertArrangement(int index, String instrument)

load

public int load(String filename)

load

public int load(SWIGTYPE_p_std__istream stream)

loadOrcLibrary

public boolean loadOrcLibrary(String filename)

loadOrcLibrary

public boolean loadOrcLibrary()

removeAll

public void removeAll()

removeArrangement

public void removeArrangement(int index)

removeArrangement

public void removeArrangement()

removeCommand

public void removeCommand()

removeMidifile

public void removeMidifile()

removeOrchestra

public void removeOrchestra()

removeScore

public void removeScore()

save

public int save(String filename)

save

public int save(SWIGTYPE_p_std__ostream stream)

setArrangement

public void setArrangement(SWIGTYPE_p_std__vectorT_std__string_t value)

setArrangement

public void setArrangement(int index, String instrument)

setCommand

public void setCommand(String commandLine)

setCSD

public void setCSD(String xml)

setFilename

public void setFilename(String name)

setLibraryFilename

public void setLibraryFilename(String value)

setOrchestra

public void setOrchestra(String orchestra)

setScore

public void setScore(String score)