[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] More script questions and requests
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] More script questions and requests |
Date: |
Wed, 15 Jul 2009 17:48:00 +0100 |
On Wed, 2009-07-15 at 16:21 +0200, Nils Gey wrote:
> On Wed, 15 Jul 2009 09:07:07 -0500
> Jeremiah Benham <address@hidden> wrote:
>
> > On Wed, Jul 15, 2009 at 02:14:53PM +0200, Nils Gey wrote:
> > > This seems to be fun :)
> > >
> > >
> > > 1) Is there / Can you create a GetNoteLength
> >
> > I can do this. What should it return? 384 = quarter 192 = eigth? Is that
> > okay?
Let's keep the GetNote* to LilyPond notation, so 4 for quarter etc.
>
> Do whatever is fine. I don't understand the logic behind those numbers, but
> thats maybe me.
> >
> > > 5) Jeremiah, is there a working "Move Cursor to nearest note on vertical
> > > position?" or better "Move Cursor to the lowest/highest note on current
> > > position"
> >
> > yes in git. Its works like this:
> >
> > (d-CursorToNote "c'")
>
> Sorry, I meant "find the next note". I just want to place the cursor
> somewhere on the lines and then let a script do its work, but for that the
> cursor has to be on the lowest (or highest) note and of course I cannot
> predict what that may be.
>
This is a tricky area, there is no internal state in Denemo that says
that a note is the current note. However the cursor may be on a note
position (and since I have allowed more than one note at the same
position, this still does not mean there is one single identifiable
"current note").
Richard
> > > x) Scheme-Editor does not have scrollbars and no undo. This is "x"
> > > because this is already known and already on the roadmap "Better
> > > texteditor-windows, integrate Scintilla http://www.scintilla.org/ ?"
> >
> > Or possibly emacs or vim. I use to emacs. I then switched to vim because
> > "all the cool kids were doing it". Now that I am doing more >scheme I am
> > wondering if I should go back to emacs.
>
> I am not talking about a standalone texteditor.
> As long as it can start as a Denemo child-window and can have such buttons as
> "Execute Script" "Record Script" or features the lilypond-editor might need
> (folding) its fine.
>
> And maybe we should give a minimal gui with the text-editor-windows. I think
> its not so wise to assume Windows and Mac users know vim keybindings :)
>
> Nils
>
> >
> > Jeremiah
>
>
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/denemo-devel
Re: [Denemo-devel] More script questions and requests, Richard Shann, 2009/07/15
Re: [Denemo-devel] More script questions and requests, Jeremiah Benham, 2009/07/17