rasmus.interpreter.sampled
Class AudioEvents
java.lang.Object
rasmus.interpreter.RVariablePartImpl
rasmus.interpreter.RList
rasmus.interpreter.sampled.AudioEvents
- All Implemented Interfaces:
- RVariablePart, AudioStreamable
public class AudioEvents
- extends RList
- implements AudioStreamable
Field Summary |
java.util.List |
track
|
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
track
public java.util.List track
AudioEvents
public AudioEvents()
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)