Re: [Pythonsound-devel] The problem of duration of F
Status: Beta
Brought to you by:
mupuxeddu
|
From: <um...@ti...> - 2001-10-09 20:52:19
|
Think of using PseudoEvents or MetaEvents. "PseudoEvent" or "MetaEvents" are buzzwords. In fact their are just parametrized factories of events or aggregates. They are built with a configuration, can be manipulated in the standard ways Events, when they are actually converted they generate the real events and return them. They will be probably subclasses Event but have additional properties like "brightness" or "being-more-dense-at-the-start-less-dense-at-the-end" or "position" and so on and so forth. Now I would like to have an aggregate (containing also some of these PseudoEvents) and perform a global operation, let's say "make it brighter". Since in the aggregate there will be also normal Events and Aggregates and PseudoEvent that have no "brightness" property, the only way to do this is for each object contained and recursively: ask: "Do you have this property/method?" if yes, call/change This is not implemented but I have to do this in order get it working. That said you'll see that the problem below is just a special case. > Paul Winkler <sli...@ya...> wrote > On Tue, Oct 09, 2001 at 08:20:14PM +0200, Maurizio Umberto Puxeddu wrote: > > On Tue, 9 Oct 2001, Paul Winkler wrote: > > > > > On Tue, Oct 09, 2001 at 07:02:40PM +0200, Maurizio Umberto Puxeddu wrote: > > You use move*() methods to move things around. Such methods do not > > depend on or change the duration of the event so they would go in the Spot > > interface and you would be still able to move F around. > > Moving an aggregate would move all moveable contained objects. > > And what does stretching an Aggregate do? It can't just stretch all > sub-objects - some of them might not be stretchable. Can I stretch you? Yes: I stretch. No: continue. No problems for the user. In fact once this will be in place, I won't need the attachment thing anymore. Maurizio Umberto Puxeddu. |