Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

XFuVibratorToolkit Class Reference

Pseudo random number generator class. More...

#include <XFuVibratorToolkit.h>

List of all members.

Static Public Member Functions

void playDitheredNote (UINT8 aDuration, UINT8 aMagnitude)
 Play dithered note on 1-bit vibrator hardware.


Detailed Description

Pseudo random number generator class.

Definition at line 17 of file XFuVibratorToolkit.h.


Member Function Documentation

void XFuVibratorToolkit::playDitheredNote UINT8    aDuration,
UINT8    aMagnitude
[static]
 

Play dithered note on 1-bit vibrator hardware.

Uses random dither pattern to simulate magnitudes on 1-bit vibrator hardware, such as the Tapwave Zodiac.

Parameters:
aDuration duration of vibration in 10ms units
aMagnitude strength of vibration, 0..255

Definition at line 29 of file XFuVibratorToolkit.cpp.

References xfuVibratorPattern.


The documentation for this class was generated from the following files:
   
X-Forge Documentation
Confidential
Copyright © 2002-2003 Fathammer
   
Documentation generated
with doxygen
by Dimitri van Heesch