    

 ## On this page

  

 

 # sound:compute power spectral density

 Last update: 31.07.2026 

**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

InputNameExpected type(s)Description**Pin 0**   
Requiredinput\_signal[`field`](../../core-concepts/dpf-types.md#field)Input signal for PSD computation.**Pin 1**   
Requiredwindow\_type[`string`](../../core-concepts/dpf-types.md#standard-types)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**   
Requiredwindow\_length[`int32`](../../core-concepts/dpf-types.md#standard-types)Length of the analysis window in number of samples.**Pin 3**   
Requiredfft\_size[`int32`](../../core-concepts/dpf-types.md#standard-types)FFT size in number of samples, must be a power of 2. Should be equal to or greater than window\_length.**Pin 4**   
Requiredoverlap[`double`](../../core-concepts/dpf-types.md#standard-types)Proportion of each window that overlaps with the next, must be in the range \[0.0, 1.0\[.## Outputs

OutputNameExpected type(s)Description**Pin 0**output\_signal[`field`](../../core-concepts/dpf-types.md#field)One-sided PSD of the input signal, in Unit^2/Hz.## Configurations

NameExpected type(s)Default valueDescription**mutex**[`bool`](../../core-concepts/dpf-types.md#standard-types)falseIf 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.