All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class soundmodel.Mulaw

java.lang.Object
   |
   +----soundmodel.Mulaw

public final class Mulaw
extends Object
Class to convert 16 bit signed linear into mulaw byte and back


Constructor Index

 o Mulaw()

Method Index

 o linear2ulaw(short)
Convert short value (linear encoding (PCM)) to byte value (mulaw
 o ulaw2linear(byte)
Convert byte value (mulaw) to short value (linear encoding (PCM))

Constructors

 o Mulaw
 public Mulaw()

Methods

 o ulaw2linear
 public static final short ulaw2linear(byte ulawbyte)
Convert byte value (mulaw) to short value (linear encoding (PCM))

 o linear2ulaw
 public static final byte linear2ulaw(short sample)
Convert short value (linear encoding (PCM)) to byte value (mulaw


All Packages  Class Hierarchy  This Package  Previous  Next  Index