MIDI Commands When Opening Songs
Last updated
Last updated
You can also have SongBook+ send MIDI commands when a song is opened.
A typical application for this is to set up external devices such as a keyboard to match the selected song.
There are several ways to send MIDI commands:
SongBook+ sends the BankSelect and ProgramChange commands as set in the "Edit Song Details" window when the "Send MIDI Command on Opening" switch is turned on.
The MIDI channel on which SongBook+ sends these commands is the same as the one set for MIDI reception.
With the "Actions on Opening" button in the song's editing window, you can define any MIDI commands to be sent when the song is opened.
In the MIDI settings under "MIDI" -> "MIDI Macros" -> "Macros When Operating Songs," you can select a previously defined MIDI macro that will then be sent when any song is opened. It's also possible to specify whether it 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 is opened, if a .mid file with exactly the same name as the .pdf file extended 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 timing, so no music can be sent, only commands to configure the environment.
With these settings, a BankSelect High 1, a BankSelect Low 5, and a ProgramChange 16 command are sent on channel 1 to the MIDI output.