[jmsl] startTime or scheduling MusicShape start
jmsl at music.columbia.edu
jmsl at music.columbia.edu
Fri Jul 18 17:13:27 EDT 2008
Actually it would have been odd to use a sequential collection to launch
MusicShapes non-sequentially!
Best
Nick
jmsl at music.columbia.edu wrote:
> Well, I found kind of an odd, but perfectly functional, was around
> this... Just using a ParallelCollection instead of a
> SequentialCollection, and setting the startDelay of each MusicShape to
> the desired absolute start time.
> Perfect! (I built this into my mock Player class, as well, and it
> works just as expected.)
> I see that I could also use EventScheduler, but I'll stick with this
> ParallelCollection approach, for now - I like the fact that it gives
> me a specific data structure for storing and scheduling MusicShapes.
> Also, from what I understand, I can still add these
> ParallelCollections to another ParallelCollection, to get the function
> of a sort of "multi-track" sequencer.
> Just what I need, at the moment!
>
> cheers,
>
> J.
>
>
> On 18-Jul-08, at 12:25 PM, jmsl at music.columbia.edu wrote:
>
>> I'm wondering about setting an absolute time, or maybe more
>> accurately, an absolute "start time" for a MusicShape. I would have
>> expected setStartTime() to do this, but it doesn't appear to... I
>> understand that startDelay allows starting some given period after
>> the "launch" command, but what about starting a MusicShape at a
>> specific point in a SequentialCollection? That's what I'd like to do.
>> So, say I have 3 MusicShapes, and they're in a SequentialCollection.
>> I'd like to be able to start shape 1 at 0.0, shape 2 at 5.5, and
>> shape 3 at 20.0, regardless of the actual total duration of each shape.
>> I'm sure this is possible, but I can't see how it's done.
>>
>> thanks,
>>
>> J.
>>
>> _______________________________________________
>> jmsl mailing list
>> jmsl at music.columbia.edu
>> http://music.columbia.edu/mailman/listinfo/jmsl
>
> _______________________________________________
> jmsl mailing list
> jmsl at music.columbia.edu
> http://music.columbia.edu/mailman/listinfo/jmsl
More information about the jmsl
mailing list