Guillaume Laurent wrote:
>> - neither does metronome yet but I liked that scheme we discussed
>
> Said scheme being to use a repeating segment.

Just popping up here to say I thought that was a dumb idea, but I
was too tired yesterday to articulate why.

Anyway.  ISTR you suggested that it might be nice to allow the user
to specify their own metronome pattern.  That's as may be, but it'd
be simpler not to.  It'd be very easy to have a dropdown for how
detailed a metronome you want (bar only / every beat / every half
beat / etc -- a recursive depth into the bar's subdivisions) though.
Or settings like

 [x] Start of bar  [Instrument  v]  Pitch: 64 [...]  Velocity: 160
 [x] Beat          [Instrument  v]  Pitch: 64 [...]  Velocity: 128
 [ ] Beat division [Instrument  v]  Pitch: 64 [...]  Velocity: 80

> 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)

Generating it is surely much simpler if you're not bothered about
allowing the user to hand-edit their own metronome segment.

> - 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.

ugh.

See if you're generating a segment, why bother making it a short
repeating one at all?  Why not just go from one end of the
composition to the other, filling in notes at all the right times?
Trivial to do, and it's not like you have to redo it often -- only
when the user adds or removes a time signature, changes the
composition duration, or changes the metronome settings.  (Actually
with any technique like this, the hard part is going to be making
sure it gets regenerated at the right times without doing it far
too often.)


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

Reply via email to