Node class that produces events from the contained score, which can be built up programmatically or imported from a standard MIDI file.
More...
#include <ScoreNode.hpp>
Inherits csound::Node.
Inherited by csound::Cell, csound::Hocket, csound::ImageToScore, csound::Lindenmayer, csound::MCRM, csound::Rescale, and csound::StrangeAttractor.
Public Member Functions |
| virtual void | addChild (Node *node) |
| virtual void | clear () |
| virtual ublas::matrix< double > | createTransform () |
| virtual double & | element (size_t row, size_t column) |
| virtual ublas::matrix< double > | getLocalCoordinates () const |
| | Returns the local transformation of coordinate system.
|
| virtual Score & | getScore () |
| virtual void | produceOrTransform (Score &score, size_t beginAt, size_t endAt, const ublas::matrix< double > &coordinates) |
| | The default implementation does nothing.
|
| | ScoreNode () |
| virtual void | setElement (size_t row, size_t column, double value) |
| virtual ublas::matrix< double > | traverse (const ublas::matrix< double > &globalCoordinates, Score &score) |
| | The default implementation postconcatenates its own local coordinate system with the global coordinates, then passes the score and the product of coordinate systems to each child, thus performing a depth-first traversal of the music graph.
|
| virtual | ~ScoreNode () |
Data Fields |
| std::vector< Node * > | children |
| | Child Nodes, if any.
|
| std::string | importFilename |
Protected Attributes |
| ublas::matrix< double > | localCoordinates |
| Score | score |
Detailed Description
Node class that produces events from the contained score, which can be built up programmatically or imported from a standard MIDI file.
Constructor & Destructor Documentation
| csound::ScoreNode::ScoreNode |
( |
|
) |
|
| virtual csound::ScoreNode::~ScoreNode |
( |
|
) |
[virtual] |
Member Function Documentation
| virtual void csound::Node::addChild |
( |
Node * |
node |
) |
[virtual, inherited] |
| virtual void csound::Node::clear |
( |
|
) |
[virtual, inherited] |
| virtual ublas::matrix<double> csound::Node::createTransform |
( |
|
) |
[virtual, inherited] |
| virtual double& csound::Node::element |
( |
size_t |
row, |
|
|
size_t |
column | |
|
) |
| | [virtual, inherited] |
| virtual ublas::matrix<double> csound::Node::getLocalCoordinates |
( |
|
) |
const [virtual, inherited] |
Returns the local transformation of coordinate system.
| virtual Score& csound::ScoreNode::getScore |
( |
|
) |
[virtual] |
| virtual void csound::ScoreNode::produceOrTransform |
( |
Score & |
score, |
|
|
size_t |
beginAt, |
|
|
size_t |
endAt, |
|
|
const ublas::matrix< double > & |
compositeCordinates | |
|
) |
| | [virtual] |
| virtual void csound::Node::setElement |
( |
size_t |
row, |
|
|
size_t |
column, |
|
|
double |
value | |
|
) |
| | [virtual, inherited] |
| virtual ublas::matrix<double> csound::Node::traverse |
( |
const ublas::matrix< double > & |
globalCoordinates, |
|
|
Score & |
score | |
|
) |
| | [virtual, inherited] |
The default implementation postconcatenates its own local coordinate system with the global coordinates, then passes the score and the product of coordinate systems to each child, thus performing a depth-first traversal of the music graph.
Reimplemented in csound::Hocket, and csound::Sequence.
Field Documentation