Given a string with a scale name and (optionally) a tonic, split
that components.
It retuns an array with the form [ name, tonic ] where tonic can be a
note name or null and name can be any arbitrary string
(this function doesn"t check if that scale name exists)
Given a string with a scale name and (optionally) a tonic, split that components.
It retuns an array with the form [ name, tonic ] where tonic can be a note name or null and name can be any arbitrary string (this function doesn"t check if that scale name exists)