RobU23 / ReaScripts

ReaScripts for REAPER DAW
GNU General Public License v3.0
45 stars 7 forks source link

Automatic MIDI generation on repeat #28

Open tkna91 opened 9 months ago

tkna91 commented 9 months ago

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

RobU23 commented 8 months ago

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

tkna91 commented 8 months ago

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