as special case of our framework. The chord sequence would then play the role of the observations being made and the pathway in the harmonic space would be interpreted as a hidden stochastic process. However, the Viterbi algorithm is just based on the assumption that the evaluation of pathways can be obtained step by step in terms of an order-preserving evaluation of partial pathways. This assumption does not presuppose a stochastic interpretation.
Consider a chord sequence and associated harmonic paths to be evaluated as candidates for best harmonic analyses . We sketch a very general situation in which the Viterbi algorithm works. For each index we consider
a function evaluating path-continuing transitions which depend only on the value of the previous path and the two loci and of that transition,
a function evaluating path-specific choices which depend only on the values of the previous paths (leading to ) and the concrete choice of at index , which of course includes dependence upon the chord at index .
Remark 3Both functionsandmay depend upon, i.e. they may depend upon the chord sequence. Within our frameworkin fact substantially depends upon, because it encodes thesignifications, butdoes not depend upon. Theinvestigation of proper dyadic significations would require the definition of variablefunctions.
As an essential presupposition we need that and are both order-preserving in their first argument, whenever they do not vanish. Further we assume them to be zero-preserving. This latter condition just means that zero values stand for discarded transitions or loci which should not occur at all in any analysis, i.e. and for all . According to the first condition, does imply
If we further consider an initial evaluation we define the values of the increasing partial paths of as:
Note, that the partial evaluation maps are order-preserving too. The total value of a path is its last partial value, i.e. . A best