denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] New Education script::Counting half steps


From: Richard Shann
Subject: Re: [Denemo-devel] New Education script::Counting half steps
Date: Thu, 19 Feb 2015 20:10:28 +0000

I can't answer this properly just now, but if you replace the
CountHalfSteps::placenote definition with this

 (define (CountHalfSteps::placenote notename)
   (d-MoveToEnd) 
   (d-C)
   (d-PutNoteName notename))

then you don't need to worry about the prevailing accidentals. You will
want to set the prevailing duration too (perhaps only once?).

It also needs something to prevent the notes being heard, at least the
dummy C in this version, there is some command for that...

Richard


On Wed, 2015-02-18 at 10:16 -0600, Jeremiah Benham wrote:
> I wrote a new script to drill the counting of half steps. It is still
> a work in progress because if a note has an accidental already in a
> measure then the second note inserted may be inaccurate because it
> can't tell if the current accidental list (in that measure) contains
> the note to be inserted. I was wondering how to remedy this. I could
> create an array defining accidentals to be something like -2 0 0 0 0 0
> 0 meaning that "A" has a double flat. I tried making the note inserted
> a whole note so that the accidental list is reset with each insert
> because the whole note takes up the entire measure. The problem I had
> was that occasionally denemo tried to put two whole notes in one
> measure. The only happened about 30% of the time. I guess it would be
> possible maybe desirable to write something in c that inserts lilypond
> note with the prevailing duration. At the moment we have the ability
> to place cursor at lilypond note. This is what I am currently using
> followed by a (d-1) to insert a half note.
> 
> 
> With a little modification the script can also drill half and whole
> step counting. This leads the student into spelling scales and chords.
> I hope to make some scripts for that also.
> 
> 
> Jeremiah
> 
> 
> 
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/denemo-devel





reply via email to

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