ジャンプ先: 概要. 戻り値. フラグ. MEL 例.
sound [-endTime time] [-file string] [-length] [-mute boolean] [-name string] [-offset time] [-sourceEnd time] [-sourceStart time]
[objects]
sound は、取り消し可能、照会可能、および編集可能です。
サウンド スクラブおよび再生中のサウンドをサポートする soundControl や timeControl などの UI コマンドで使用できるオーディオ ノードを作成します。
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
endTime, file, length, mute, name, offset, sourceEnd, sourceStart
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
コマンド内でフラグを複数回使用できます。
|
// Create an audio node for a sound file, and have it
// start at time 10. This command will return the name
// of the created node, something like "audio1".
//
sound -offset 10 -file "ohNo.aiff";
// In order to have this sound displayed in a
// timeControl widget (like the timeSlider) use a
// command like this one, where the global MEL variable
// $gPlayBackSlider is the name of the widget to display
// the sound in.
//
global string $gPlayBackSlider;
timeControl -edit -sound audio1 $gPlayBackSlider;