C# 클래스 javazoom.jl.decoder.SynthesisFilter

A class for the synthesis filter bank. This class does a fast downsampling from 32, 44.1 or 48 kHz to 8 kHz, if ULAW is defined. Frequencies above 4 kHz are removed by ignoring higher subbands.
파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

공개 메소드들

메소드 설명
SynthesisFilter ( int channelnumber, float factor, float eq0 ) : System

Contructor. The scalefactor scales the calculated float pcm samples to short values (raw pcm samples are in [-1.0, 1.0], if no violations occur).

calculate_pcm_samples ( Obuffer buffer ) : void

Calculate 32 PCM samples and put the into the Obuffer-object.

input_sample ( float sample, int subbandnumber ) : void

Inject Sample.

input_samples ( float s ) : void
reset ( ) : void

Reset the synthesis filter.

비공개 메소드들

메소드 설명
InitBlock ( ) : void
compute_new_v ( ) : void

Compute new values via a fast cosine transform.

compute_new_v_old ( ) : void

Compute new values via a fast cosine transform.

compute_pcm_samples ( Obuffer buffer ) : void
compute_pcm_samples0 ( Obuffer buffer ) : void
compute_pcm_samples1 ( Obuffer buffer ) : void
compute_pcm_samples10 ( Obuffer buffer ) : void
compute_pcm_samples11 ( Obuffer buffer ) : void
compute_pcm_samples12 ( Obuffer buffer ) : void
compute_pcm_samples13 ( Obuffer buffer ) : void
compute_pcm_samples14 ( Obuffer buffer ) : void
compute_pcm_samples15 ( Obuffer buffer ) : void
compute_pcm_samples2 ( Obuffer buffer ) : void
compute_pcm_samples3 ( Obuffer buffer ) : void
compute_pcm_samples4 ( Obuffer buffer ) : void
compute_pcm_samples5 ( Obuffer buffer ) : void
compute_pcm_samples6 ( Obuffer buffer ) : void
compute_pcm_samples7 ( Obuffer buffer ) : void
compute_pcm_samples8 ( Obuffer buffer ) : void
compute_pcm_samples9 ( Obuffer buffer ) : void
load_d ( ) : float[]

Loads the data for the d[] from the resource SFd.ser.

splitArray ( float array, int blockSize ) : float[][]

Converts a 1D array into a number of smaller arrays. This is used to achieve offset + constant indexing into an array. Each sub-array represents a block of values of the original array.

subArray ( float array, int offs, int len ) : float[]

Returns a subarray of an existing array.

메소드 상세

SynthesisFilter() 공개 메소드

Contructor. The scalefactor scales the calculated float pcm samples to short values (raw pcm samples are in [-1.0, 1.0], if no violations occur).
public SynthesisFilter ( int channelnumber, float factor, float eq0 ) : System
channelnumber int
factor float
eq0 float
리턴 System

calculate_pcm_samples() 공개 메소드

Calculate 32 PCM samples and put the into the Obuffer-object.
public calculate_pcm_samples ( Obuffer buffer ) : void
buffer Obuffer
리턴 void

input_sample() 공개 메소드

Inject Sample.
public input_sample ( float sample, int subbandnumber ) : void
sample float
subbandnumber int
리턴 void

input_samples() 공개 메소드

public input_samples ( float s ) : void
s float
리턴 void

reset() 공개 메소드

Reset the synthesis filter.
public reset ( ) : void
리턴 void