|
int | xtract_flux (const float *data, const int N, const void *argv, float *result) |
| Extract flux. More...
|
|
int | xtract_lnorm (const float *data, const int N, const void *argv, float *result) |
| Extract the L-norm of a vector. More...
|
|
int | xtract_attack_time (const float *data, const int N, const void *argv, float *result) |
| Extract attack Time.
|
|
int | xtract_decay_time (const float *data, const int N, const void *argv, float *result) |
|
int | xtract_difference_vector (const float *data, const int N, const void *argv, float *result) |
| Extract the difference between two vectors. More...
|
|
Functions that extract a scalar or vector value from 2 or more input vectors
int xtract_decay_time |
( |
const float * |
data, |
|
|
const int |
N, |
|
|
const void * |
argv, |
|
|
float * |
result |
|
) |
| |
Extract temporal decrease
int xtract_difference_vector |
( |
const float * |
data, |
|
|
const int |
N, |
|
|
const void * |
argv, |
|
|
float * |
result |
|
) |
| |
Extract the difference between two vectors.
- Parameters
-
*data | a pointer to an array representing two distinct vectors, e.g. two successive magnitude spectra. |
N | the size of the array pointed to by *data |
*argv | a pointer to NULL |
*result | a pointer to an array of size N / 2 representing the difference between the two input vectors. |
int xtract_flux |
( |
const float * |
data, |
|
|
const int |
N, |
|
|
const void * |
argv, |
|
|
float * |
result |
|
) |
| |
Extract flux.
- Note
- FIX: don't be lazy – take the lnorm of the difference vector! An alias for xtract_lnorm()
int xtract_lnorm |
( |
const float * |
data, |
|
|
const int |
N, |
|
|
const void * |
argv, |
|
|
float * |
result |
|
) |
| |
Extract the L-norm of a vector.
- Parameters
-
*data | a pointer to the first element in an array of floats representing the difference between two subsequent frames of output from a vector-based feature e.g. the *result from xtract_difference_vector() |
N | the length of the array pointed to by *data |
*argv | a pointer to an array of floats, the first representing the "norm order". The second argument represents the filter type determining what values we consider from the difference vector as given in the enumeration xtract_lnorm_filter_types_ (libxtract.h) |
*result | a pointer to a float representing the flux |