Method | Description | |
---|---|---|
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 ( |
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.
|
Method | Description | |
---|---|---|
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 ( |
||
compute_pcm_samples0 ( |
||
compute_pcm_samples1 ( |
||
compute_pcm_samples10 ( |
||
compute_pcm_samples11 ( |
||
compute_pcm_samples12 ( |
||
compute_pcm_samples13 ( |
||
compute_pcm_samples14 ( |
||
compute_pcm_samples15 ( |
||
compute_pcm_samples2 ( |
||
compute_pcm_samples3 ( |
||
compute_pcm_samples4 ( |
||
compute_pcm_samples5 ( |
||
compute_pcm_samples6 ( |
||
compute_pcm_samples7 ( |
||
compute_pcm_samples8 ( |
||
compute_pcm_samples9 ( |
||
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.
|
public SynthesisFilter ( int channelnumber, float factor, float eq0 ) : System | ||
channelnumber | int | |
factor | float | |
eq0 | float | |
return | System |
public calculate_pcm_samples ( |
||
buffer | ||
return | void |
public input_sample ( float sample, int subbandnumber ) : void | ||
sample | float | |
subbandnumber | int | |
return | void |