Skip to content

CLASS

OSController

public class OSController: NSObject

OSController contains the methods to control the current Live set.

  • Since: 0.1

Methods

play()

public func play()

Start playing the current Live set.

  • Since: 0.1

stop()

public func stop()

Stop playing the current Live set.

  • Since: 0.1

undo()

public func undo()

Undo the previous action.

  • Since: 0.1

redo()

public func redo()

Redo the next action.

  • Since: 0.1

setTempo(tempo:)

public func setTempo(tempo: Float)

Set the Live set general tempo.

  • Parameter tempo: the Live set general tempo to set
  • Since: 0.1

Parameters

Name Description
tempo the Live set general tempo to set

setMetronome(enabled:)

public func setMetronome(enabled: Bool)

Set the Live set metronome state.

  • Parameter enabled: the metronome state to set
  • Since: 0.1

Parameters

Name Description
enabled the metronome state to set

setOverdub(enabled:)

public func setOverdub(enabled: Bool)

Set the Live set overdub state.

  • Parameter enabled: the overdub state to set
  • Since: 0.1

Parameters

Name Description
enabled the overdub state to set