Page tree
Skip to end of metadata
Go to start of metadata

isPlaying()

Description

Function to detect whether the host is in playback.

Available in: Processor.

Return Values

Returns true if the host is in playback and false if not.

Example

-- detect if the host is in playback
function onNote(event)
	if isPlaying() then
		print("Playback is running.")
	else
		print("Playback is stopped.") 
	end
end

1 Comment