View Issue Details

IDProjectCategoryView StatusLast Update
0009523ardourbugspublic2023-11-17 17:03
Reporteradmd127 Assigned Topaul  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformMicrosoftOSWindowsOS Version10
Product Version8.1 
Summary0009523: MIDI import overwrrites tempo starting at beginning of session
DescriptionWhen importing a midi file into a session using "Use MIDI Tempo Map" and "Insert at playhead" options, the imported tempo map overwrites existing tempo map starting at Bar 1 regardless of the position of the playhead, whereas the rest of the MIDI file is imported at the playhead which ends up moving in Bars:Beats when the existing tempo is overwritten.

This behaviour happens on both Windows and Linux.

TagsNo tags attached.

Activities

admd127

2023-11-11 15:15

reporter   ~0028317

Here are the steps to reproduce this behavior/
1) Create a simple session with a tempo change ( see step1.png : example in this case is 2 bars long . The tempo change is at beginning of Bar 2 )
2) Export the region as midi file ( see step2.png )
3) Position the playhead beyond the end of the region created in step 1 and Import the midi file created in step 2 with "Use MIDI Tempo Map" and "Insert at Playhead" options as shown in the attached image ( see step3.png )
4) Observe that the existing tempo change is overwritten ( see step4.png )

step4.png also shows that the original tempo change was not actually exported in step2. This can be verified by reading the MIDI file created in step2 using python mido library.
step1.png (78,460 bytes)   
step1.png (78,460 bytes)   
step2.png (206,900 bytes)   
step2.png (206,900 bytes)   
step3.png (283,341 bytes)
step4.png (85,763 bytes)   
step4.png (85,763 bytes)   

paul

2023-11-17 17:03

administrator   ~0028333

as of commit b76c3b11d9 this should be fixed in master and the nightly builds.

Issue History

Date Modified Username Field Change
2023-11-02 22:53 admd127 New Issue
2023-11-11 15:15 admd127 Note Added: 0028317
2023-11-11 15:15 admd127 File Added: step1.png
2023-11-11 15:15 admd127 File Added: step2.png
2023-11-11 15:15 admd127 File Added: step3.png
2023-11-11 15:15 admd127 File Added: step4.png
2023-11-17 17:03 paul Note Added: 0028333
2023-11-17 17:03 paul Assigned To => paul
2023-11-17 17:03 paul Status new => resolved
2023-11-17 17:03 paul Resolution open => fixed