lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accidentals algorithm


From: Hans Aberg
Subject: Accidentals algorithm
Date: Wed, 15 Sep 2010 10:13:32 +0200

I made an algorithm that computes accidentals on the algebraic level: the notes of the scales of staff and music are defined by linear combinations from a set of formal seconds. The typesetting is independent of the tuning system: the pitches are found by plugging values into these seconds, which can be done when writing an audio file. There is another algorithm for doing that.

The idea is to allow for very general types of scales and music. The staff scale does not need to be the traditional minor scale, have seven notes per diapason, or even defined by just a minor and a major second.

There Haskell code is available, in case somebody wants to check if it might be useful for LilyPond.

  Hans





reply via email to

[Prev in Thread] Current Thread [Next in Thread]