Sound:getChannelCount

Returns the number of channels in the Sound. Mono sounds have 1 channel, stereo sounds have 2 channels, and ambisonic sounds have 4 channels.

channels = Sound:getChannelCount()

Arguments

None

Returns

NameTypeDescription
channelsnumberThe number of channels in the sound.

See also