After Effects 脚本 - 将音频转换为关键帧?
After Effects scripting - convert audio to keyframes?
如何在 After Effects 中使用脚本"convert audio to keyframes",手动右键单击 "sound" 层 > 关键帧助手 > 将音频转换为关键帧。
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"
答案提供者:Walter Soyka
app.executeCommand(app.findMenuCommandId("Convert Audio to Keyframes"));
如何在 After Effects 中使用脚本"convert audio to keyframes",手动右键单击 "sound" 层 > 关键帧助手 > 将音频转换为关键帧。
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"
答案提供者:Walter Soyka
app.executeCommand(app.findMenuCommandId("Convert Audio to Keyframes"));