Summary

Enables music playback. Use this for music, not for playing game sounds.

Properties

Amplitude Approximate measure of audio loudness.
Channels Number of channels of the audio being played.
Distance
Duration Gets the total duration of the video in seconds.
Falloff
LipSync Enables lipsync processing.
ListenLocal Place the listener at 0,0,0 facing 1,0,0.
OnFinished Invoked when the audio has finished playing.
OnRepeated Invoked when the audio has repeated.
Paused Pause playback of audio.
PlaybackTime Gets the current playback time in seconds.
Position Position of the sound.
Repeat Audio will repeat when reaching the end.
SampleRate Sample rate of the audio being played.
Spectrum 512 FFT magnitudes used for audio visualization.
TargetMixer Which mixer do we want to write to
Title Get title of the track.
Visemes A list of 15 lipsync viseme weights. Requires Sandbox.MusicPlayer.LipSync to be enabled.
Volume Change the volume of this music.

Methods

Dispose
Seek
Stop Stops audio playback.

Static Methods

Play
PlayUrl
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.