Lingo Dictionary > A-C > channelCount |  |

channelCount

Syntax

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

Description

Sound cast member property; determines the number of channels in the specified cast member.

This is useful for determining whether a sound is in monaural or in stereo. This property can be tested but not set.

Example

This statement determines the number of channels in the sound cast member named Jazz.

Dot syntax:

    put member("Jazz").channelCount

Verbose syntax:

    put the channelCount of member "Jazz"

Example

This statement determines the number of channels in the sound member currently playing in sound channel 2:

    put sound(2).channelCount