[DSG] element index

All elements
a c d e f i l m n p s t u w
a
top
Function array_addtoset
array_addtoset() in set_emulation.inc.php
Add a single element, or a set, to a set
Function array_removefromset
array_removefromset() in set_emulation.inc.php
Removes a single element, or a subset, from a set
Function array_subset
array_subset() in set_emulation.inc.php
Checks if array1 is a subset of array2
c
top
Function changebyhand
changebyhand() in input_output.inc.php
Add pitches to or remove pitches from chord by hand
Function choosestartingposition
choosestartingposition() in input_output.inc.php
Receive a string representing a chord from the user, return array with analysis
Page chordscanner.inc.php
chordscanner.inc.php in chordscanner.inc.php
Page chordworker.inc.php
chordworker.inc.php in chordworker.inc.php
d
top
Function decidewhethertoprint
decidewhethertoprint() in input_output.inc.php
Receive user input to decide if results are to be saved to file
Function doDSG
doDSG() in chordscanner.inc.php
Dissonance Grading of a chord
Function doghm
doghm() in chordscanner.inc.php
Calculate Hindemith Root of a chord
Function downgrade
downgrade() in chordworker.inc.php
Orders the chords resulting from the four possible second steps of the most dissonant tone, from low to high dsg
Page dsg_cli.php
dsg_cli.php in dsg_cli.php
e
top
Function extractset
extractset() in chordworker.inc.php
Extracts the pitches from an array representing a chord structure
f
top
Function findpmaxcontrib
findpmaxcontrib() in chordworker.inc.php
Looks for the most dissonant tone in the chord
Function findpmaxdiff
findpmaxdiff() in chordworker.inc.php
Returns the tone from the intersection of two chords which differs most in dissonance value in the two chords
Function findpmincontrib
findpmincontrib() in chordworker.inc.php
Looks for the least dissonant tone in the chord
i
top
Page input_output.inc.php
input_output.inc.php in input_output.inc.php
Function intDSG
intDSG() in chordscanner.inc.php
Calculate dissonance value of an interval (not taking into account possible octave positions of notes)
Function introduction
introduction() in input_output.inc.php
Five screens of introductory text
l
top
Global $last_fed_in_chord
$last_fed_in_chord in dsg_cli.php
Used to save original chord provided by the user
m
top
Function makechoice
makechoice() in input_output.inc.php
Utility function to keep repeating a prompt string until a valid choice has been made by the user
Function makeintoset
makeintoset() in translations.inc.php
Translates user input, a string which represents a chord, into a set of pitches
Function movetonefourpossibleways
movetonefourpossibleways() in chordworker.inc.php
Changes a chord four different ways, by performing four possible second steps of a given tone
n
top
Function nameof
nameof() in translations.inc.php
Translates integer denoting pitch into the string that is its name
p
top
Function psmconsrec
psmconsrec() in chordworker.inc.php
Diminishes an analyzed chord's dissonance, using parallel subset motion
Function psmdissrec
psmdissrec() in chordworker.inc.php
Increases an analyzed chord's dissonance, using parallel subset motion
s
top
Function scan
scan() in chordscanner.inc.php
Analyzes a given chord (array of pitches) and returns the analysis
Page set_emulation.inc.php
set_emulation.inc.php in set_emulation.inc.php
t
top
Function takestockofoctaves
takestockofoctaves() in chordscanner.inc.php
Calculate which notes in a pitchset are octaves
Function targetrecto
targetrecto() in chordworker.inc.php
Changes dissonance of a chord in the direction of the supplied target dissonance
Page translations.inc.php
translations.inc.php in translations.inc.php
u
top
Function upgrade
upgrade() in chordworker.inc.php
Orders the chords resulting from the four possible second steps of the least dissonant tone, from high to low dsg
w
top
Function work
work() in input_output.inc.php
Program flow and user interaction related to working with chords
Function writestructure
writestructure() in input_output.inc.php
Write chord analysis to screen and file
a c d e f i l m n p s t u w