grandMA3 User Manual Publication

GetRTChannelCount()

grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » GetRTChannelCount()
Version 2.1

Description

The GetRTChannelCount Lua function returns a number indicating the total amount of RT channels.

Arguments

This function does not accept any arguments.

Return

  • Integer:
    The function returns an integer number depicting the total amount of RT channels.

Example

This example prints the number of RT channels to the Command Line History:

Lua
return function()
Printf("The number of RT channels is " .. GetRTChannelCount())
end