-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running a script on the Piano Roll takes way too long to respond #1106
Comments
Tested with a small part with 20 notes: For comparison, tested 'Reverse' script, it runs fast. Since 'Do nothing' does nothing except copy notes to the destination file, it suggests To be investigated more... |
I don't remember it going this slow. Even the DoNothing script takes it merry little time. I wonder if something os-wide has changed. |
Weird. The scripts README says you can run -D for more info. Now I cannot reproduce the problem at all. I suspect something not with the scripts themselves but in the scripts.cpp file... |
Hi there. Very sorry for the long delay. A quick update: There may be hundreds or thousands of events to be processed. For each event to be processed, But unfortunately Conversely if your audio system buffer size is say 32, it should go much faster. This was verified here a few minutes ago. This should be possible to fix, I believe... |
Done! In git master now. |
How to test ? |
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
The text was updated successfully, but these errors were encountered: