ReaScripts icon indicating copy to clipboard operation
ReaScripts copied to clipboard

Automatic MIDI generation on repeat

Open tkna91 opened this issue 1 year ago • 2 comments

It would be useful to have an option to generate MIDI on repeat. You can check the MIDI content listening and stop playback if you like it, and if you don't stop, the MIDI will be regenerated on repeat. You can find great melodies and rhythms just by leaving it alone. I think a very big advantage is that you can leave it alone and concentrate on the listening.

Screenshot:

swappy-20240217_201145

tkna91 avatar Feb 17 '24 11:02 tkna91

Hi !

Thank you for your request, it's a great idea. I am not sure that this will be implemented in the current version - the codebase is quite fragile and unmanagable (this is what happens when you create a program while learning the language (Lua), and an API (Reaper). The script is non-realtime and has no concept of time in relation to the song position.

I have been working on a new version that has a cleaner more modular codebase, and perhaps your idea may be possible to implement ... but, my free time to work on this is very limited at present so for the moment, the script is what it is..

Again, thanks for your input, it's nice to know that people are still using the script :)

Regards RobU

RobU23 avatar Feb 26 '24 20:02 RobU23

If the Randomise/Generate button is externalized as an action, it may be possible to achieve this with a marker action. This would be less time-consuming to implement and more scalable. https://www.sws-extension.org/markeractions.php

tkna91 avatar Mar 20 '24 20:03 tkna91