added global scale function. now using decimal numbers for pitch octave/interval