View Issue Details

IDProjectCategoryView StatusLast Update
0007786ardourbugspublic2021-06-12 13:22
Reportertomade Assigned To 
Status newResolutionopen 
PlatformSome Other LinuxOSSome Other LinuxOS Versionunknown
Product Version5.12 
Summary0007786: "Duplicate Region - Fill Track" does not align exactly at beat raster

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!
Steps To Reproducesee description
Tagsfill track


has duplicate 0008740 closedpaul Regionlength is not adjustable precisely 



2019-08-13 11:50



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).


2020-09-23 14:08

reporter   ~0025052

I have the same error with midi regions in Ardour 6.3.
ardour_midi_not_in_grid.png (146,047 bytes)   
ardour_midi_not_in_grid.png (146,047 bytes)   

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
2020-09-23 14:08 consint File Added: ardour_midi_not_in_grid.png
2020-09-23 14:08 consint Note Added: 0025052
2021-06-12 13:21 x42 Relationship added has duplicate 0004102
2021-06-12 13:21 x42 Relationship deleted has duplicate 0004102
2021-06-12 13:22 x42 Relationship added has duplicate 0008740