fi.helsinki.cs.ohtu.mpeg2.audio
Interface PsychoacousticModel

All Known Implementing Classes:
DummyPAModel, StandardPAModel1

public interface PsychoacousticModel

An interface for a psychoacoustic model.


Method Summary
 double[] computeSMRs(double[] samples, int[][] scF)
          Compute the Signal-to-Mask Ratios for the sub-bands of the input PCM audio frame.
 

Method Detail

computeSMRs

double[] computeSMRs(double[] samples,
                     int[][] scF)
Compute the Signal-to-Mask Ratios for the sub-bands of the input PCM audio frame.

Parameters:
in - The input PCM audio frame whose samples are doubles in the range ]-1.0, 1.0[.
scF - The scalefactors for each subband (dimensions [SBLIMIT][3]).
Returns:
An array containing the signal-to-mask ratios for each subband.