Panda3D
Public Member Functions | Public Attributes | Static Public Attributes

SoundInterval Class Reference

Inheritance diagram for SoundInterval:
Interval

List of all members.

Public Member Functions

def __init__
def __repr__
def clearToInitial
def finish
def finish
def getDoneEvent
def getDuration
def getLoop
def getName
def getOpenEnded
def getPlayRate
def getState
def getT
def intervalDone
def isPaused
def isPlaying
def isStopped
def loop
def loop
def pause
def popupControls
def privDoEvent
def privFinalize
def privInitialize
def privInstant
def privInterrupt
def privPostEvent
def privReverseFinalize
def privReverseInitialize
def privReverseInstant
def privStep
def resume
def resumeUntil
def setDoneEvent
def setLoop
def setPlayRate
def setT
def setupPlay
def setupResume
def start
def stepPlay

Public Attributes

 currT
 cutOff
 doneEvent
 duration
 es
 fLoop
 listenerNode
 name
 node
 openEnded
 pname
 pstats
 setTHooks
 sound
 soundDuration
 startTime
 state
 volume

Static Public Attributes

tuple notify = directNotify.newCategory('SoundInterval')
int playbackCounter = 0
int soundNum = 1

Constructor & Destructor Documentation

def __init__ (   self,
  sound,
  loop = 0,
  duration = 0.0,
  name = None,
  volume = 1.0,
  startTime = 0.0,
  node = None,
  seamlessLoop = True,
  listenerNode = None,
  cutOff = None 
)
__init__(sound, loop, name)

Member Function Documentation

def __repr__ (   self,
  indent = 0 
) [inherited]
def clearToInitial (   self) [inherited]
def finish (   self,
  args,
  kArgs 
)
def finish (   self) [inherited]
def getDoneEvent (   self) [inherited]
def getDuration (   self) [inherited]
def getLoop (   self) [inherited]
def getName (   self) [inherited]
def getOpenEnded (   self) [inherited]
def getPlayRate (   self) [inherited]
Returns the play rate as set by the last call to start(),
loop(), or setPlayRate(). 
def getState (   self) [inherited]
def getT (   self) [inherited]
def intervalDone (   self) [inherited]
def isPaused (   self) [inherited]
def isPlaying (   self) [inherited]
def isStopped (   self) [inherited]
def loop (   self,
  startT = 0.0,
  endT = -1.0,
  playRate = 1.0 
) [inherited]
def loop (   self,
  startT = 0.0,
  endT = -1.0,
  playRate = 1.0,
  stagger = False 
)
def pause (   self) [inherited]
def popupControls (   self,
  tl = None 
) [inherited]
Popup control panel for interval.
def privDoEvent (   self,
  t,
  event 
) [inherited]
def privFinalize (   self)

Reimplemented from Interval.

def privInitialize (   self,
  t 
)

Reimplemented from Interval.

def privInstant (   self) [inherited]

Reimplemented in FunctionInterval, and IndirectInterval.

def privInterrupt (   self)

Reimplemented from Interval.

def privPostEvent (   self) [inherited]
def privReverseFinalize (   self) [inherited]

Reimplemented in IndirectInterval.

def privReverseInitialize (   self,
  t 
) [inherited]

Reimplemented in IndirectInterval.

def privReverseInstant (   self) [inherited]

Reimplemented in IndirectInterval.

def privStep (   self,
  t 
)

Reimplemented from Interval.

def resume (   self,
  startT = None 
) [inherited]
def resumeUntil (   self,
  endT 
) [inherited]
def setDoneEvent (   self,
  event 
) [inherited]
def setLoop (   self,
  loop = 1 
) [inherited]
def setPlayRate (   self,
  playRate 
) [inherited]
Changes the play rate of the interval.  If the interval is
already started, this changes its speed on-the-fly.  Note that
since playRate is a parameter to start() and loop(), the next
call to start() or loop() will reset this parameter. 
def setT (   self,
  t 
) [inherited]
def setupPlay (   self,
  startT,
  endT,
  playRate,
  doLoop 
) [inherited]
def setupResume (   self) [inherited]
def start (   self,
  startT = 0.0,
  endT = -1.0,
  playRate = 1.0 
) [inherited]
def stepPlay (   self) [inherited]

Member Data Documentation

Reimplemented from Interval.

doneEvent [inherited]
duration [inherited]
es [inherited]
name [inherited]
tuple notify = directNotify.newCategory('SoundInterval') [static]

Reimplemented from Interval.

openEnded [inherited]
int playbackCounter = 0 [static, inherited]
pname [inherited]
pstats [inherited]
setTHooks [inherited]
int soundNum = 1 [static]

Reimplemented from Interval.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties