The setup:
Movie Loader with a valid movie path that includes audio -- set to async so that the audio plays. Math expression patch -- the expression should be a > b. Attach "Movie Position" to "a" , and "Movie Duration" to "b" (note: this will always evaluate to false, since the position cannot be past the end of the movie as far as I know... maybe streaming movies will be different? Not important). Billboard -- attach Movie Loader's image output to the billboard's image input, and the Math Expression patch's output to the Enable input.
Graphically, this will do nothing: the billboard is disabled (via the expression patch), so it doesn't render anything. This is correct. However, the audio still plays. This is because the movie loader patch is "activated" and gets evaluated to see if the condition changes (to drive the enable input of a consumer patch). The audio is generated because instead of having a red patch generate output, the Movie Loader generates it when it's "enabled" and evaluated each frame. Disconnecting the enable input of the billboard causes "correct" behaviour (audio stops).
I'm not sure of the feasibility of correcting this; it *might* run into Halting Problem-esq issues graph-evaluation-wise. QC's also not designed to make solving this easy from a patch point of view (other green patches/plugins that generate output may run into this problem if they generate output independent of a consumer).
Also, setting the "Loop Duration" to less than about 0.01 seems to make QC hang when "Loop Start" is non-zero. This is probably a legitimate bug that could get a bug report, but perhaps someone on the list can confirm this first. (Same setup as above, set loop duration to something small but non-zero, and then change loop start -- beachball forever?)
-- [ christopher wright ] [EMAIL PROTECTED] http://kineme.net/
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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]

