Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/drumloopplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ DrumLoopPlayer::DrumLoopPlayer(const double &volume, QObject *parent) :
qDebug() << "SoundTouch library version" << SoundTouch::getVersionString();
#endif
connect(m_watcher, SIGNAL(finished()), this, SLOT(processFinished()));
qDebug() << "SoundTouch not available!";
}

DrumLoopPlayer::~DrumLoopPlayer()
Expand Down Expand Up @@ -75,12 +76,12 @@ int DrumLoopPlayer::originalBpm() const

int DrumLoopPlayer::minBpm() const
{
return m_measuredBpm - 11;
return 0.8*m_measuredBpm;
}

int DrumLoopPlayer::maxBpm() const
{
return m_measuredBpm + 9;
return 1.2*m_measuredBpm;
}

void DrumLoopPlayer::stop()
Expand Down