function getNoteOnNativeChord($scale, $octaves=1, $degree=0, $seventh=FALSE) { $output = array( array('degree' => 0+$degree, 'accidental' => 0), array('degree' => 2+$degree, 'accidental' => 0), array('degree' => 4+$degree, 'accidental' => 0) ); if ($seventh == TRUE) $output[] = array('degree' => 5+$degree, 'accidental' => 1); return getNoteFromDegrees($scale, $octaves, $output); }
function getNoteOnNativeChord($scale, $octaves=1, $degree=1, $nonHuman) { if(!($nonHuman)) $degree--; $degreesAllowed = array(0+$degree,2+$degree,4+$degree); return getNoteFromDegrees($scale, $octaves, $degreesAllowed, TRUE); }