pymel.core.animation.sound

sound(*args, **kwargs)

Creates an audio node which can be used with UI commands such as soundControl or timeControl which support sound scrubbing and sound during playback.

Flags:
  • file : f (unicode) [create,query,edit]

    Name of sound file.

  • length : l (bool) [query]

    The length (in the current time unit) of the sound.

  • mute : m (bool) [create,query,edit]

    Mute the audio clip. Flag can have multiple arguments, passed either as a tuple or a list.

  • name : n (unicode) [create,query,edit]

    Name to give the resulting audio node.

  • offset : o (time) [create,query,edit]

    Time at which to start the sound.

  • sourceEnd : se (time) [create,query,edit]

    Time offset from the start of the sound file at which to end the sound.

  • sourceStart : ss (time) [create,query,edit]

    Time offset from the start of the sound file at which to start the sound.

Derived from mel command maya.cmds.sound

Previous topic

pymel.core.animation.softMod

Next topic

pymel.core.animation.substituteGeometry

Core

Core Modules

Other Modules

This Page