Jump to content
Sign in to follow this  
J Montreuil

Shared AE Expressions document for all

Recommended Posts

This was wonderful to wake up to, thanks everyone!

 

Recently, I used this expression to achieve some interesting time remap results from Sound Keys data:

 

w=thisComp.layer("SoundKeys").effect("Sound Keys")("Output 1")

x=timeRemap+w*.25

y=timeToFrames(t = time + thisComp.displayStartTime, fps = 1.0 / thisComp.frameDuration, isDuration = false)

z=thisComp.layer("SoundKeys").effect("Sound Keys")("Output 1")> .9) {value = x} else {value =w}

Share this post


Link to post
Share on other sites

can you explain this?....I usually do something like this on the position of a layer linking them to two sliders for control:

 

wiggle(thisComp.layer("Null 1").effect("Slider Control 1")("Slider"),thisComp.layer("Null 1").effect("Slider Control 2")("Slider"))

 

... how does your setup work? ....guess I will give it a try.

 

BTW, that linear function which is doing all the work is built by this expression:t = input value(outMin + (outMax - outMin) * ((t - inMin) / (inMax - inMin)))BTW, BTW: What is with the new whack-a-doodle formatting on this forum now? Like where are all the features for posting BBCode and what not. Everything I post has fuctup formatting.

Edited by C.Smith

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...