View Issue Details

IDCategoryLast Update
0007786bugs2019-08-24 02:42
ReportertomadeAssigned To 
Reproducibilityalways 
Status newResolutionopen 
PlatformSome Other LinuxOSSome Other LinuxOS Versionunknown
Product Version5.12 
Fixed in Version 
Summary0007786: "Duplicate Region - Fill Track" does not align exactly at beat raster
DescriptionHi

when using the duplicate region -> fill track tool and the region has an exact length of a beat, the fill track tool leads to an error in position of the duplicates (see picture). The duplicated regions are not aligned to the beat raster anymore. This error is accumulative. The longer the track the bigger the error.

Kind regards!
tom
Steps To Reproducesee description
Tagsfill track

Activities

tomade

2019-08-13 11:50

reporter  

x42

2019-08-24 02:42

administrator   ~0020736

NIce example!

This depends on BPM and sample-rate.

Audio-region duration is counted in audio-samples and currently limited to that unit.

One beat at 44.1kHz, 127 BPM is 44100 [samples/sec] * 60 [sec/min] / 127 [beats/min] = 20834.64 [samples/beat].
There are no fractional audio-samples, so Ardour rounds this down. Hence every time the region is duplicated, 0.64 samples are lost compared to the beat-grid.

Fixing this requires various parts that are planned for Ardour 7 (some preparations are in the nutempo git branch). e.g. the region duration needs to be set in music time -- exactly to 1 beat (not 20834 samples).

Issue History

Date Modified Username Field Change
2019-08-13 11:50 tomade New Issue
2019-08-13 11:50 tomade Tag Attached: fill track
2019-08-13 11:50 tomade File Added: Bildschirmfoto von 2019-08-13 13-49-34.png
2019-08-24 02:42 x42 Note Added: 0020736