You can also have SongBook+ send MIDI commands when a song is opened.
A typical use for this is to set up external devices like a keyboard according to the selected song.
There are several ways to send MIDI commands:
SongBook+ sends the BankSelect and ProgramChange commands as configured in the “Edit Song Details” dialog when the “Send MIDI Command on Opening” switch is enabled.
The MIDI channel on which SongBook+ sends these commands is the same as the one set for MIDI reception.
Using the “Actions on Opening” button in the song’s edit window, you can define any MIDI commands that will be sent when the song is opened.
In the MIDI settings under “MIDI” -> “MIDI Macros” -> “Macros When Handling Songs” you can select a previously defined MIDI macro that will then be sent when any song is opened. It can also be specified whether this macro should be sent even if the song already has its own “Actions on Opening”.
SongBook sends the contents of a MIDI file as soon as a song opens, if a .mid file with the exact same name as the .pdf file appended with “_open.mid” exists.
(e.g., MySong.pdf -> MySong_open.mid)
Only MIDI files of type 0 (single track) are allowed. All commands are sent at once without considering the timing. Therefore, no music can be sent this way, only commands to configure the environment.
With these settings, a BankSelect High 1, a BankSelect Low 5, and a ProgramChange 16 command will be sent on channel 1 to the MIDI output.