Class Overview
A standard transformer used in connection blocks.
It expects input values to be between 0 and 1.
The result of the transform is
between 0 and 1 if polarity = unipolar and
between -1 and 1 if polarity = bipolar.
These constraints only applies to Concave, Convex and Switch transforms.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
From interface
com.sun.media.sound.ModelTransform
|
Constants
public
static
final
boolean
DIRECTION_MAX2MIN
public
static
final
boolean
DIRECTION_MIN2MAX
public
static
final
boolean
POLARITY_BIPOLAR
public
static
final
boolean
POLARITY_UNIPOLAR
public
static
final
int
TRANSFORM_ABSOLUTE
Constant Value:
4
(0x00000004)
public
static
final
int
TRANSFORM_CONCAVE
Constant Value:
1
(0x00000001)
public
static
final
int
TRANSFORM_CONVEX
Constant Value:
2
(0x00000002)
public
static
final
int
TRANSFORM_LINEAR
Constant Value:
0
(0x00000000)
public
static
final
int
TRANSFORM_SWITCH
Constant Value:
3
(0x00000003)
Public Constructors
public
ModelStandardTransform
()
public
ModelStandardTransform
(boolean direction)
public
ModelStandardTransform
(boolean direction, boolean polarity)
public
ModelStandardTransform
(boolean direction, boolean polarity, int transform)
Public Methods
public
boolean
getDirection
()
public
boolean
getPolarity
()
public
int
getTransform
()
public
void
setDirection
(boolean direction)
public
void
setPolarity
(boolean polarity)
public
void
setTransform
(int transform)
public
double
transform
(double value)