View Issue Details

IDCategoryLast Update
0007985bugs2020-05-01 08:47
ReporterunfaAssigned To 
Reproducibilityhave not tried 
Status newResolutionopen 
PlatformPCOSManjaro LinuxOS VersionKDE
Product Version6.0-pre1 
Fixed in Version 
Summary0007985: Consolidate Range doesn't work for MIDI regions
DescriptionConsolidate Range in Ardour 5.12 combines bounces multiple MIDI regions in place into a single new region.

In Ardoru 6.0-pre1 this simple does nothing.

On a different nore:

Personally I'd prefer if the end of the MIDI region would not be truncated to the end of last MIDI note like it is in Ardour 5.12, as when I want my regions to snap to bars, this breaks it an I have to manually correct that, unless my MIDI notes touch the end of the bar before consolidation.
Tagsconsolidate

Activities

Xard

2020-05-01 08:41

reporter   ~0024017

Hello,

I can also confirm this with official Ardour 6.0-rc1.95 debug build

Steps to repeat:
1. create two or more midi regions next to each other with some notes in them
2. activate range tool
3. cover range with all created midi regions
4. open context menu and press "Consolidate range"

Result:
Seemingly nothing happens but if I open the project interchange > midifiles I can see brief flicker of something happening and below is a debug log that gets written to journalctl:

touko 01 11:37:35 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: actually writing state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.tmp
touko 01 11:37:35 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: renaming state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.ardour
touko 01 11:37:35 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: saved state in 24.4 ms
touko 01 11:37:35 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: removed /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.pending
touko 01 11:37:35 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: (ardour-6.0.rc1.95:28966): GLib-CRITICAL **: g_ptr_array_remove_range: assertion 'index_ < rarray->len' failed
touko 01 11:37:35 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: actually writing state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.tmp
touko 01 11:37:35 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: renaming state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.pending
touko 01 11:37:35 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: saved state in 25.3 ms

Xard

2020-05-01 08:47

reporter   ~0024018

Also something similar happens with "Bounce range": (I'll create additional ticket if it's not related)

touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: (ardour-6.0.rc1.95:28966): GLib-CRITICAL **: g_ptr_array_remove_range: assertion 'index_ < rarray->len' failed
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: actually writing state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.tmp
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: renaming state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.ardour
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: saved state in 23.6 ms
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: (ardour-6.0.rc1.95:28966): GLib-CRITICAL **: g_ptr_array_remove_range: assertion 'index_ < rarray->len' failed
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: actually writing state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.tmp
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: renaming state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.ardour
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: saved state in 23.7 ms
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: (ardour-6.0.rc1.95:28966): GLib-CRITICAL **: g_ptr_array_remove_range: assertion 'index_ < rarray->len' failed
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: actually writing state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.tmp
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: renaming state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.ardour
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: saved state in 23.7 ms
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: (ardour-6.0.rc1.95:28966): GLib-CRITICAL **: g_ptr_array_remove_range: assertion 'index_ < rarray->len' failed
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: actually writing state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.tmp
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: renaming state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.ardour
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: saved state in 24.6 ms
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: (ardour-6.0.rc1.95:28966): GLib-CRITICAL **: g_ptr_array_remove_range: assertion 'index_ < rarray->len' failed
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: actually writing state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.tmp
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: renaming state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.ardour
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: saved state in 23.9 ms
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: (ardour-6.0.rc1.95:28966): GLib-CRITICAL **: g_ptr_array_remove_range: assertion 'index_ < rarray->len' failed
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: actually writing state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.tmp
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: renaming state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.ardour
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: saved state in 24.0 ms
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: (ardour-6.0.rc1.95:28966): GLib-CRITICAL **: g_ptr_array_remove_range: assertion 'index_ < rarray->len' failed
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: actually writing state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.tmp
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: renaming state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.ardour
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: saved state in 23.7 ms
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: (ardour-6.0.rc1.95:28966): GLib-CRITICAL **: g_ptr_array_remove_range: assertion 'index_ < rarray->len' failed
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: actually writing state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.tmp
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: renaming state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.ardour
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: saved state in 24.7 ms
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: (ardour-6.0.rc1.95:28966): GLib-CRITICAL **: g_ptr_array_remove_range: assertion 'index_ < rarray->len' failed
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: actually writing state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.tmp
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: renaming state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.ardour
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: saved state in 23.9 ms
touko 01 11:43:28 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: (ardour-6.0.rc1.95:28966): GLib-CRITICAL **: g_ptr_array_remove_range: assertion 'index_ < rarray->len' failed
touko 01 11:43:35 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: actually writing state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.tmp
touko 01 11:43:35 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: renaming state to /home/share/daw/Ardour/Ardour6Dev/Untitled-2020-05-01-10-03-45/Untitled-2020-05-01-10-03-45.pending
touko 01 11:43:35 Kuutio64 Ardour-Ardour_6.0.rc1.95_dbg.desktop[28966]: saved state in 27.3 ms

Issue History

Date Modified Username Field Change
2020-04-07 11:32 unfa New Issue
2020-04-07 11:32 unfa Tag Attached: consolidate
2020-05-01 08:41 Xard Note Added: 0024017
2020-05-01 08:47 Xard Note Added: 0024018