org.commonreality.sensors.aural
Class AuralUtilities
java.lang.Object
org.commonreality.sensors.aural.AuralUtilities
public class AuralUtilities
- extends java.lang.Object
static utility class that facilitates aural event creation
- Author:
- harrison
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuralUtilities
public AuralUtilities(ISensor sensor)
newSound
public IRealObject newSound(java.lang.String[] types,
java.lang.String content,
double onset,
double duration)
- request and configure a new sound. this call may block on the IO thread
- Parameters:
types - content - onset - duration -
- Returns:
newVocalization
public IRealObject newVocalization(java.lang.String content,
double onset,
double duration,
IIdentifier agent)
queueSound
public void queueSound(IRealObject aural)
update
public double update(double time)