Mixxx

BeatGrid Class Reference

#include <beatgrid.h>

Inheritance diagram for BeatGrid:
Collaboration diagram for BeatGrid:

List of all members.

Signals

void updated ()

Public Member Functions

 BeatGrid (TrackPointer pTrack, const QByteArray *pByteArray=NULL)
virtual ~BeatGrid ()
void setGrid (double dBpm, double dFirstBeatSample)
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, BeatList *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 13 of file beatgrid.h.


Constructor & Destructor Documentation

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

Definition at line 14 of file beatgrid.cpp.

BeatGrid::~BeatGrid ( ) [virtual]

Definition at line 32 of file beatgrid.cpp.


Member Function Documentation

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

Implements Beats.

Definition at line 173 of file beatgrid.cpp.

void BeatGrid::findBeats ( double  startSample,
double  stopSample,
BeatList pBeatsList 
) const [virtual]

Implements Beats.

Definition at line 133 of file beatgrid.cpp.

Here is the call graph for this function:

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

Implements Beats.

Definition at line 83 of file beatgrid.cpp.

Here is the call graph for this function:

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

Implements Beats.

Definition at line 72 of file beatgrid.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements Beats.

Definition at line 93 of file beatgrid.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements Beats.

Definition at line 78 of file beatgrid.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

double BeatGrid::getBpm ( ) const [virtual]

Implements Beats.

Definition at line 157 of file beatgrid.cpp.

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

Implements Beats.

Definition at line 165 of file beatgrid.cpp.

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

Implements Beats.

Definition at line 27 of file beatgrid.h.

QString BeatGrid::getVersion ( ) const [virtual]

Implements Beats.

Definition at line 60 of file beatgrid.cpp.

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

Implements Beats.

Definition at line 145 of file beatgrid.cpp.

Here is the call graph for this function:

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

Definition at line 183 of file beatgrid.cpp.

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

Implements Beats.

Definition at line 178 of file beatgrid.cpp.

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

Implements Beats.

Definition at line 198 of file beatgrid.cpp.

Here is the call graph for this function:

void BeatGrid::setGrid ( double  dBpm,
double  dFirstBeatSample 
)

Definition at line 36 of file beatgrid.cpp.

Here is the caller graph for this function:

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

Implements Beats.

Definition at line 44 of file beatgrid.cpp.

Here is the call graph for this function:

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

Implements Beats.

Definition at line 188 of file beatgrid.cpp.

Here is the call graph for this function:

void BeatGrid::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