[Top][All Lists]

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

Re: Lilypond interfaces

From: David Bellows
Subject: Re: Lilypond interfaces
Date: Wed, 18 Apr 2018 08:53:57 -0700

You didn't say why you wanted this so I might as well throw in the
project I'm working on, the Platonic Music Engine
( The point is **not** to be a
front-end for Lilypond but to generate music. But it will also create
sheet music using Lilypond (and graphical notation using LaTeX). I've
begun working on a very simple parser that allows one to enter in a
piece of music using a not-so-efficient syntax which will then create
music via Csound and sheet music.

My software is very much in the alpha stages and the parser exists
only on my computer because it is woefully incomplete but if anyone
wants to try it for some reason I can upload it to my git repo.

The syntax goes like this (using the first several notes for Row, Row,
Row Your Boat):

pitches = {"P1:c4","P1","P1","M2","M3","M3","M2","M3","P4","P5"}

As you can see it uses interval notation. You specify what octave to
start with and can change this as needed. If you don't specify an
octave than the previous one holds over.

The durations are held in a separate table for now but eventually will
be merged:

durations = {"dotted quarter","dotted quarter", "quarter",
"8th","dotted quarter","quarter","8th","quarter", "8th", "dotted

And dynamics have their own table as well:

volume = "ff"

The point of the interval notation is not ease-of-use but because one
of the big features of my software is that it can handle just about
any tuning imaginable (99% compatible with Scala). So you enter in the
notes once and then change the tuning to whatever you want (various
JIs, 0<=n<=3 million+ EDO (or EDI), etc) and the software will
calculate the nearest pitch to what I designate as the Platonic values
for the standard 12 Western intervals (using a 5-lim JI and eventually
non-Western intervals will be supported as well). So it's very easy to
hear what your melody will sound like in 12-EDO, Harry Partch's 43
Tone System, 13-EDO, 5-ED:P5, etc. And then also to be able to
generate sheet music and various kinds of graphical notation.

As of now, the parser can only handle a small subset of what the PME
can do sheet music-wise which itself is only a small subset of what
Lilypond can do.

On Tue, Apr 17, 2018 at 1:17 PM, Amir Teymuri <address@hidden> wrote:
> Hello,
> does anyone knows about interfaces and/or notation systems written in other
> programming languages which use lilypond as backend? Two examples of such
> interfaces are fomus (
> and abjad (
> cheers,
> Amir
> - - - - - - - - - - -
> address@hidden
> - - - - - - - - - - -
> _______________________________________________
> lilypond-user mailing list
> address@hidden

reply via email to

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