Describe the bug
Running a script from the scripts menu on the piano roll takes ages to respond. When you run a script such as humanize, it firstly asks if I want to run it only for selected notes or for all events in the track. When I confirm this, it takes like half a minute to display the dialogue and when I confirm on the dialogue, it takes another minute to run it on a single track. An equivalent feature runs nearly instantly in other pieces of software. Even the script "do nothing", which I guess is there for debugging, takes too long to respond.
To Reproduce
Steps to reproduce the behavior:
- Import some MIDI file
- Open one track on the piano roll
- From the menu scripts, run a script for all note events in track or for a selection. I tested with humanize, do nothing and randomizeVelocityRelative.
- MusE 4 freezes and it takes too long to respond.
Expected behavior
To respond nearly instantly. It should no more than running a loop over a couple of thousands of elements.
Desktop (please complete the following information):
- OS: Ubuntu 22.04
- Desktop MATE 1.26.0
Additional context
Machine: Acer Aspire V3 772G with 24 GB RAM installed
Intel i7 4th gen 2.2 GHz
Describe the bug
Running a script from the scripts menu on the piano roll takes ages to respond. When you run a script such as humanize, it firstly asks if I want to run it only for selected notes or for all events in the track. When I confirm this, it takes like half a minute to display the dialogue and when I confirm on the dialogue, it takes another minute to run it on a single track. An equivalent feature runs nearly instantly in other pieces of software. Even the script "do nothing", which I guess is there for debugging, takes too long to respond.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To respond nearly instantly. It should no more than running a loop over a couple of thousands of elements.
Desktop (please complete the following information):
Additional context
Machine: Acer Aspire V3 772G with 24 GB RAM installed
Intel i7 4th gen 2.2 GHz