Using Sound Scripts

The Scripts, Sound menu includes a couple of scripts for working with sound. The Bone Audio Wiggle script causes the attached bones to wiggle around as the sound plays and the Layer Audio Wiggle script causes the entire layer to wiggle around as the sound plays. This is a great way to make a character or layer dance and randomly move around along with the music.

Note

The Scripts menu and all its contents are only available in Anime Studio Pro.


To use the Bone Audio Wiggle script, you need to have a bone layer defined and at least one bone selected. You also need to have an audio file added to the project. The script is disabled until these conditions are met. When the script is executed, the Bone Audio Wiggle dialog box appears, as shown in Figure 19.9. Using the settings in this dialog box, you can control maximum amount of rotation that the bone can move along with the frequency of the keys added to the Timeline palette. You can also choose from the available audio files that are loaded if there are several.

Figure 19.9. Bone Audio Wiggle dialog box.


The keys that are added to the selected bones are only added from the current frame to the end of the audio file. If you have a frame in the middle of your animation selected, then the wiggle keys are only added from the selected frame on, but the sound will start at frame 1.

The Layer Audio Wiggle script works exactly like the Bone Audio Wiggle script, except it lets you specify a Max Offset value that determines the extent to which the layer can move.

To make a flower dance in time with an audio file, follow these steps:

  1. Open the Dancing flower.anme file from the Chapter 19 folder on the CD. This file includes a simple flower that has bones added to it.

  2. Select the File, Import, Audio File menu; then locate and load the Tutdrum.wav file from the Chapter 19 folder on the CD.

  3. Select the bone layer in the Layers palette and click the Select Bone tool (B). Then hold down the Shift key and select each of the flower bones.

  4. Select the Scripts, Sound, Bone Audio Wiggle menu command. In the Bone Audio Wiggle dialog box that appears, enter 90 as the Maximum Angle value and 2 and the Frame Step; then click the OK button. The keys to make the flower dance with the music are automatically added to the Timeline palette.

  5. Click the Play button (Spacebar) and watch the flower jump around with the music, as shown in Figure 19.10.

    Figure 19.10. Dancing flower.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset