View Issue Details

IDProjectCategoryView StatusLast Update
0002976ardourbugspublic2020-04-19 20:14
Reporterthe_CLA Assigned Topaul  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version3.0-beta1 
Target Version3.0-beta1 
Summary0002976: Use file timestamp for import places files at the wrong position if if sample rates don't match
DescriptionImporting a file that doesn't match the project sample rate and though needs to be resampled, results in the region placed in the wrong position if "use file timestamp" is used as positional option ("Insert:").

For example importing a file with 44.1 kHz and timestamp of 01:00:18:01 to a 48 kHz session, results in the region placed at 00:55:24:02. Importing the same file to a session with 44.1 kHz it is placed at the correct position.


2.0-ongoing, Rev. 6397
TagsNo tags attached.

Relationships

child of 0002633 closedpaul Timestamp not recognized when importing audio 

Activities

the_CLA

2009-12-28 00:50

reporter   ~0007254

On further investigation (I switched the clocks to samples instead of timecode) it revealed the cause:

Original file timestamp is 173666047 samples
The expected position would be 173666047*48000/44100=~189024269
But it currently calculates 173666047*44100/48000=~159555681

So currently in the calculation the source and destination sample rates are swapped.

paul

2010-09-16 16:12

administrator   ~0009065

fixed in ardour3 rev 7785.

will likely backport to ardour2, but not promised.

system

2020-04-19 20:14

developer   ~0022019

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2009-12-27 20:02 the_CLA New Issue
2009-12-28 00:50 the_CLA Note Added: 0007254
2010-04-18 00:14 cth103 Relationship added child of 0002633
2010-04-24 10:28 cth103 Category bugs => bugs2
2010-04-24 10:31 cth103 Category bugs2 => bugs
2010-09-02 02:39 paul cost => 0.00
2010-09-02 02:39 paul Product Version SVN/2.0-ongoing => 3.0-beta1
2010-09-02 02:56 cth103 Target Version => 3.0-beta1
2010-09-16 16:12 paul Note Added: 0009065
2010-09-16 16:12 paul Status new => resolved
2010-09-16 16:12 paul Resolution open => fixed
2010-09-16 16:12 paul Assigned To => paul
2020-04-19 20:14 system Note Added: 0022019
2020-04-19 20:14 system Status resolved => closed