|
Sound Open Firmware
|
#include <auditory.h>
Data Fields | |
| int32_t | log_mult |
| Out, QX.Y scale for log, log10, or dB format. | |
| int32_t | scale_log2 |
| Out, Scale as log2 Q16.16 to apply to Mel energies. | |
| int32_t | samplerate |
| In, Hz Q0. | |
| int16_t | start_freq |
| In, Hz Q0. | |
| int16_t | end_freq |
| In, Hz Q0. | |
| int16_t * | scratch_data1 |
| Scratch, At least half_fft_bins size. | |
| int16_t * | scratch_data2 |
| Scratch, Packed triangles data. | |
| int16_t * | data |
| Out, Packed triangles data. | |
| int | scratch_length1 |
| In, Length of first scratch. | |
| int | scratch_length2 |
| In, Length of second scratch. | |
| int | fft_bins |
| In, Number of FFT bins. | |
| int | half_fft_bins |
| In, fft_bins / 2 + 1. | |
| int | mel_bins |
| In, Number of Mel frequency bins. | |
| int | data_length |
| Out, Number of int16_t words in triangles data. | |
| enum psy_mel_log_scale | mel_log_scale |
| In, LOG, LOG10 or DB to select Mel format. | |
| bool | slaney_normalize |
| In, Apply Slaney type normalization for filterbank if true. | |
| int16_t* psy_mel_filterbank::data |
Out, Packed triangles data.
| int psy_mel_filterbank::data_length |
Out, Number of int16_t words in triangles data.
| int16_t psy_mel_filterbank::end_freq |
In, Hz Q0.
| int psy_mel_filterbank::fft_bins |
In, Number of FFT bins.
| int psy_mel_filterbank::half_fft_bins |
In, fft_bins / 2 + 1.
| int32_t psy_mel_filterbank::log_mult |
Out, QX.Y scale for log, log10, or dB format.
| int psy_mel_filterbank::mel_bins |
In, Number of Mel frequency bins.
| enum psy_mel_log_scale psy_mel_filterbank::mel_log_scale |
In, LOG, LOG10 or DB to select Mel format.
| int32_t psy_mel_filterbank::samplerate |
In, Hz Q0.
| int32_t psy_mel_filterbank::scale_log2 |
Out, Scale as log2 Q16.16 to apply to Mel energies.
| int16_t* psy_mel_filterbank::scratch_data1 |
Scratch, At least half_fft_bins size.
| int16_t* psy_mel_filterbank::scratch_data2 |
Scratch, Packed triangles data.
| int psy_mel_filterbank::scratch_length1 |
In, Length of first scratch.
| int psy_mel_filterbank::scratch_length2 |
In, Length of second scratch.
| bool psy_mel_filterbank::slaney_normalize |
In, Apply Slaney type normalization for filterbank if true.
| int16_t psy_mel_filterbank::start_freq |
In, Hz Q0.