Yes there is problem with I think repeated pressing od d-octaveup or down then 
if I want to again change note it doesnt appeat correct. For example I press 
d-C but note A appears.
I will recreate problem then post it. But first Ill show scripts I did maybe 
they are wrong.
Ill post it tommorow morning.
I didnt even think about tied notes.
Haris

-----Original Message-----
From: Richard Shann [mailto:[email protected]] 
Sent: Thursday, February 23, 2017 5:16 PM
To: denemo-devel <[email protected]>
Subject: Re: Question about developing notation software for solfeggio

>>From: Richard Shann [mailto:[email protected]]
>> Sent: Wednesday, February 22, 2017 10:08 PM
>> To: denemo-devel <[email protected]>
>> Subject: Re: Question about developing notation software for
solfeggio
>> Open the Scheme window (View->Scheme) and paste the following script
into it:
>> ;;;;;;;;;;;;;
>> (d-C)
>> (d-NextNote)
>> ;;;;;;;;;;;;;
>> 

>On Thu, 2017-02-23 at 13:38 +0100, Haris Brković wrote:
> I made it and Im happy with results.

I think you will need to use it a bit to find out the problems - I tried it on 
tied notes and found not only a problem to work around but a serious bug in the 
Denemo code.

To work with tied notes I created a loop:
;;;;;;;;;;;;;
(d-C)
(let loop ()
 (if (d-IsTied)
        (if (d-NextNote)
                (loop))
        (d-NextNote)))
;;;;;;;;;;;;;

The bug is uncovered if the last note is tied, but nothing follows. I have 
fixed that bug now (so it will be built overnight).

I would expect other complications - the MIDI-in provides the correct octave, 
so I think you would want commands to correct (up or down) the octave of the 
last entered note, using (d-PrevNote) and returning to the note with the cursor 
once (d-OctaveUp) or down has been executed.

Richard






_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to