as.clynx.audio.mux.streams
Class SignalLocalizer

java.lang.Object
  extended by as.clynx.audio.mux.streams.SignalLocalizer
Direct Known Subclasses:
_2DLocalizer, _4DLocalizer

public abstract class SignalLocalizer
extends java.lang.Object

The abstract class SignalLocalizer.java is extended by classes which calculate the position of signals in x-dim.

Version:
cLynx v.1.2, JDK 6.0: 23.10.2007
Author:
Andreas Senfter - andreas@senfters.com

Field Summary
static int FRONT_LEFT
           
static int FRONT_RIGHT
           
static int REAR_LEFT
           
static int REAR_RIGHT
           
 
Constructor Summary
SignalLocalizer()
           
 
Method Summary
abstract  int getChannelCount()
          returns the number of channels
abstract  int getPostion(java.awt.Point loc)
          calculates the position of the input signal in the output signal.
 int getPostionOf(AudioFile af)
          calculates the position of the input signal in the output signal.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FRONT_LEFT

public static final int FRONT_LEFT
See Also:
Constant Field Values

FRONT_RIGHT

public static final int FRONT_RIGHT
See Also:
Constant Field Values

REAR_LEFT

public static final int REAR_LEFT
See Also:
Constant Field Values

REAR_RIGHT

public static final int REAR_RIGHT
See Also:
Constant Field Values
Constructor Detail

SignalLocalizer

public SignalLocalizer()
Method Detail

getPostion

public abstract int getPostion(java.awt.Point loc)
calculates the position of the input signal in the output signal.

Parameters:
loc -
Returns:
the position of the input signal in the output signal.

getPostionOf

public int getPostionOf(AudioFile af)
calculates the position of the input signal in the output signal.

Parameters:
af -
Returns:
the position of the input signal in the output signal.

getChannelCount

public abstract int getChannelCount()
returns the number of channels

Returns:
the number of channels