pyFDN.nested_allpass#

pyFDN.nested_allpass(g)[source]#

Create Gardner’s nested allpass FDN (SISO).

Iteratively nests a feedforward/back allpass around the previous FDN. From Gardner, W. G. (1992). A real-time multichannel room simulator. J. Acoust. Soc. Am. 92, 1–23. See “Allpass Feedback Delay Networks”, Schlecht.

Parameters:

g (array-like, shape (N,)) – Feedforward/back gains for each nesting stage.

Return type:

tuple[ndarray, ndarray, ndarray, ndarray]

Returns:

  • A (ndarray (N, N)) – Feedback matrix.

  • B (ndarray (N, 1)) – Input gain (column vector).

  • C (ndarray (1, N)) – Output gain (row vector).

  • D (ndarray (1, 1)) – Direct gain (scalar).