use scale notes instead of frequencies for scaleArray
Jamming with a sliding monosynth