If it doesn't, try converting the audio to a wav file.īack in the 3D window press play. Browse and select the audio file.īlender will automatically sample this and convert it to a waveform. (size)Īt the bottom center of the window, expand the "KEY" menu, select "Bake Sound to F Curves".Ī file explorer window will open up. That's a graph that draws frames (time) against scale. Go to the Graph Editor and you should be seeing the Y axis scale F-curve. Select and highlite the one remaining keyframe. In this case that would be the X & Z axis. With the sound bar still selected go into the Dopesheet and delete the sound bar's other two axis' keyframes. (Hover in the scale slots at right and press i ) In the 3D window, take the timeline cursor to frame 1, select the sound bar and insert a "Scale" keyframe. > POINT A <- (Return to here if the sound bar (plane) needs rescaling)ĭriving the Sound bar's Y axis scaling from an audio file. This setup will force the Hook Empties to follow the sound bar's expansion and contraction in the Y axis and drag the lips' centers according to the sound level. Parent that to the sound bar's lower empty. (Child=hook)ĭo the same with the lower lip's hook. Select the upper lip's Hook and parent that to the Upper Sound bar empty. (CTL-P -> Vertice) (child=the empty)ĭo the same at the bottom corner or near to it. Bear in mind that speech may only get to about 30% of the maximum amplitude most of the time, so scale the Y axis to be at least 2 or 3 times that required.Īt the upper end of the sound bar, place an Empty inside it and near to a corner vertice. Scale it's Y axis to the max length that you want it stretched to by the audio. With the view set to TOP & Ortho, place the cursor to the right of the lips and add a plane. In Edit mode, add a hook to each of the lips' center vertice. Up and down to follow the two empties attached to the sound bar. (parented to) The lower lip's hook is parented to the lower empty at the lower corner of the sound bar.Īs the sound bar is expanded and contracted by the audio, the two hooks are dragged The upper lip's hook is parented to an empty that's stuck on the upper corner of the yellow sound bar. The lips are simply curve paths and we drag each lip's center vertice up or down using a 'Hook" empty for each. The louder it is the further apart the lips go. We use that to drive the yellow sound bar (a plane) to expand in the Y axis with the audio's amplitude. Please note that what you're seeing here is the (speech) audio file after it's been 'baked to an f-curve' The green waveform is that f-curve. They can be most useful in that they can be dragged and reshaped to affect animation. They are simply graphs measuring time (frames) against amplitude or degree of movement. The animated gif pic below is the Graph Editor and where these "f-curves" are created. For this exercise both lips are simply curve-paths bevelled with a small diameter oval and left as curves.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |