Edge AI Add-on API 2.3.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
47
57
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif /* _NRF_DSP_TRANSFORM_MELSPECTROGRAM_H_ */
71
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:42
nrf_dsp_rfht_instance_t fht
Definition nrf_dsp_melspectr.h:33
uint16_t time_bands
Definition nrf_dsp_melspectr.h:45
uint16_t current_fill
Definition nrf_dsp_melspectr.h:39
uint16_t sample_rate
Definition nrf_dsp_melspectr.h:36
flt32_t * p_melspectrum
Definition nrf_dsp_melspectr.h:30
Structure descibing mel-spectrogram preprocessing block.
Definition nrf_dsp_melspectr.h:26
Instance structure for the RFHT/RIFHT functions.
Definition nrf_dsp_rfht.h:31