Microphone:getChannelCount

Returns the number of channels recorded by the Microphone. One recorded channel will result in a mono sound, and there will be two channels for a stereo sound. Most microphones only support recording a single channel.

channels = Microphone:getChannelCount()

Arguments

None

Returns

NameTypeDescription
channelsnumberThe number of channels recorded.

See also