OrchestraAddInstrument(ParentDevice, UInt16) Method

Adds an instrument to the given track.

Definition

Namespace: CTRE.Phoenix6
Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
C#
public StatusCode AddInstrument(
	ParentDevice instrument,
	ushort trackNumber
)

Parameters

instrument  ParentDevice
The device to add to the orchestra
trackNumber  UInt16
The track number the device should play, starting at 0

Return Value

StatusCode
Status code of adding the device

See Also