com.iron-mountain.adaptive-music
v1.0.3
Published
A system for playing music at various predefined intensities.
Downloads
8
Readme
Adaptive Music
Version: 1.0.3
Description:
A system for playing music at various predefined intensities.
Package Mirrors:
Key Scripts & Components:
- public class Song : ScriptableObject
- Properties:
- public String DisplayName { get; }
- public AudioMixerGroup AudioMixerGroup { get; }
- public List Stems { get; }
- Properties:
- public class SongPlayer : MonoBehaviour
- Actions:
- public event Action OnSongChanged
- public event Action OnVolumeChanged
- Properties:
- public Boolean Started { get; }
- public Boolean IsPaused { get; }
- public Song Song { get; set; }
- public float Volume { get; }
- Methods:
- public void RefreshStemPlayers()
- public void Play()
- public void Pause()
- public void Resume()
- public void Stop()
- public void TogglePause()
- public void FadeIn(float fadeInSeconds, Action onComplete)
- public void FadeOut(float fadeOutSeconds, Action onComplete)
- Actions:
- public static class SongPlayersManager
- public class StemPlayer : MonoBehaviour
- Properties:
- public AudioSource AudioSource { get; }
- Methods:
- public void Initialize(SongPlayer songPlayer, AdaptiveStem stem, AudioMixerGroup audioMixerGroup)
- public void Play()
- public void Pause()
- public void Resume()
- public void Stop()
- Properties:
- public class VolumeEditorAttribute : PropertyAttribute
Intensity
- public class CurrentMusicIntensityText : MonoBehaviour
- public static class MusicIntensitySettings
- public class MusicIntensitySlider : MonoBehaviour
Stems
- public abstract class AdaptiveStem : ScriptableObject
- Properties:
- public AnimationCurve Volumes { get; }
- Methods:
- public abstract AudioClip GetAudioClip()
- Properties:
- public class BasicAdaptiveStem : AdaptiveStem
- Methods:
- public override AudioClip GetAudioClip()
- Methods:
- public class RandomAdaptiveStem : AdaptiveStem
- Properties:
- public List AudioClips { get; }
- Methods:
- public override AudioClip GetAudioClip()
- Properties: