org.commonreality.sensors.aural
Class AuralUtilities

java.lang.Object
  extended by org.commonreality.sensors.aural.AuralUtilities

public class AuralUtilities
extends java.lang.Object

static utility class that facilitates aural event creation

Author:
harrison

Constructor Summary
AuralUtilities(ISensor sensor)
           
 
Method Summary
 IRealObject newSound(java.lang.String[] types, java.lang.String content, double onset, double duration)
          request and configure a new sound.
 IRealObject newVocalization(java.lang.String content, double onset, double duration, IIdentifier agent)
           
 void queueSound(IRealObject aural)
           
 double update(double time)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuralUtilities

public AuralUtilities(ISensor sensor)
Method Detail

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)