I came across an excellent app named SCALER for learning and experimenting with Music Theory.

Here is a brief YouTube Demo of the features:

https://www.youtube.com/watch?v=Mq9zRKG0SW8

This is on sale for $29

https://scalermusic.com/products/scaler-2/

The iPad iOS Version is $12.99.

https://apps.apple.com/us/app/scaler-2/id1603180235

I purchased both and I am thoroughly fascinated how you can select any scale and it lays down interesting Chord Progressions that you can bind to your keys. You can add complex arps.

It opens up interesting possibilities of generating automated music playback.
One member posted an example of how to combine the output of SCALER to UJAM.

https://forum.scalermusic.com/t/scaler-and-ujam-virtual-pianist-driving-everything/17772

David