sound:compute power spectral density
Version: 0.0.0
Description
Compute the Power Spectral Density (PSD) of a signal. If the signal's unit is Unit, then the PSD's unit is Unit^2 / Hz.
Inputs
| Input | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 Required | input_signal | field | Input signal for PSD computation. |
| Pin 1 Required | window_type | string | The window used for the FFT computation, as a string. Supported values are: * BLACKMAN * FLATTOP * GAUSS * HAMMING * HANN * RECTANGULAR * TRIANGULAR If no parameter is specified, the default value is 'HANN'. |
| Pin 2 Required | window_length | int32 | Length of the analysis window in number of samples. |
| Pin 3 Required | fft_size | int32 | FFT size in number of samples, must be a power of 2. Should be equal to or greater than window_length. |
| Pin 4 Required | overlap | double | Proportion of each window that overlaps with the next, must be in the range [0.0, 1.0[. |
Outputs
| Output | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | output_signal | field | One-sided PSD of the input signal, in Unit^2/Hz. |
Configurations
| Name | Expected type(s) | Default value | Description |
|---|---|---|---|
| mutex | bool | false | If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads. |
Scripting
Category: sound
Plugin: sound
Scripting name: None
Full name: None
Internal name: compute_power_spectral_density
License: avrxp_snd_level1
Changelog
- Version 0.0.0: Initial release.