Implementation of ability to set the root note of each arpeggio. To allow changes to the root note, it has been combined with the octaves control.
The root note is based upon any position in the current selected scale, so all output notes will always be in key.
In control mode, you can now choose to have that control manage either octaves, root note, or both, using A0.
If you select root mode, you can use A1 (whilst in control mode) to set the number of octaves to be played in each arpeggio.
In octaves mode, the root note will always be the first one in the scale.
If in "both" mode, the first swing of the octaves/root  control will control the root note, then the rest the number of octaves. In this mode, use an external voltage source (e.g. a Power Points) to set the desired value for each. Sweeping the pot into the root part of the control will leave you with octaves of 1, and sweeping into octaves will leave you with the maximum root note value, hence you need to control this from something which will switch, rather than sweep, the control value.
The software defaults to root mode, with 4 octaves being played.
Updating for root note control