[Top][All Lists]

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

Re: Solfeggio

From: Nicolas Sceaux
Subject: Re: Solfeggio
Date: Tue, 26 Apr 2005 19:19:19 +0200
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

"Fairchild" <address@hidden> writes:

> Tell me more please.  Just what does your editor do?

Let's suppose that the line before where the cursor stands shows (with
absolute octaves):

  g'4. a'8 <cursor>

If I press the 'd' key on my keyboard, the line becomes:

  g'4. a'8 d''8 <cursor>

There is two '' after the d because the nearest D from A is the one an
octave higher. Now, if that d is a quater note, I just press the '4'

  g'4. a'8 d''4 <cursor>

If, instead, I wanted a d an octave lower, I'd press the comma key:

  g'4. a'8 d'4 <cursor>

And so on, for alterations and dots.

But usually I use a MIDI keyboard for note entry, with Rumor. As I am
a bad keyboard player, I chose to enter the notes without
durations. After all the notes have been entered, I enter the
durations, which is just a matter of hitting the relevant numeric

This thing has been written for emacs. It is functionnal (I mean: I
use it). But some features are missing: for instance, it does not play
well with chords -- this is litotes.
I've written an other version fom scratch, more evolutive wrt
LilyPond syntax, but terribly slow, so I throw it. Now I am
investigating the possiblity of letting LilyPond do most of the stuff
(among which the parsing of course), in an editor-agnostic way. But I
don't know yet if it would be fast enough, and solid enough wrt
syntax errors.
Another track would be an implementation of a sort of Earley parser,
which would be more tolerant wrt errors. I don't know if that would
worth the price, though.


reply via email to

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