On Wednesday 06 August 2003 12:24 pm, Guillaume Laurent wrote:

> Said scheme being to use a repeating segment. However while working
> on this I've been stumped on two problems :
>
> - should that segment be stored (in the Document's configuration or
> in the global one ? Or both, the first overriding the latter ?) or be
> generated ? (I'd go for storage - much simpler)

Are you talking about the metronome parameters rather than just the segment?
We already store those in too many places - surely generating a metronome 
segment is easy enough - look at the existing metronome code.

> - how to deal with time sig changes ? We can't have just one segment
> in that case, can we ? A possible solution would be to have a time
> sig / segment map, so when the sequencer enconters a timesig, it
> switches from one to another.

Well there's already lots of code that'll tell you where the time sig
changes are.  I'd suggest generating and auto segment based on those details
and updating that mapped segment everytime a time sig is modified.

Storing a segment with these values in them as part of the Composition would
be just yuck.

R


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Rosegarden-devel mailing list
[EMAIL PROTECTED] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to