Guillaume Laurent wrote: > On Wednesday 06 August 2003 14:29, Chris Cannam wrote: >> OK, consider a piece that starts in 4/4 for two bars, then goes >> into a number of alternating bars of 5/8 and 3/4 and finally >> settles down in 6/8 with a closing 4/4 bar. What do you store in >> the composition? > > Some kind of map<TimeSig,Segment*>, so I could mmap all of them, tell > the sequencer about it, and then when the sequencer gets a TimeSig > event it would just start playing the right segment.
Bear in mind that at the moment the sequencer doesn't receive time sig events at all. (They aren't stored in any of the segments.) So it would need a way to know when the time sig change happened, not just so as to switch segments but also so as to know whereabouts in the segment it should currently be playing (as obviously that depends on when the time sig was). Chris ------------------------------------------------------- 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
