Midi Song With Secondary
Midi song packets are used to play songs through the music player. This packet pre-queues a secondary song which can be hot-swapped at any point. The intended use case here is to swap the song out mid-playing between identical songs that have different tones playing, e.g. a more up-beat vs a more somber song, while letting the song play on from where it was, rather than re-starting the song.
Constructors
Properties
the delay until the new song begins playing, in client cycles (20ms/cc). The default value for this, based on the old midi song packet is 60.
the speed at which the new song fades in, in client cycles (20ms/cc). The default value for this, based on the old midi song packet is 0.
the delay in client cycles (20ms/cc) until the old song begins fading out. The default value for this, based on the old midi song packet, is 0.
the speed at which the old song fades out in client cycles (20ms/cc). The default value for this, based on the old midi song packet, is 60.
the secondary id that will play if the MIDI_SWAP packet is sent.