OrchestraLoadMusic Method

Loads a chirp file at the specified file path

If the Chirp file is inside your "src/main/deploy" directory, it will be automatically deployed to a default directory on the roboRIO when you deploy code.For these files, the name and file extension is sufficient.

A Chirp file can be created from a MIDI file using Phoenix Tuner.

Definition

Namespace: CTRE.Phoenix6
Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
C#
public StatusCode LoadMusic(
	string filepath
)

Parameters

filepath  String
The path to the Chirp file

Return Value

StatusCode
Status code of loading the Chirp file

See Also