File/chordscanner.inc.php

Description

Contains functions to analyze a chord, represented by an array of pitches (integers)

Functions
doDSG (line 38)

Dissonance Grading of a chord

  • return: array containing the dissonance grading of the chord
array doDSG (array $pitchset, array $octaves)
  • array $pitchset: array of integers (pitches)
  • array $octaves: array of octaves
doghm (line 100)

Calculate Hindemith Root of a chord

  • return: Hindemith Root of the chord
int doghm (array $chordrec)
  • array $chordrec: array containing the dissonance grading of the chord
intDSG (line 212)

Calculate dissonance value of an interval (not taking into account possible octave positions of notes)

  • return: dissonance value
int intDSG (int $interval)
  • int $interval: interval to be analyzed
scan (line 22)

Analyzes a given chord (array of pitches) and returns the analysis

  • return: array containing the analysis of the chord
array scan (array $pitchset)
  • array $pitchset: array of integers (pitches)
takestockofoctaves (line 167)

Calculate which notes in a pitchset are octaves

  • return: array with octaves
array takestockofoctaves (array $pitchset)
  • array $pitchset: array of integers (pitches)

Documentation generated on Sun, 26 Nov 2006 14:27:01 +0100 by phpDocumentor 1.3.1