View Issue Details

IDProjectCategoryView StatusLast Update
0009278ardourbugspublic2023-03-15 01:49
Reporterthekoala2 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformUbuntuOSLinuxOS Version(any)
Product Version7.3 
Summary0009278: Information in the selection clock widget is not accurate when set to "samples"
DescriptionIf you do the math on the sample info in the selection clock widget, you will find it is innacurate
End - Length =/= Start

Steps To Reproduce1 Set selection clock to samples
2 select a range
3 information is not accurate
Additional InformationThe number of samples difference is not consistent
Snap or free selection makes no difference
Tempo map or simple bpm makes no difference

A few screen shots provided
TagsNo tags attached.

Activities

thekoala2

2023-03-13 03:06

reporter  

example1.png (2,636 bytes)   
example1.png (2,636 bytes)   
example2.png (2,858 bytes)   
example2.png (2,858 bytes)   
example3.png (2,809 bytes)   
example3.png (2,809 bytes)   

x42

2023-03-13 03:15

administrator   ~0027471

When counting frames Length = End - Start +1 (similar to the fencepost problem)

start 00:00:00:00 end 00:00:00:00 references the first frame. The length is 00:00:00:01
An "empty" selection has neither start nor end.

This convention dates back to editing tape and film.

thekoala2

2023-03-15 01:42

reporter   ~0027476

So is this intentional behaviour? If it is, I will close the report.

x42

2023-03-15 01:49

administrator   ~0027477

In general yes, except in the first case I'd expect the length to be 97086. There is still some oddity here.

Issue History

Date Modified Username Field Change
2023-03-13 03:06 thekoala2 New Issue
2023-03-13 03:06 thekoala2 File Added: example1.png
2023-03-13 03:06 thekoala2 File Added: example2.png
2023-03-13 03:06 thekoala2 File Added: example3.png
2023-03-13 03:15 x42 Note Added: 0027471
2023-03-15 01:42 thekoala2 Note Added: 0027476
2023-03-15 01:49 x42 Note Added: 0027477