> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#field) | Input signal for PSD computation. |
| **Pin 1** Required | window\_type | [`string`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#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** Required | window\_length | [`int32`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#standard-types) | Length of the analysis window in number of samples. |
| **Pin 3** Required | fft\_size | [`int32`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#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** Required | overlap | [`double`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#standard-types) | 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`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#field) | One-sided PSD of the input signal, in Unit^2/Hz. |

## Configurations

| Name | Expected type(s) | Default value | Description |
| - | - | - | - |
| **mutex** | [`bool`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#standard-types) | 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.
