Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

TSE3::Util::PowerQuantise::Pattern Class Reference

#include <PowerQuantise.h>

Collaboration diagram for TSE3::Util::PowerQuantise::Pattern:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Pattern ()
TSE3::Clock length () const
void setLength (TSE3::Clock length)
size_t size () const
TSE3::Clock const & operator[] (size_t n) const
void insert (TSE3::Clock point)
void erase (size_t n)
void erase (TSE3::Clock point)

Detailed Description

This class represents the PowerQuantise pattern, or 'groove'. It is basically a set of Clock points which the PowerQuantise should snap events to.

See also:
PowerQuantise


Constructor & Destructor Documentation

TSE3::Util::PowerQuantise::Pattern::Pattern  ) 
 

The default pattern is a 4/4 bar of crotchets.


Member Function Documentation

TSE3::Clock TSE3::Util::PowerQuantise::Pattern::length  )  const [inline]
 

Returns the 'length' of the pattern. This is the time it spans before it repeats again. (If the Pattern contains any points after the length they are ignored).

See also:
setLength

void TSE3::Util::PowerQuantise::Pattern::setLength TSE3::Clock  length  ) 
 

Sets the Pattern length.

See also:
length

size_t TSE3::Util::PowerQuantise::Pattern::size  )  const [inline]
 

Returns the number of points in this Pattern.

TSE3::Clock const& TSE3::Util::PowerQuantise::Pattern::operator[] size_t  n  )  const [inline]
 

Returns the nth Clock in this Pattern object.

void TSE3::Util::PowerQuantise::Pattern::insert TSE3::Clock  point  ) 
 

Adds a Clock point to the Pattern.

void TSE3::Util::PowerQuantise::Pattern::erase size_t  n  ) 
 

Removes the nth Clock from the Pattern.

void TSE3::Util::PowerQuantise::Pattern::erase TSE3::Clock  point  ) 
 

Removes a Clock point from the Pattern.


The documentation for this class was generated from the following file:
Generated on Wed May 25 14:48:16 2005 for TSE3 by doxygen 1.3.2