siege.audio

SoundStatus

class SoundStatus
Paused = siege.audio.SoundStatus.Paused
Playing = siege.audio.SoundStatus.Playing
Stopped = siege.audio.SoundStatus.Stopped

SoundEffect

class SoundEffect
getLoop()
Return type:bool
getStatus()
Return type:SoundStatus
getVolume()
Return type:int
inRealm(arg2)
Parameters:arg2 (int) –
Return type:bool
pause()
play()
setLocation(arg2, arg3, arg4, arg5)
Parameters:
  • arg2 (int) –
  • arg3 (Vector) –
  • arg4 (Vector) –
  • arg5 (int) –
setLoop(arg2)
Parameters:arg2 (bool) –
setVolume(arg2)
Parameters:arg2 (int) –
stop()

AudioManager

class AudioManager
getTrackDuration()
Return type:int
isPlayingTrack()
Return type:bool
pauseTrack()
play(name[, volume=100[, broadcast=False]])
Parameters:
  • name (str) –
  • volume (int) –
  • broadcast (bool) –
Return type:

SoundEffect

playAt(name, realmUid, position[, volume=100[, broadcast=False]])
Parameters:
  • name (str) –
  • realmUid (int) –
  • position (Vector) –
  • volume (int) –
  • broadcast (bool) –
Return type:

SoundEffect

playAttached(name, entity[, volume=100[, broadcast=False[, stopWhenDestroyed=True]]])
Parameters:
  • name (str) –
  • entity (Entity) –
  • volume (int) –
  • broadcast (bool) –
  • stopWhenDestroyed (bool) –
Return type:

SoundEffect

playTrack(arg2, trackPath)
Parameters:
  • arg2 (str) –
  • trackPath (bool) –
resumeTrack()
setTrackVolume(arg2)
Parameters:arg2 (float) –
stopTrack()
masterVolume
musicVolume
sfxVolume