Anyway to control animation speed per frame?

I know I there's the frequency and speed settings in the event window but that just equalizes speed of all the frames.

I made this little animation
VentBlink2.gif
from a vent tile in the sci fi inside C, and I'd like to keep the timing as I have it set. It should be something like 5 seconds black, then .1 second for 3 stages of the blink, followed by 5 seconds of eyes open, followed by the .1 seconds of the eyes closing. Then another 5 seconds of black (total 10 seconds of black.)

My first thought was to add more frames to fix the timing but it looks like in MZ a frame is about .1 seconds so that'd be something like five thousand frames. Pretty sure my computer would blow up long before I got that many.

I know it's a bit cliché but it's fits the story I'm going for. And I think it looks neat lol.

I'm also using Galvs character frames plugin for MZ to play the full animation.

As this is just an edit of the RTP for MZ, if anyone else would like to use it feel free. Once I have more animations done I do plan to do a post in the resource forum. But for now, you can grab this one below.

VentBlink.png
not without a lot of very complex reprogramming.

your best chance might be to switch between events set to different animation speeds at different times, basically changing the event after each of those 5 sec.
Can't you have the event play the opening eyes animation then set a self-switch to go to another page?

Make that other page have the open eyes image and a wait command for 5 seconds then set a different switch - that page does the closing eyes and a switch to a fourth page which has no eyes, waits for 5 seconds, then turns all the switches off to start over.
I'd do this with a single event page. Uncheck that page's Stepping flag (bottom-left) and use Stepping ON/OFF commands in its autonomous move route to start/stop the animation. The engine runs at 60 frames per second, so it'd look something like:

◇Wait:300 frames ◇Stepping Animation ON ◇Wait:45 frames ◇Stepping Animation OFF ◇Wait:300 frames ◇Stepping Animation ON ◇Wait:45 frames ◇Stepping Animation OFF
The stepping/walking animation speed is based on the character's move speed. This is the default formula for wait time between steps:
JavaScript:
Game_CharacterBase.prototype.animationWait = function() {
    return (9 - this.realMoveSpeed()) * 3;
};
See if setting the event to speed 6 ("x4 Faster") works for you, i.e. 9 frames per "step".
I tried your method but I just couldn't get the timing right. So instead I combined your method with what @ATT_Turan suggested. I broke the the animation into the first four frames, then used the events auto move route to switch image, wait and switch to the next in the line until I got the timing right.

So now it's working perfectly.

For my next trick I'm going to blunder my way through animating a fish tank. As soon as I find a tank sprite. If I cant find a tank sprite I'll have to fumble my way through making one of those too. We're learning things.
this is a late reply, but for anyone runs across this, there is another very simple method to achieve this effect: edit you character sheet to be like a door animation. in a door animation you simply set up a movement route: turn left, wait X frames, turn right, wait X frames, turn up, wait X frames, turn right, wait X frames, turn left, wait X frames, turn down, wait X frames; set movement route to repeat. If the player is NOT meant to interact with this animation then you can set this in the autonomous movement.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/anyway-to-control-animation-speed-per-frame.148237/