lilypond-user
[Top][All Lists]
Advanced

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

Re: accidentals for just intonation


From: Graham Breed
Subject: Re: accidentals for just intonation
Date: Thu, 03 Dec 2015 21:03:28 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.8.0

On 03/12/15 12:11, N. Andrew Walsh wrote:

If your system requires only a range in cents to determine which accidental
to use, that should be easy to calculate and apply. If it requires only the
prime factors of the ratios, that should be easy, too. If it's some mixture
of them, that works as well. And for all of them, it should be possible to
output something different to different instrumental parts, as needed.

Prime factorization to control the accidentals wasn't easy when I looked at it. The only information available when the accidental was chosen is the pitch-difference, so that's what I used. There are ways communicating, though, like choosing different accidental sets according to the factors or building the accidental string recursively. Maybe it's easier with new versions of Lilypond and improved documentation. I did this a while ago and learned the internals as I went along. I welcome assistance from more experienced Lilypond-Schemers, and if it's going to be re-implemented from scratch, at least my code's there as an example of what can work.


                Graham






reply via email to

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