Disable smoothed tempo changes
The user should be fully responsible for the speed of the tempo change, therefore no smoothing should be applied.main
parent
1ea7e7e6aa
commit
56ee7c61cc
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue