#include <ActiveSoundSource.h>
Inheritance diagram for Enki::ActiveSoundSource:

Public Member Functions | |
| ActiveSoundSource (Robot *owner, double r, unsigned channels) | |
| Constructor. | |
| ~ActiveSoundSource () | |
| Destructor. | |
| virtual void | init () |
| virtual void | objectStep (double dt, PhysicalObject *po, World *w) |
| void | setSoundRange (double range) |
| Set the range of this sound interraction. | |
| double | getSound (unsigned channel) |
| Get the value associated with channel. | |
| double | getMaxSound (int *channel) |
| Get the maximum value, set channel to the channel where this maximum lies. | |
| void | setSound (unsigned channel, double signal) |
| Set the value of channel to signal using a simplified model. | |
| void | realisticSetSound (unsigned channel, double signal) |
| Set the value of channel to signal using a more realistic model. | |
Public Attributes | |
| unsigned | noOfChannels |
| No of channels of this sound source. | |
| double * | pitch |
| Produced sound: vector of different pitch as they were channels. | |
| bool | enableFlag |
| Sound activity. | |
| double | elapsedTime |
| Elapsed time since last activation. | |
| double | activityTime |
| Activity time. | |
1.5.1