Logo Search packages:      
Sourcecode: csound version File versions  Download package

CsoundFile Class Reference

#include <CsoundFile.hpp>

Inherited by CppSound.

List of all members.


Detailed Description

Manages a Csound Structured Data (CSD) file with facilities for creating an arrangement of selected instruments in the orchestra, and for programmatically building score files.

Definition at line 85 of file CsoundFile.hpp.


Public Member Functions

virtual void addArrangement (std::string instrument)
virtual void addNote (double p1, double p2, double p3)
virtual void addNote (double p1, double p2, double p3, double p4)
virtual void addNote (double p1, double p2, double p3, double p4, double p5)
virtual void addNote (double p1, double p2, double p3, double p4, double p5, double p6)
virtual void addNote (double p1, double p2, double p3, double p4, double p5, double p6, double p7)
virtual void addNote (double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8)
virtual void addNote (double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9)
virtual void addNote (double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10)
virtual void addNote (double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10, double p11)
virtual void addScoreLine (const std::string line)
virtual int exportArrangement (std::ostream &stream) const
virtual int exportArrangementForPerformance (std::ostream &stream) const
virtual int exportArrangementForPerformance (std::string filename) const
virtual int exportCommand (std::ostream &stream) const
virtual bool exportForPerformance () const
virtual int exportMidifile (std::ostream &stream) const
virtual int exportOrchestra (std::ostream &stream) const
virtual int exportScore (std::ostream &stream) const
virtual std::string generateFilename ()
virtual std::string getArrangement (int index) const
virtual int getArrangementCount () const
virtual std::string getCommand () const
virtual std::string getCSD () const
virtual std::string getFilename () const
virtual std::string getInstrument (int number) const
virtual std::string getInstrument (std::string name) const
virtual bool getInstrument (std::string name, std::string &definition) const
virtual bool getInstrument (int number, std::string &definition) const
virtual std::string getInstrumentBody (int number) const
virtual std::string getInstrumentBody (std::string name) const
virtual int getInstrumentCount () const
virtual std::map< int,
std::string > 
getInstrumentNames () const
virtual double getInstrumentNumber (std::string name) const
virtual std::string getMidiFilename () const
virtual std::string getOrcFilename () const
virtual std::string getOrchestra () const
virtual std::string getOrchestraHeader () const
virtual std::string getOutputSoundfileName () const
virtual std::string getScoFilename () const
virtual std::string getScore () const
virtual int importArrangement (std::istream &stream)
virtual int importCommand (std::istream &stream)
virtual int importFile (std::istream &stream)
virtual int importFile (std::string filename)
virtual int importMidifile (std::istream &stream)
virtual int importOrchestra (std::istream &stream)
virtual int importScore (std::istream &stream)
virtual void insertArrangement (int index, std::string instrument)
virtual int load (std::istream &stream)
virtual int load (std::string filename)
virtual bool loadOrcLibrary (const char *filename=0)
virtual void removeAll ()
virtual void removeArrangement ()
virtual void removeArrangement (int index)
virtual void removeCommand ()
virtual void removeMidifile ()
virtual void removeOrchestra ()
virtual void removeScore ()
virtual int save (std::ostream &stream) const
virtual int save (std::string filename) const
virtual void setArrangement (int index, std::string instrument)
virtual void setCommand (std::string commandLine)
virtual void setCSD (std::string xml)
virtual void setFilename (std::string name)
virtual void setOrchestra (std::string orchestra)
virtual void setScore (std::string score)

Public Attributes

std::vector< std::string > arrangement
std::string libraryFilename

Protected Attributes

std::vector< std::string > args
std::vector< char * > argv
std::string command
std::string filename
std::vector< unsigned char > midifile
std::string orchestra
std::string score

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index