OnSong has the ability to send MIDI when the song is first loaded. This can be used to automatically configure MIDI instruments or effects on stage without manual adjustment. This is an incredibly useful tool for automating your stage!
Setting MIDI
To set MIDI to be sent when the song is loaded you can use gestures in the song viewer for text-based chord charts, or use the Song Editor to set the MIDI values in the song's metadata.
Song Viewer Gesture
You can assign MIDI to the song or parts of the song by tapping and holding on sections of the song in the Song Viewer. To assign MIDI to be sent when the song is loaded, tap and hold on the title of the song. This will open the Section Mapping Menu. From here you can choose the MIDI Tab and add and edit MIDI events to be sent when the song is loaded.
Song Metadata
Metadata is simply information about something. You can set MIDI for the song using the Song Editor by tapping on the "A"/cursor icon in the Menubar. From there, tap on the "information" icon in the Song Editor Menubar to open the Metadata Editor. Scroll to the bottom to find the MIDI section and then tap on Send. This will open a MIDI Event List where you can manage the MIDI Events to be sent when the song is loaded.
Delaying MIDI
Of course, sending MIDI right when a song is loaded may not be a good idea, especially if you are flipping through songs while playing your instruments. OnSong has the ability to delay sending the MIDI events until after a certain amount of time has transpired, or when the "play" button is pressed.
You can configure a Song Change Delay to give you a certain amount of time to determine if you are planning to play the song. You can configure this delay by tapping on the gear icon in the Menubar to open the Utilities Menu and then selecting Settings. From there, tap on the Navigation Settings option on the left and then choose Delays on the right. In the Song Change section, you'll find a MIDI option. You can choose to delay the MIDI by a certain number of seconds, or choose the On Playback option. This will only send MIDI for the song when the play button is pressed, or an audio start action is performed.
Troubleshooting
If you're finding that MIDI is not being sent when the song is loaded, it's likely due to MIDI being sent on playback (see above), or due to a viewport being set on the song. Viewports are designed to automatically scroll and zoom a song to a specific position when it's loaded. Viewports also store the selected section. If you have a viewport set with a section that is not the top section, the song's MIDI will not be sent. To correct this issue, simply select the top section of the song by tapping on the title and then choose the Set Viewport option in the Annotations Menu by tapping on the pencil in a box icon in the Menubar. This will retain the scroll position and zoom, but select the top section of the song instead.