[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: Solfeggio
From:       Nicolas Sceaux <nicolas.sceaux () free ! fr>
Date:       2005-04-26 17:19:19
Message-ID: 878y35xxpk.fsf () free ! fr
[Download RAW message or body]

"Fairchild" <fairchild@knology.net> 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'
key: 

  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
keys.

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.
  <http://nicolas.sceaux.free.fr/lilypond/lyqi.html>
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.

nicolas



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic