BpmAnalyzerDialog Class Reference

#include <bpm-analyzer.h>

Inheritance diagram for BpmAnalyzerDialog:
Inheritance graph
[legend]
Collaboration diagram for BpmAnalyzerDialog:
Collaboration graph
[legend]

List of all members.

Public Slots

virtual void startStopButton ()
virtual void finish ()
virtual void tap ()
virtual void reset ()

Public Member Functions

void setBpmBounds (signed4 start, signed4 stop)
void getMd5 ()
void writeAudio ()
void analyze ()
void rangeCheck ()
void removeRaw ()
 BpmAnalyzerDialog (QWidget *parent=0)
virtual void started ()
virtual void stop ()
virtual void stopped ()

Public Attributes

Playerplayer

Constructor & Destructor Documentation

BpmAnalyzerDialog::BpmAnalyzerDialog ( QWidget *  parent = 0  ) 

References player.


Member Function Documentation

void BpmAnalyzerDialog::analyze (  )  [virtual]
void BpmAnalyzerDialog::finish (  )  [virtual, slot]

References stop().

void BpmAnalyzerDialog::getMd5 (  ) 
void BpmAnalyzerDialog::rangeCheck (  ) 

References bpmdj_deallocate.

Referenced by analyze().

void BpmAnalyzerDialog::removeRaw (  ) 
void BpmAnalyzerDialog::reset (  )  [virtual, slot]
void BpmAnalyzerDialog::setBpmBounds ( signed4  start,
signed4  stop 
)

References sprintf().

Referenced by batch_start(), and tap().

void BpmAnalyzerDialog::started (  )  [virtual]

Reimplemented from Analyzer.

void BpmAnalyzerDialog::startStopButton (  )  [virtual, slot]

References Analyzer::toggle().

void BpmAnalyzerDialog::stop (  )  [virtual]

Reimplemented from Analyzer.

Referenced by finish().

void BpmAnalyzerDialog::stopped (  )  [virtual]

Reimplemented from Analyzer.

void BpmAnalyzerDialog::tap (  )  [virtual, slot]

we have to decrease tapcount with one because at tick 2 the time passed counts for only one beat.

This is tricky. Because we modify the native tempo the player will start playing faster because it tries to honour the current requested tempo (given by currentperiod). However, since we are tapping the tempo it is unwanted that the playing speed changes. Hence, we need to reset the currentperiod so that it plays equally fast after the change in the native tempo.

References clock_driver::changetempo(), currentperiod_metarate, Index::get_tempo(), tempo_type::higher(), tempo_type::lower(), metronome, normalperiod_metarate, period_to_quad(), playing, and setBpmBounds().

void BpmAnalyzerDialog::writeAudio (  ) 

Member Data Documentation

Referenced by BpmAnalyzerDialog().


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

Generated by  doxygen 1.6.2