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

csound::StrangeAttractor Class Reference

#include <StrangeAttractor.hpp>

Inheritance diagram for csound::StrangeAttractor:

csound::ScoreNode csound::Node

List of all members.

Detailed Description

Generates notes by searching for a chaotic dynamical system defined by a polynomial equation or partial differential equation using Julien C. Sprott's Lyupanov exponent search, or by translating a known chaotic dynamical system into music, by interpreting each iteration of the system as a note. The time of the note can be represented either as the order of iteration, or as a dimension of the attractor. See Julien C. Sprott's book "Strange Attractors".

Definition at line 55 of file StrangeAttractor.hpp.

Public Member Functions

virtual void addChild (Node *node)
virtual void calculateFractalDimension ()
virtual void calculateLyupanovExponent ()
virtual void clear ()
virtual void codeRandomize ()
virtual ublas::matrix< double > createTransform ()
virtual double & element (size_t row, size_t column)
virtual bool evaluateAttractor ()
virtual void generate ()
virtual int getAttractorType () const
virtual std::string getCode () const
virtual void getCoefficients ()
virtual void getDimensionAndOrder ()
virtual int getDimensionCount () const
virtual double getFractalDimension () const
virtual size_t getIteration () const
virtual size_t getIterationCount () const
virtual ublas::matrix< double > getLocalCoordinates () const
virtual double getLyupanovExponent () const
virtual ScoregetScore ()
virtual int getScoreType () const
virtual double getW () const
virtual double getX () const
virtual double getY () const
virtual double getZ () const
virtual void initialize ()
virtual void iterate ()
virtual void produceOrTransform (Score &score, size_t beginAt, size_t endAt, const ublas::matrix< double > &coordinates)
virtual void reinitialize ()
virtual void render (int N, double X, double Y, double Z, double W)
virtual void reset ()
virtual bool searchForAttractor ()
virtual void setAttractorType (int attractorType)
virtual void setCode (std::string code)
virtual void setDimensionCount (int D)
virtual void setElement (size_t row, size_t column, double value)
virtual void setIteration (size_t iteration)
virtual void setIterationCount (size_t iterationCount)
virtual void setScoreType (int attractorType)
virtual void setW (double X)
virtual void setX (double X)
virtual void setY (double X)
virtual void setZ (double X)
virtual void shuffleRandomNumbers ()
virtual void specialFunctions ()
virtual ublas::matrix< double > traverse (const ublas::matrix< double > &globalCoordinates, Score &score)

Public Attributes

std::vector< Node * > children
std::string importFilename
Random randomNode

Protected Attributes

std::vector< double > A
double AL
std::string code
double COSAL
int D
double D2
double D2MAX
int DD
double decibels
double DF
double DL2
double DLW
double DLX
double DLY
double DLZ
double DUM
double duration
double DW
double DX
double DY
double DZ
double EPS
double F
std::string filename
int I
int I1
int I2
int I3
int I4
int I5
double instrument
int J
double L
ublas::matrix< double > localCoordinates
double LSUM
int M
double MX
double MY
int N
double N1
double N2
double NL
int NMAX
int O
double octave
int ODE
int OMAX
int P
double pitchClassSet
int PREV
double PT
double RAN
double RS
Score score
int scoreType
double SH
double SINAL
double SW
int T
double TIA
double time
double TT
int TWOD
std::vector< double > V
double W
double WE
double WMAX
double WMIN
double WNEW
double WP
std::vector< double > WS
double WSAVE
double X
double x
double XA
double XE
double XH
double XL
double XMAX
double XMIN
std::vector< double > XN
double XNEW
double XP
std::vector< double > XS
double XSAVE
double XW
std::vector< double > XY
double XZ
double Y
double YA
double YE
double YH
double YL
double YMAX
double YMIN
double YNEW
double YP
std::vector< double > YS
double YSAVE
double YW
double YZ
double Z
double ZA
double ZE
double ZMAX
double ZMIN
double ZNEW
double ZP
std::vector< double > ZS
double ZSAVE

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

Generated by  Doxygen 1.6.0   Back to index