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

csound::MusicModel Class Reference

#include <MusicModel.hpp>

Inheritance diagram for csound::MusicModel:

csound::ScoreModel csound::Composition csound::Node

List of all members.


Detailed Description

A ScoreModel that uses Csound to render generated scores, via the CppSound class.

Definition at line 46 of file MusicModel.hpp.


Public Member Functions

virtual void addChild (Node *node)
virtual void arrange (int silenceInstrumentNumber, std::string csoundInstrumentName, double gain, double pan)
virtual void arrange (int silenceInstrumentNumber, std::string csoundInstrumentName, double gain)
virtual void arrange (int silenceInstrumentNumber, std::string csoundInstrumentName)
virtual void arrange (int oldInstrumentNumber, int newInstrumentNumber, double gain, double pan)
virtual void arrange (int oldInstrumentNumber, int newInstrumentNumber, double gain)
virtual void arrange (int oldInstrumentNumber, int newInstrumentNumber)
virtual void clear ()
virtual void createCsoundScore (std::string addToScore="", double extendSeconds=5.0)
virtual ublas::matrix< double > createTransform ()
virtual double & element (size_t row, size_t column)
virtual void generate ()
virtual bool getConformPitches () const
virtual CppSound * getCppSound ()
virtual std::string getCsoundCommand () const
virtual std::string getCsoundOrchestra () const
virtual std::string getCsoundScoreHeader () const
virtual std::string getFilename () const
virtual ublas::matrix< double > getLocalCoordinates () const
virtual std::string getMidiFilename ()
virtual std::string getOutputSoundfileName ()
virtual ScoregetScore ()
virtual long getThis ()
virtual NodegetThisNode ()
virtual double getTonesPerOctave () const
virtual void initialize ()
virtual void perform ()
virtual void produceOrTransform (Score &score, size_t beginAt, size_t endAt, const ublas::matrix< double > &coordinates)
virtual void removeArrangement ()
virtual void render ()
virtual void setConformPitches (bool conformPitches)
virtual void setCppSound (CppSound *orchestra)
virtual void setCsoundCommand (std::string command)
virtual void setCsoundOrchestra (std::string orchestra)
virtual void setCsoundScoreHeader (std::string header)
virtual void setElement (size_t row, size_t column, double value)
virtual void setFilename (std::string filename)
virtual void setTonesPerOctave (double tonesPerOctave)
virtual ublas::matrix< double > traverse (const ublas::matrix< double > &globalCoordinates, Score &score)
virtual void write (const char *text)

Static Public Member Functions

static std::string generateFilename ()

Public Attributes

std::vector< Node * > children

Protected Attributes

bool conformPitches
CppSound * cppSound
CppSound cppSound_
std::string csoundScoreHeader
std::string filename
ublas::matrix< double > localCoordinates
Score score
double tonesPerOctave

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

Generated by  Doxygen 1.6.0   Back to index