Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
nrf_dsp_melspectr.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
15#ifndef _NRF_DSP_TRANSFORM_MELSPECTROGRAM_H_
16#define _NRF_DSP_TRANSFORM_MELSPECTROGRAM_H_
17
19#include "nrf_dsp_rfht.h"
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
48
58
66
67#ifdef __cplusplus
68}
69#endif
70
71#endif /* _NRF_DSP_TRANSFORM_MELSPECTROGRAM_H_ */
72
void nrf_dsp_melspectr_shift_f32(nrf_dsp_melspectr_ctx_f32_t *p_ctx, uint16_t shift)
Shift mel-spectrogram to the right on N columns.
int8_t nrf_dsp_melspectr_make_f32(nrf_dsp_melspectr_ctx_f32_t *p_ctx, flt32_t *p_audio_input)
Make mel-spectrogram from timeseries audio data.
float flt32_t
32-bit floating-point type definition.
Definition nrf_edgeai_ctypes.h:21
uint16_t freq_bands
Definition nrf_dsp_melspectr.h:43
nrf_dsp_rfht_instance_t fht
Definition nrf_dsp_melspectr.h:34
uint16_t time_bands
Definition nrf_dsp_melspectr.h:46
uint16_t current_fill
Definition nrf_dsp_melspectr.h:40
uint16_t sample_rate
Definition nrf_dsp_melspectr.h:37
flt32_t * p_melspectrum
Definition nrf_dsp_melspectr.h:31
Structure descibing mel-spectrogram preprocessing block.
Definition nrf_dsp_melspectr.h:27
Instance structure for the RFHT/RIFHT functions.
Definition nrf_dsp_rfht.h:32