ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

After Effects scripting - convert audio to keyframes?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Patrik Fröhler
After Effects scripting - convert audio to keyframes?
on May 18, 2015 at 12:45:03 am

How can you do "convert audio to keyframes" using scripting in after effects, manually you would right-click on the "sound" layer > keyframe assistant > convert audio to keyframes.

var myComp = app.project.activeItem;
var musicComp = myComp.layer("music");

var myEffect = musicComp.property("Effects").addProperty("High-Low Pass");
myEffect.property("Filter Options").setValue(1);
myEffect.property("Cutoff Frequency").setValue(50);

// then I want to do "convert audio to keyframes"


thanks.


Return to posts index


Walter Soyka
Re: After Effects scripting - convert audio to keyframes?
on May 18, 2015 at 11:24:25 am

app.executeCommand(app.findMenuCommandId("Convert Audio to Keyframes"));

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]