Re: Setting string values and getting keyframe values
site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=filmstro-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=u4ZspECuHJnwMqhIrYOo69KgAo3j8Muaaad2Jt39Tdw=; b=sJui2C50jVhP+mm0CMjwl0Pix53jYQRJ6WDxvuGxW3LUqscFO8PvDI8KOmVVnCDiy4 pdWp23xZ7YzFbIlTDptZ7E2k+TB0iT1lAUg9BaS7EsQHYyQZQQBD2dTTKz2N3qikQa3i gW5k8qU/+HzRz7Z5DG+NK2s4W0IhVai5R1pHcoNYVxdqN0W2alrgr1wzRHZaGNwgTXbP 5rmJ3Pwr55nnIjLSB+dDhjhQTOPbDCUYzV5ZIdea8L7WLhG3lGUw/H2DNNmWdgeqwA8c flPwrlJ1aSfCjfOCjsojfPSn2T52GjnJ6lXxyGNQj2Ij4JHbcn43VAFWE+xlW2QxBGDK 7dtg== Hi Paul, On Wed, May 31, 2017 at 1:56 PM, Paul Miller <stelefx@gmail.com> wrote:
On 5/31/2017 7:23 AM, Daniel Walz wrote:
Friendly bump:
does anyone use "FxParameterSettingAPI_v4 setStringParameterValue: toParm:" successfully?
N.B. I tried both, kFxParameterFlag_NOT_ANIMATABLE and kFxParameterFlag_DEFAULT, but no luck.
When are you calling the function to set the value? IIRC, you can only call that in response to a parameter changed event, so you have to set the default value properly when you create the parameter.
Thank you. Indeed, it works inside the parameterChanged. I tried to call it in finishInitialSetup... But that leaves me that problem: To find my generator inside the XML I have to add a parameter containing a UUID (the generator UUID only references the motion template, but not the actual video on the timeline). So when I add a clip to the timeline, I want to check, if the parameter is set to a valid UUID. If not I generate one and set it to the parameter. I need to differentiate, if the clip was created manually or restored from a previous session. I tried to do this in addParameter as default value, but it is only called once per session. Further instantiation of the generator does just a clone from the first created instance. There also seem to be no callbacks, where I could hook in with that... Any ideas how to achieve this? Thanks, Daniel -- Daniel Walz | Software Developer Filmstro | Music that Moves. www.filmstro.com | twitter/filmstro | vimeo/filmstro _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Daniel Walz