class Pattern

This class represents the PowerQuantise pattern, or 'groove'. More...

Full nameTSE3::Util::PowerQuantise::Pattern
Definition#include <PowerQuantise.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


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

 Pattern ()

Pattern

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

TSE3::Clock  length ()

length

[const]

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  setLength (TSE3::Clock length)

setLength

Sets the Pattern length.

See also: length

size_t  size ()

size

[const]

Returns the number of points in this Pattern.

TSE3::Clock const & operator[] (size_t n)

operator[]

[const]

Returns the nth Clock in this Pattern object.

void  insert (TSE3::Clock point)

insert

Adds a Clock point to the Pattern.

void  erase (size_t n)

erase

Removes the nth Clock from the Pattern.

void  erase (TSE3::Clock point)

erase

Removes a Clock point from the Pattern.


Generated by: pete on philemon on Wed May 25 14:40:22 2005, using kdoc 2.0a54.