fixed octave semitone variable

Fixed issue #3