templateAudioClip

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
templateAudioClip
Summary

Used with the set command to set the properties of newly created audio clip objects.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the playLoudness of the templateAudioClip to 6
RelatedProperty: properties, ID
Control Structure: function
Keyword: templateScrollbar, default
Object: audioClip
Glossary: object, keyword, audio clip, property, command, expression
Command: reset, set
Function: functionNames
Description

Use the templateAudioClip keyword to set up default properties to be used for any new audio clips you create.

The templateAudioClip can be thought of as a special, abstract object. It is not an actual audio clip, but it has all the properties of an audio clip. The ID property of the templateAudioClip is zero.

You can use the set command to set the properties of the templateAudioClip before creating an audio clip. The new audio clip has the properties of the templateAudioClip, by default. Changing the properties of the templateAudioClip does not affect existing audio clips.

The properties of the templateAudioClip can be returned to the default settings using the reset command.

You can refer to the templateAudioClip using any of the following forms:templateAudioClip

the templateAudioClip
templateAudioClip()

Note: The templateAudioClip keyword is implemented internally as a function and appears in the functionNames. However, it cannot be used as a function in an expression.