When creating an animation, you sometimes want to hear the soundtrack to help you synchronize the placement of keys with points in the soundtrack. You can import, display, and play multiple sound files in a scene.
Note:
Playback Speed must be set to
Real-time in order to play sound properly. See
Playback Speed in the
Animation Controls menu.
When a sound file is loaded into a scene, an audio node is created with the same name as the filename. This node has a reference to the location of the sound file. If you move the sound file to a different location, change the filename referenced by your audio node.
To load an audio file into your scene
- Do one of the following:
- Select
File > Import from the main menu bar. A file browser lets you select the name of the sound file(s) to import. If there is an audio offset embedded with the file, it will appear in the File Type Specific Options. You can also specify an offset in this field as well.
- Drag the file(s) from a file browser into one of the Maya modeling views, or onto the
Time Slider.
- If you want to set a playback offset for your file, or if you want to set an offset on import, see the Audio Offset settings in the
Import Options. (You can also specify an offset for your file in Maya at any time in the
Attribute Editor.)
The peaks of the sound waves are visible in the
Time Slider, and the
Time Slider is ready to play or scrub the sound.
Note:
On Windows, if you are importing .wav files created on a Mac, you may need to convert the files to a Windows-compatible format before you can import them into Maya.
Maya supports the following audio file formats:
Platform
|
Audio file format
|
Microsoft® Windows®
|
.aiff, .wav, .bwav
|
Apple® Mac OS® X
|
.aiff, .wav, .bwav, .mp3
|
Known limitations for importing sound
- You cannot import a sound file whose filename begins with a number.
- If you created the sound file on a different machine, ensure that all codecs used to create the file are also installed on the machine where you plan to import the file.
- On Mac OS X, you can only drag and drop .mp3 files onto the
Time Slider. You cannot import them using
File > Import. See also
Display audio on the Time Slider.