denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Lyrics


From: Richard Shann
Subject: Re: [Denemo-devel] Lyrics
Date: Tue, 23 Jun 2009 08:20:06 +0100

There is a serious flaw in this design - not all measures are traversed
when doing the expose event (i.e. drawing).
The clean solution would involve caching the syllable count for each
measure in each voice. This then requires that measures be represented
as an object instead of, as at present, being merely a list of
DenemoObject.
This is a long-running problem, so I think the time may have come to fix
it.
I propose to replace the measures field of the DenemoStaff with a field
called bars. This would point to a GList of DenemoMeasure which would
have a field called measure containing a list of DenemoObject.
Then all the code referring to the staff->measures will need to refer to
((DenemoMeasure*)staff->bars->data)->measure->data and all the creation
and destruction of the measures field will need to be re-written to
create/destroy a DenemoMeasure.

Richard


On Fri, 2009-06-19 at 19:41 +0100, Richard Shann wrote:
> I have put some ideas for how to do lyrics at
> 
> http://denemo.org/index.php/Design_Notes_Lyrics
> 
> Richard
> 
> 
> 
> 
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/denemo-devel





reply via email to

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