csnd

Class CsoundFile


public class CsoundFile
extends java.lang.Object

Field Summary

protected boolean
swigCMemOwn

Constructor Summary

CsoundFile()
CsoundFile(long cPtr, boolean cMemoryOwn)

Method Summary

void
addArrangement(String instrument)
void
addNote(double p1, double p2, double p3)
void
addNote(double p1, double p2, double p3, double p4)
void
addNote(double p1, double p2, double p3, double p4, double p5)
void
addNote(double p1, double p2, double p3, double p4, double p5, double p6)
void
addNote(double p1, double p2, double p3, double p4, double p5, double p6, double p7)
void
addNote(double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8)
void
addNote(double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9)
void
addNote(double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10)
void
addNote(double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10, double p11)
void
addScoreLine(String line)
void
delete()
int
exportArrangement(SWIGTYPE_p_std__ostream stream)
int
exportArrangementForPerformance(SWIGTYPE_p_std__ostream stream)
int
exportArrangementForPerformance(String filename)
int
exportCommand(SWIGTYPE_p_std__ostream stream)
boolean
exportForPerformance()
int
exportMidifile(SWIGTYPE_p_std__ostream stream)
int
exportOrchestra(SWIGTYPE_p_std__ostream stream)
int
exportScore(SWIGTYPE_p_std__ostream stream)
protected void
finalize()
String
generateFilename()
SWIGTYPE_p_std__vectorTstd__string_t
getArrangement()
String
getArrangement(int index)
int
getArrangementCount()
protected static long
getCPtr(CsoundFile obj)
String
getCSD()
String
getCommand()
String
getFilename()
boolean
getInstrument(String name, SWIGTYPE_p_std__string definition)
boolean
getInstrument(int number, SWIGTYPE_p_std__string definition)
int
getInstrumentCount()
String
getLibraryFilename()
String
getMidiFilename()
String
getOrcFilename()
String
getOrchestra()
String
getOrchestraHeader()
String
getOutputSoundfileName()
String
getScoFilename()
String
getScore()
int
importArrangement(SWIGTYPE_p_std__istream stream)
int
importCommand(SWIGTYPE_p_std__istream stream)
int
importFile(SWIGTYPE_p_std__istream stream)
int
importFile(String filename)
int
importMidifile(SWIGTYPE_p_std__istream stream)
int
importOrchestra(SWIGTYPE_p_std__istream stream)
int
importScore(SWIGTYPE_p_std__istream stream)
void
insertArrangement(int index, String instrument)
int
load(SWIGTYPE_p_std__istream stream)
int
load(String filename)
boolean
loadOrcLibrary()
boolean
loadOrcLibrary(String filename)
void
removeAll()
void
removeArrangement()
void
removeArrangement(int index)
void
removeCommand()
void
removeMidifile()
void
removeOrchestra()
void
removeScore()
int
save(SWIGTYPE_p_std__ostream stream)
int
save(String filename)
void
setArrangement(SWIGTYPE_p_std__vectorTstd__string_t value)
void
setArrangement(int index, String instrument)
void
setCSD(String xml)
void
setCommand(String commandLine)
void
setFilename(String name)
void
setLibraryFilename(String value)
void
setOrchestra(String orchestra)
void
setScore(String score)

Field Details

swigCMemOwn

protected boolean swigCMemOwn

Constructor Details

CsoundFile

public CsoundFile()

CsoundFile

protected CsoundFile(long cPtr,
                     boolean cMemoryOwn)

Method Details

addArrangement

public void addArrangement(String instrument)

addNote

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

addNote

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

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,
                    double p5,
                    double p6)

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,
                    double p7,
                    double p8)

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,
                    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,
                    double p10,
                    double p11)

addScoreLine

public void addScoreLine(String line)

delete

public void delete()

exportArrangement

public int exportArrangement(SWIGTYPE_p_std__ostream stream)

exportArrangementForPerformance

public int exportArrangementForPerformance(SWIGTYPE_p_std__ostream stream)

exportArrangementForPerformance

public int exportArrangementForPerformance(String filename)

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__vectorTstd__string_t getArrangement()

getArrangement

public String getArrangement(int index)

getArrangementCount

public int getArrangementCount()

getCPtr

protected static long getCPtr(CsoundFile obj)

getCSD

public String getCSD()

getCommand

public String getCommand()

getFilename

public String getFilename()

getInstrument

public boolean getInstrument(String name,
                             SWIGTYPE_p_std__string definition)

getInstrument

public boolean getInstrument(int number,
                             SWIGTYPE_p_std__string definition)

getInstrumentCount

public int getInstrumentCount()

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(SWIGTYPE_p_std__istream stream)

importFile

public int importFile(String filename)

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(SWIGTYPE_p_std__istream stream)

load

public int load(String filename)

loadOrcLibrary

public boolean loadOrcLibrary()

loadOrcLibrary

public boolean loadOrcLibrary(String filename)

removeAll

public void removeAll()

removeArrangement

public void removeArrangement()

removeArrangement

public void removeArrangement(int index)

removeCommand

public void removeCommand()

removeMidifile

public void removeMidifile()

removeOrchestra

public void removeOrchestra()

removeScore

public void removeScore()

save

public int save(SWIGTYPE_p_std__ostream stream)

save

public int save(String filename)

setArrangement

public void setArrangement(SWIGTYPE_p_std__vectorTstd__string_t value)

setArrangement

public void setArrangement(int index,
                           String instrument)

setCSD

public void setCSD(String xml)

setCommand

public void setCommand(String commandLine)

setFilename

public void setFilename(String name)

setLibraryFilename

public void setLibraryFilename(String value)

setOrchestra

public void setOrchestra(String orchestra)

setScore

public void setScore(String score)