random switching?
Moderators: Víctor Paredes, Belgarath, slowtiger
Hello,
I'm totally new here but it seems to me that if you are using a switch layer for blinking you could set up blinks really easy by watching your complete animation while recording an audio file. You simply make some noise in each spot you want a blink. You could even just say "blink." You can then use this as your switch source. I'm not sure if you just use the wav file if there is a way to not hear it. you may have to bring the wav into papagayo to create a dat file instead.
I've never tried this but it seems like it should work, be real easy and give you blinks exactly where you want them.
Thoughts anyone?
~Kirk
I'm totally new here but it seems to me that if you are using a switch layer for blinking you could set up blinks really easy by watching your complete animation while recording an audio file. You simply make some noise in each spot you want a blink. You could even just say "blink." You can then use this as your switch source. I'm not sure if you just use the wav file if there is a way to not hear it. you may have to bring the wav into papagayo to create a dat file instead.
I've never tried this but it seems like it should work, be real easy and give you blinks exactly where you want them.
Thoughts anyone?
~Kirk
That would work!
Use the audio wav form switch thingy in AS. The one that just uses the max volume of the sound and goes through a series of switches to "simulate" lip sync.
In this case a short loud sound or even just an artificial tone generated by a sound editor would do the trick. It would have to be a short sound or the blinks might be too long. I wonder to if there might be a way to script this? If some kind of "click" noise could be created by dumping the same data into a file based on some other value or timing and saving it as a wav... like the pad sound script.
-vern
Use the audio wav form switch thingy in AS. The one that just uses the max volume of the sound and goes through a series of switches to "simulate" lip sync.
In this case a short loud sound or even just an artificial tone generated by a sound editor would do the trick. It would have to be a short sound or the blinks might be too long. I wonder to if there might be a way to script this? If some kind of "click" noise could be created by dumping the same data into a file based on some other value or timing and saving it as a wav... like the pad sound script.
-vern
Once again, I may not think of the fastest and most logical way to proceed -- but does this imply that, say, importing a long slow-motion image sequence to the foreground of an otherwise "normal speed" project would force me to space all keyframes in that image sequence by hand ?heyvern wrote:Currently the only way to do that would be to calculate the position of frames at 12fps that would be 7fps and put keys in the switch.
I know ASP wasn't designed for frame-to-frame animation, and I am not familiar to script programming at all, so I sort of expected some hidden, miraculous function would spare us time and let us set the framerate for switch layers without too many efforts...
I wonder if what fiziwig has done on several layers, moving at different speeds, in his tutorial on walk cycles may be something that might be the solution. Take a look. fiziwigcableon wrote:Once again, I may not think of the fastest and most logical way to proceed -- but does this imply that, say, importing a long slow-motion image sequence to the foreground of an otherwise "normal speed" project would force me to space all keyframes in that image sequence by hand ?heyvern wrote:Currently the only way to do that would be to calculate the position of frames at 12fps that would be 7fps and put keys in the switch.
I know ASP wasn't designed for frame-to-frame animation, and I am not familiar to script programming at all, so I sort of expected some hidden, miraculous function would spare us time and let us set the framerate for switch layers without too many efforts...
. Bob P
EDIT:
Click on 7 walk cycle...
Switch layers follow the same "frame rate" as the project. A switch layer is the same as turning visibility on and off on a regular layer. I think the import image sequence script or function is a "one trick pony". That function didn't exist until someone wrote the script.
So yes, if you import an image sequence that is 12 fps into a switch (with 1 image per frame) you would have to change it by hand to change the "frame rate". If you want your image sequence to play back differently then add more frames when creating the images. If you want it slower double each image before importing the sequence.
Or...
Have you tried using the "Scale Key Frames"? Just select the switch layer with keys at every frame and double the scale. This would put the keys at every other frame and slow it down.
-vern
So yes, if you import an image sequence that is 12 fps into a switch (with 1 image per frame) you would have to change it by hand to change the "frame rate". If you want your image sequence to play back differently then add more frames when creating the images. If you want it slower double each image before importing the sequence.
Or...
Have you tried using the "Scale Key Frames"? Just select the switch layer with keys at every frame and double the scale. This would put the keys at every other frame and slow it down.
-vern