#include <bpm-analyzer.h>


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 | |
| Player * | player |
| BpmAnalyzerDialog::BpmAnalyzerDialog | ( | QWidget * | parent = 0 |
) |
References player.
| void BpmAnalyzerDialog::analyze | ( | ) | [virtual] |
Implements Analyzer.
References IMAGE_XS, IMAGE_YS, rangeCheck(), and Analyzer::stop_signal.
| 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] |
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::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 | ( | ) |
Referenced by BpmAnalyzerDialog().
1.6.2