UMusicSegmentBase
(UAudioSuperComponent)
(UAudioSuperComponent)
MusicSegments along with MetaSound should be primarily used to control vertical music mixing within one piece of horizontal music. They have all the features and functionality of AudioSuperComponents. The only differences are that MusicSegments receive game parameter data from the MusicLayout they are attached to, they include extra BPM and time signature properties, and they never auto destroy themselves on stop.
NOTE: When used within the music system, MusicSegments will automatically listen for game parameters regardless of "Class Default" settings.
NOTE: The base MusicSegment class can be reused in MusicLayouts if custom code is not required (ie. the MusicSegment just holds a looping MetaSound). The "Class Defaults" of any base MusicSegment can be modified per instance just like any other component that gets attached and has configurable properties.
The beats per minute of this MusicSegment used for transition timing.
The number of beats within a measure used for transition timing.
Not currently used for anything.
Gets the local AudioSwitchParameter value for an AudioGroupParameter on the MusicManager (or actor if not part of music system).
Gets the local float value for an AudioFloatParameter on the MusicManager (or actor if not part of music system).
Override this function to add code that will match custom functionality with specific AudioSwitchParameters within an AudioGroupParameter received from the music system.
Override this function to add code that will match custom functionality with specific AudioFloatParameters and values received from the music system.
Override this function to add code that will match custom functionality with specific AudioSwitchParameters within an AudioGroupParameter received from the AudioManagerSubsystem.
Override this function to add code that will match custom functionality with specific AudioFloatParameters and values received from the AudioManagerSubsystem.
Gets the global AudioSwitchParameter value for an AudioGroupParameter.
Gets the global float value for an AudioFloatParameter.