Random midi thing
Nice. Should work now. Create as many receives as you need outputs. Name them note0-infinity.
Change the textiles named scale0-4 to the scales you want. If you want arrays larger than 5 notes you’ll have to change the resize in [pd scales] to the size of your scale.
[pd randSend]. Leftmost inlet sets the scale. Mid input outputs. Rightmost is the number of receives you have created.