well, you could create layer markers at the beats… create a null named Beat, then, with Beat selected, audio preview (hit the decimal on the numbers pad) the piece and hit the * key on the number pad at each beat to add layer markers.
once you have the markers, move the Beat layer to the bottom of the layer stack and paste this expression into the opacity expression field of one of your image layers:
L = thisComp.layer(“Beat”).marker;
if (time >= L.key(index).time && time < L.key(index + 1).time) {
100;
}else{
0;
}
you can then select the opacity parameter of this image and choose edit>copy expression only. select all the other image layers and paste. this will copy and paste expression into all you images.
the expression will turn layers on and off based on their index (layer order number) in relation to the marker numbers of the Beat layer.
i’m trying to figure out a way to trigger the image with audio keyframes, but i’m having some trouble with that…
Kevin Camp
Designer – KCPQ, KMYQ & KRCW