Freezing on each midi region edit

I’m running Ardour 9.8.0 “The Equatorial Stars” (rev 9.8) Intel 64-bit. Each time I resize, move a midi region or edit a note inside it Ardour seems to freeze for about half a minute. This makes working with midi extremely frustrating. Seems like this start occurring after copy pasting a region multiple times throughout the track.

I’ve also noticed that if a project has many midi regions it takes really long time to load it up. Something is clearly not right.

Never had anything like that on older versions, but since I wasn’t really working with midi for a while I’m not sure which version introduces this problem.

What could be freezing it? Is there any way to fix this?

1 Like

Can you make an example session available?

Here you go: Session example

I’ve uploaded to LimeWire, let me know if you want me to share the session file in a different manner.

1 Like

So far the best solution I’ve found is combining regions to have one per track rather than separate ones per each loop.

Could you archive the session before uploading it ? The .ardour file alone is not enough to reproduce the issue. There a bug in 9.8 (already fixed in nightly) that causes slowdowns in presence of overlapping opaque midi regions.

Yes, but not the same exact session since I’ve combined regions on it. I uploaded another session example on which I had plenty of separate MIDI regions so It is loading a long time and editing would make Ardour freeze as well.

This might be a different bug, 'cause I don’t really think there are any overlapping regions on this one.

This is the message I see when it’s loading:

Yes that’s the bug I’m talking about, if possible please try with a nightly build to confirm.

Damn, I’m not really a subscriber. Would ardour-git package on AUR count as a nightly build?

https://aur.archlinux.org/packages/ardour-git

I’ll have to build it myself. Here’s the source variable in PKGBUILD:

source=("$_pkgname::git+https://github.com/Ardour/ardour.git"
        "$_pkgname-midi-${pkgver%%.*}.zip::http://stuff.ardour.org/loops/ArdourBundledMedia.zip"
        'ardour-7.x-vendor_qm-dsp.patch')

I could as well edit the PKGBUILD to use the nightly branch if it does not already. I’d appreciate a link.

A demo build (https://nightly.ardour.org/) is enough to test :).

Would you still have a link to the nightly repo and/or branch name?

If you’re building from source then the master branch = nightly.

Cool! It turns out the session does load normally on a nightly build as well as editing it doesn’t make Ardour freeze for long periods.

1 Like

Thanks for confirming !