rasmus.interpreter.sampled
Class AudioEvents

java.lang.Object
  extended by rasmus.interpreter.RVariablePartImpl
      extended by rasmus.interpreter.RList
          extended by rasmus.interpreter.sampled.AudioEvents
All Implemented Interfaces:
RVariablePart, AudioStreamable

public class AudioEvents
extends RList
implements AudioStreamable


Field Summary
 java.util.List track
           
 
Fields inherited from class rasmus.interpreter.RList
dependvar, listeners
 
Fields inherited from class rasmus.interpreter.RVariablePartImpl
variable
 
Constructor Summary
AudioEvents()
           
 
Method Summary
 void addEvent(java.lang.Object object)
           
static void addEvent(RVariable variable, AudioEvent event)
           
static RVariable asVariable(AudioEvent event)
           
static AudioEvents getInstance(RVariable variable)
           
 AudioStream openStream(AudioSession session)
           
static AudioStream openStream(RVariable variable, AudioSession session)
           
 AudioStream openStream2(AudioSession session)
           
static double StreamTimeToTime(double time, double rate, int channels)
           
static long TimeToStreamTime(double time, double rate, int channels)
           
 
Methods inherited from class rasmus.interpreter.RList
add, addListener, addObject, addObjects, clear, forceAddListener, forceRemoveListener, getObjects, isImmutable, remove, removeListener, removeObject, removeObjects, sendObjectAdded, sendObjectRemoved, sendObjectsAdded, sendObjectsRemoved, setImmutable, synchronizedList
 
Methods inherited from class rasmus.interpreter.RVariablePartImpl
getVariable, init
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

track

public java.util.List track
Constructor Detail

AudioEvents

public AudioEvents()
Method Detail

TimeToStreamTime

public static long TimeToStreamTime(double time,
                                    double rate,
                                    int channels)

StreamTimeToTime

public static double StreamTimeToTime(double time,
                                      double rate,
                                      int channels)

openStream

public static AudioStream openStream(RVariable variable,
                                     AudioSession session)

getInstance

public static AudioEvents getInstance(RVariable variable)

addEvent

public static void addEvent(RVariable variable,
                            AudioEvent event)

asVariable

public static RVariable asVariable(AudioEvent event)

addEvent

public void addEvent(java.lang.Object object)

openStream

public AudioStream openStream(AudioSession session)
Specified by:
openStream in interface AudioStreamable

openStream2

public AudioStream openStream2(AudioSession session)