Home Banner image

ProjectMIDI Song Parameter Persistence

Most assemblies will need to persist settings related to each song. The IProjectMidiParent interface GetSongParameter() and SetSongParameter() methods can be used by an assembly to do this.

Parameters saved using the above methods will be saved in the songdata.xml file located in the ProjectMIDI directory.

The ISongCollection interface can be obtained using the IProjectMidiParent interface. It can be used to determine the current song, page, and patch.

Since all assemblies can use the persistence methods, select the name parameter such that it will not conflict another assembly's parameters. This can be done by using the assembly name as part of the parameter name.