Mixxx

BeatMatrix Class Reference

#include <beatmatrix.h>

Inheritance diagram for BeatMatrix:
Collaboration diagram for BeatMatrix:

List of all members.

Signals

void updated ()

Public Member Functions

 BeatMatrix (TrackPointer pTrack, const QByteArray *pByteArray=NULL)
virtual ~BeatMatrix ()
virtual Beats::CapabilitiesFlags getCapabilities () const
virtual QByteArray * toByteArray () const
virtual QString getVersion () const
virtual double findNextBeat (double dSamples) const
virtual double findPrevBeat (double dSamples) const
virtual double findClosestBeat (double dSamples) const
virtual double findNthBeat (double dSamples, int n) const
virtual void findBeats (double startSample, double stopSample, QList< double > *pBeatsList) const
virtual bool hasBeatInRange (double startSample, double stopSample) const
virtual double getBpm () const
virtual double getBpmRange (double startSample, double stopSample) const
virtual void addBeat (double dBeatSample)
virtual void removeBeat (double dBeatSample)
virtual void moveBeat (double dBeatSample, double dNewBeatSample)
virtual void translate (double dNumSamples)
virtual void scale (double dScalePercentage)

Detailed Description

Definition at line 12 of file beatmatrix.h.


Constructor & Destructor Documentation

BeatMatrix::BeatMatrix ( TrackPointer  pTrack,
const QByteArray *  pByteArray = NULL 
)

Definition at line 6 of file beatmatrix.cpp.

BeatMatrix::~BeatMatrix ( ) [virtual]

Definition at line 15 of file beatmatrix.cpp.


Member Function Documentation

void BeatMatrix::addBeat ( double  dBeatSample) [virtual]

Implements Beats.

Definition at line 191 of file beatmatrix.cpp.

Here is the call graph for this function:

void BeatMatrix::findBeats ( double  startSample,
double  stopSample,
QList< double > *  pBeatsList 
) const [virtual]

Implements Beats.

Definition at line 122 of file beatmatrix.cpp.

double BeatMatrix::findClosestBeat ( double  dSamples) const [virtual]

Implements Beats.

Definition at line 67 of file beatmatrix.cpp.

Here is the call graph for this function:

double BeatMatrix::findNextBeat ( double  dSamples) const [virtual]

Implements Beats.

Definition at line 59 of file beatmatrix.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

double BeatMatrix::findNthBeat ( double  dSamples,
int  n 
) const [virtual]

Implements Beats.

Definition at line 77 of file beatmatrix.cpp.

Here is the caller graph for this function:

double BeatMatrix::findPrevBeat ( double  dSamples) const [virtual]

Implements Beats.

Definition at line 63 of file beatmatrix.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

double BeatMatrix::getBpm ( ) const [virtual]

Implements Beats.

Definition at line 156 of file beatmatrix.cpp.

double BeatMatrix::getBpmRange ( double  startSample,
double  stopSample 
) const [virtual]

Implements Beats.

Definition at line 170 of file beatmatrix.cpp.

virtual Beats::CapabilitiesFlags BeatMatrix::getCapabilities ( ) const [inline, virtual]

Implements Beats.

Definition at line 20 of file beatmatrix.h.

QString BeatMatrix::getVersion ( ) const [virtual]

Implements Beats.

Definition at line 49 of file beatmatrix.cpp.

bool BeatMatrix::hasBeatInRange ( double  startSample,
double  stopSample 
) const [virtual]

Implements Beats.

Definition at line 139 of file beatmatrix.cpp.

void BeatMatrix::moveBeat ( double  dBeatSample,
double  dNewBeatSample 
) [virtual]

Definition at line 222 of file beatmatrix.cpp.

Here is the call graph for this function:

void BeatMatrix::removeBeat ( double  dBeatSample) [virtual]

Implements Beats.

Definition at line 207 of file beatmatrix.cpp.

Here is the call graph for this function:

void BeatMatrix::scale ( double  dScalePercentage) [virtual]

Implements Beats.

Definition at line 259 of file beatmatrix.cpp.

Here is the call graph for this function:

QByteArray * BeatMatrix::toByteArray ( ) const [virtual]

Implements Beats.

Definition at line 22 of file beatmatrix.cpp.

void BeatMatrix::translate ( double  dNumSamples) [virtual]

Implements Beats.

Definition at line 245 of file beatmatrix.cpp.

Here is the call graph for this function:

void BeatMatrix::updated ( ) [signal]

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines