File/includes/translations.inc.php

Description

Contains functions to translate to and from strings representing chords and pitches

Functions
makeintoset (line 22)

Translates user input, a string which represents a chord, into a set of pitches

  • return: set of pitches, extracted from the inputstring
array makeintoset (string $chordstring)
  • string $chordstring: user input: a string containing zero or more notes
nameof (line 90)

Translates integer denoting pitch into the string that is its name

  • return: name of the pitch
string nameof (int $pitch)
  • int $pitch: integer denoting a pitch

Documentation generated on Sun, 26 Nov 2006 14:19:36 +0100 by phpDocumentor 1.3.1