I experimented a lot recently with pattrns scripts.
With a lot of trial and error, I have one that may be funny / interesting.
Disclaimer: I’m quite dumb harmonically (I was not formally trained as a musician), this script was a pretext for exploring and learning more on the topic (and it worked a bit
)
It generates chord progressions (from a dictionary), which can be constrained to a scale.
It may be useful to:
- explore harmony
- generate the skeleton of a song
- exploring modal interchange/chord borrowing (by automating/changing the scale)
- doing generative pieces (consonant or dissonant)
- whatever your sick brain may imagine

I have also made a very simple “song“/xrns file (using bundled instruments) to show the possibilities when controlling 2 instances of this script using a combination of Instrument Macros and Hydra.
=> Go to track 02, and change the input values of the “Root Note“ and “Scale“ Hydras.
Chord_prog_script_demo.xrns (1.6 MB)