Lingo Dictionary > S > sampleSize

 

sampleSize

Syntax

member(whichCastMember).sampleSize
the sampleSize of member whichCastMember
sound(channelNum).sampleSize

Description

Cast member property; determines the sample size of the specified cast member. The result is usually a size of 8 or 16 bits. If a sound channel is given, the value if for the sound member currently playing in the given sound channel.

This property can be tested but not set.

Example

This statement checks the sample size of the sound cast member Voice Over and assigns the value to the variable soundSize:

soundSize = member("Voice Over").sampleSize

Example

This statement displays the sample size of the sound playing in sound channel 1 in the Message window:

put sound(1).sampleSize