Disable smoothed tempo changes

The user should be fully responsible for the speed of the tempo change, therefore no smoothing should be applied.
main
Georg Krause 2019-04-15 15:04:10 +02:00
parent 1ea7e7e6aa
commit 56ee7c61cc
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ void TimeManager::setTransportState( TRANSPORT_STATE s )
void TimeManager::process(Buffers* buffers)
{
if(_bpmChangeQueued) {
_fpbLag += 0.1 * (_nextFpb - _fpbLag);
_fpbLag += _nextFpb - _fpbLag;
cout << "Lag: " << _fpbLag << " Next: " << _nextFpb << " Actual: " << _fpb << "\n";
setFpb(_fpbLag);
if (abs((int)_fpbLag - (int)_nextFpb) <= 1) {