View Issue Details

IDProjectCategoryView StatusLast Update
0003789ardourbugspublic2020-04-19 20:15
Reporterrealhangman Assigned Topaul  
PrioritynormalSeverityminorReproducibilityrandom
Status closedResolutionfixed 
Summary0003789: Midi region don't get load correctly (get duplicated, stretched)
DescriptionI try to import midi tracks from tuxguitar, but on A3 session reload, the midi regions are suddenly either duplicated, stretched or both. I have not found a way to duplicate this other than:
- importing midi files with multiple tracks
- import/move more regions into the tracks, so that there is more than 1 region per tracks.
- Maybe add markers and tempo changes

I have attached a session and a screenshot of how this sessions looked when I saved it the last time. The regions will look differently when you open it, most probably they will overlap.
I have deleted the midi notes within the regions due to copyright (this is work-in-progress music, so I shouldn't leave a leak behind ;)
Additional InformationAdditionally, when you resize the smaller regions on the right side to the left, they will also expand to the right.

This all happens with rev. 8906
TagsNo tags attached.

Activities

2011-02-21 18:16

 

test-screenshot.jpg (123,541 bytes)   
test-screenshot.jpg (123,541 bytes)   

2011-02-21 18:16

 

project.zip (42,751 bytes)

cth103

2011-02-26 16:40

administrator   ~0010182

The loading should be fixed in SVN. The resizing thing, as far as I can make out, goes like this:

1. trim front of region
2. region's length is set appropriately (in frames)
3. region's length in beats is computed from number in (2)
4. region's position is set
5. region's length in frames is updated from the length in beats computed in (3), but now the region is in a different place (and straddling a tempo change), so a fixed number of beats gets you more or fewer frames. So the length of the region changes somewhat unexpectedly.

realhangman

2011-02-26 18:38

reporter   ~0010183

cth103: Thanks for the fix, works like a charm!
Also thanks for the explanation about the resizing.

cth103

2011-02-26 21:31

administrator   ~0010184

Last edited: 2011-02-26 21:31

The resizing thing should be fixed now too. The right-hand edge of the region still jumps around a little when the grid is on, which I'll look into.

paul

2011-07-07 21:50

administrator   ~0010990

see notes.

system

2020-04-19 20:15

developer   ~0022417

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
2011-02-21 18:16 realhangman New Issue
2011-02-21 18:16 realhangman File Added: test-screenshot.jpg
2011-02-21 18:16 realhangman File Added: project.zip
2011-02-21 23:58 cth103 cost => 0.00
2011-02-21 23:58 cth103 Target Version => 3.0-alpha1
2011-02-22 00:17 cth103 Status new => confirmed
2011-02-26 16:40 cth103 Note Added: 0010182
2011-02-26 18:38 realhangman Note Added: 0010183
2011-02-26 21:31 cth103 Note Added: 0010184
2011-02-26 21:31 cth103 Note Edited: 0010184
2011-07-07 21:50 paul Note Added: 0010990
2011-07-07 21:50 paul Status confirmed => resolved
2011-07-07 21:50 paul Resolution open => fixed
2011-07-07 21:50 paul Assigned To => paul
2020-04-19 20:15 system Note Added: 0022417
2020-04-19 20:15 system Status resolved => closed