View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002976 | ardour | bugs | public | 2009-12-27 20:02 | 2020-04-19 20:14 |
| Reporter | the_CLA | Assigned To | paul | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 3.0-beta1 | ||||
| Target Version | 3.0-beta1 | ||||
| Summary | 0002976: Use file timestamp for import places files at the wrong position if if sample rates don't match | ||||
| Description | Importing 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 | ||||
| Tags | No tags attached. | ||||
|
|
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. |
|
|
fixed in ardour3 rev 7785. will likely backport to ardour2, but not promised. |
|
|
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. |
| 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 |