pydsm.NTFdesign.psychoacoustic.dunn_optzeros¶
-
pydsm.NTFdesign.psychoacoustic.
dunn_optzeros
(n)¶ Helper function for synthesising psychoacoustically optimal modulators.
Returns the (normalized) zeros which minimize the in-band noise power of a delta-sigma modulator’s NTF after weighting by the F-weighting.
- Parameters
- nint
the number of optimized zeros to return
- Returns
- zerosndarray of reals
the zeros for the modulator as normalized angular frequencies.
Notes
The zeros are always located on the complex unit circle. In other words, the zeros are returned as frequencies. For homogeneity with DELSIG’s ds_optzeros, the frequencies are normalized with respect to the signal bandwidth, that is fixed at 22.05 kHz.
This function is the equivalent of ds_optzeros in DELSIG. The tabled zeros delivered by this function are from [1]. Note that this function does not return the values that are tabled in [1], but scales them by the reference audio bandwidth used in [1], namely 22.05 kHz.