The way I handle this (a lot of my stuff is 'fixed length') is to have a
main patch time patch somewhere, with a math expression patch connected to
determine if the composition is ended (use "time>100" say, the output will
then go high when it reaches the end). You can publish that, and check the
port in your code to end the playback properly.
Chris


2009/1/6 Christopher Wright <[email protected]>

>   What I need some kind of call-back or other way to know if a composition
>> finishes so it will automatically unclick the button.  How do I do that?
>> (If there is a way to put some kind of notifier at the end of the
>> composition, I can live with that.)
>>
>
>
> Compositions are "timeless" -- they don't have a duration associated with
> them.
>
> You might be able to add an output to compositions used that indicated
> done-ness, otherwise you'll have to time them manually or something.
>
> --
> [ christopher wright ]
> [email protected]
> http://kineme.net/
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Quartzcomposer-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
>
> http://lists.apple.com/mailman/options/quartzcomposer-dev/psonice%40gmail.com
>
> This email sent to [email protected]
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to