[DSG] element index

All elements
a c d e f g i m n p s t u v _
_
top
Variable $_chordrec
DSG::$_chordrec in dsg.class.php
Variable $_currentchordrec
DSG_View::$_currentchordrec in dsg_view.class.php
Variable $_currentchordstring
DSG_View::$_currentchordstring in dsg_view.class.php
Variable $_getstringcompact
DSG_View::$_getstringcompact in dsg_view.class.php
Variable $_history
DSG_View::$_history in dsg_view.class.php
Variable $_lastfedinchord
DSG::$_lastfedinchord in dsg.class.php
Variable $_lastfedinchordstring
DSG_View::$_lastfedinchordstring in dsg_view.class.php
Variable $_midi_file_path
DSG_View::$_midi_file_path in dsg_view.class.php
Variable $_psmoptions
DSG_View::$_psmoptions in dsg_view.class.php
Variable $_psmradio
DSG_View::$_psmradio in dsg_view.class.php
Variable $_psmtype
DSG_View::$_psmtype in dsg_view.class.php
Variable $_show_sound
DSG_View::$_show_sound in dsg_view.class.php
Variable $_soundcheckbox
DSG_View::$_soundcheckbox in dsg_view.class.php
Variable $_targetdsg
DSG_View::$_targetdsg in dsg_view.class.php
Variable $_targetdsgradio
DSG_View::$_targetdsgradio in dsg_view.class.php
Variable $_url
DSG_View::$_url in dsg_view.class.php
Variable $_warning
DSG_View::$_warning in dsg_view.class.php
Method _check_settings
DSG_Controller::_check_settings() in dsg_controller.class.php
Check if the settings are correct for MIDI support to function, otherwise trigger error
Method _chordrectostring
DSG_View::_chordrectostring() in dsg_view.class.php
Translates an array with chord analysis back to a string of note names
Method _clear_tmpdir
DSG_Controller::_clear_tmpdir() in dsg_controller.class.php
Clear out tmp directory once every 24 hours
Method _default
DSG_Controller::_default() in dsg_controller.class.php
Default method to be invoked when no user input is present
Method _parse_request_array
DSG_Controller::_parse_request_array() in dsg_controller.class.php
Function to sanitize and summarize the user input ($_REQUEST array)
Method _saveMIDI
DSG_Controller::_saveMIDI() in dsg_controller.class.php
Saves MIDI file in designated tmp directory and returns the src attribute
Method _setRadiosAndSelects
DSG_View::_setRadiosAndSelects() in dsg_view.class.php
Sets the correct states for radio buttons, checkboxes and selectmenus of the form
Method _writestructure
DSG_View::_writestructure() in dsg_view.class.php
Translates an array with chord analysis to a readable string representation
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
Method changeCurrentChordByPSM
Changes the current chord by Parallel Subset Motion
Method changeCurrentChordByTargetDSG
Changes the current chord as far as possible in the direction of the target DSG
Page chordscanner.inc.php
chordscanner.inc.php in chordscanner.inc.php
Page chordworker.inc.php
chordworker.inc.php in chordworker.inc.php
d
top
Variable $dsg
DSG_Controller::$dsg in dsg_controller.class.php
Variable $dsgform
DSG_View::$dsgform in dsg_view.class.php
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
Class DSG
DSG in dsg.class.php
Model part of the Model-View-Controller setup for the Dissonance Grading package
Method DSG
DSG::DSG() in dsg.class.php
The constructor
Page dsgdoc.php
dsgdoc.php in dsgdoc.php
Page dsg_config.inc.php
dsg_config.inc.php in dsg_config.inc.php
Class DSG_Controller
DSG_Controller in dsg_controller.class.php
Controller part of the Model-View-Controller setup for the Dissonance Grading package
Method DSG_Controller
DSG_Controller::DSG_Controller() in dsg_controller.class.php
The constructor
Constant DSG_CSS
DSG_CSS in dsg_config.inc.php
Default stylesheet, based on joskunst.net style
Constant DSG_EXTERNAL_LIBS_INCLUDE_PATH
DSG_EXTERNAL_LIBS_INCLUDE_PATH in dsg_config.inc.php
Include path for third-party libraries, change to wherever you want to keep those
Constant DSG_INCLUDE_PATH
DSG_INCLUDE_PATH in dsg_config.inc.php
Include path, change to wherever you want to keep the classes and functions
Constant DSG_MIDI_SUPPORT
DSG_MIDI_SUPPORT in dsg_config.inc.php
Set to TRUE if MIDI support is needed
Constant DSG_TMPDIR
DSG_TMPDIR in dsg_config.inc.php
Directory to save MIDI files, must be writable by webserver and within the document root
Constant DSG_TMPDIR_DOCROOT
DSG_TMPDIR_DOCROOT in dsg_config.inc.php
Directory for MIDI files from the point of view of the webserver
Class DSG_View
DSG_View in dsg_view.class.php
View part of the Model-View-Controller setup for the Dissonance Grading package
Method DSG_View
DSG_View::DSG_View() in dsg_view.class.php
The constructor
Page dsg.class.php
dsg.class.php in dsg.class.php
Page dsg_controller.class.php
dsg_controller.class.php in dsg_controller.class.php
Page dsg_view.class.php
dsg_view.class.php in dsg_view.class.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
g
top
Method getCurrentChord
DSG::getCurrentChord() in dsg.class.php
Returns the chord currently being worked on
Method getCurrentDSG
DSG::getCurrentDSG() in dsg.class.php
Returns the dissonance grading of the current chord
Method getDocumentationLink
DSG_View::getDocumentationLink() in dsg_view.class.php
Returns link to documentation page (with saved page state in compacted request array)
Method getLastFedInChord
DSG::getLastFedInChord() in dsg.class.php
Returns the last manually entered chord
Method getMIDItxt
DSG_View::getMIDItxt() in dsg_view.class.php
Returns a textual represention of a MIDI file for the current chord
i
top
Page index.php
index.php in index.php
Function intDSG
intDSG() in chordscanner.inc.php
Calculate dissonance value of an interval (not taking into account possible octave positions of notes)
m
top
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
Page set_emulation.inc.php
set_emulation.inc.php in set_emulation.inc.php
Function scan
scan() in chordscanner.inc.php
Analyzes a given chord (array of pitches) and returns the analysis
Method setCurrentChord
DSG_View::setCurrentChord() in dsg_view.class.php
Sets the current chord
Method setForm
DSG_View::setForm() in dsg_view.class.php
Creates the form to work on a chord, also containing the history so far
Method setGetStringCompact
DSG_View::setGetStringCompact() in dsg_view.class.php
Sets a compacted request array containing the state of the current page
Method setHistory
DSG_View::setHistory() in dsg_view.class.php
Sets the history (list of chord analyses so far) to be saved, and appended to, in a textarea
Method setInitialForm
DSG_View::setInitialForm() in dsg_view.class.php
Creates form for startpage
Method setLastFedInChord
DSG::setLastFedInChord() in dsg.class.php
Saves the last manually entered chord
Method setLastFedInChord
DSG_View::setLastFedInChord() in dsg_view.class.php
Sets the last manually entered chord, to be saved in a hidden variable
Method setMIDIFilePath
DSG_View::setMIDIFilePath() in dsg_view.class.php
Sets the value of the src attribute for the embed element for MIDI files
Method setSelectedPSMType
DSG_View::setSelectedPSMType() in dsg_view.class.php
Sets the previously chosen Parallel Subset Motion type (increasing or diminishing dissonance)
Method setSound
DSG_View::setSound() in dsg_view.class.php
Whether or not to show the MIDI controls, sets the MIDI checkbox accordingly
Method setTargetDSG
DSG_View::setTargetDSG() in dsg_view.class.php
Sets the previously entered target dissonance, to be reshown in its text field
Method setWarning
DSG_View::setWarning() in dsg_view.class.php
Sets a warning text
t
top
Page translations.inc.php
translations.inc.php in translations.inc.php
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
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
v
top
Variable $view
DSG_Controller::$view in dsg_controller.class.php
a c d e f g i m n p s t u v _