AMusicManager
(AActor)
(AActor)
The MusicManager is a premade system for handling background music within the KAudioSystem. It is designed to load one MusicLayout at a time and passes game parameters automatically to this layout. The MusicManager contains all functions needed to indirectly interact with the MusicLayout and can be gotten from the AudioManagerSubsystem. It also broadcasts tempo-synchronized events for any other game system to subscribe and listen to.
Loads the incoming MusicLayout. Will destroy previous MusicLayout if one was loaded but never played
Stops the current MusicLayout and emplaces the incoming MusicLayout set in the LoadMusicLayout() function.
Calls the Next() function on the currently activated MusicLayout.
Calls the Previous() function on the currently activated MusicLayout.
Calls the Reset() function on the currently activated MusicLayout.
Calls the CustomTrigger() function on the currently activated MusicLayout.
Call this function to play a music stinger in sync with the current MusicLayout tempo.
Sets the local AudioSwitchParameter value of an AudioGroupParameter for the MusicManager.
Sets the local float value of an AudioFloatParameter locally for the MusicManager.
Subscribe to this event to receive tempo-synched events plus measure and beat information from the music system.