grrrr/nsgt

Jagged matrix of coefficients

sevagh opened this issue · 1 comments

Hello,
The shape returned by nsgt.forward is jagged (i.e. different lengths of nsgt coefficients per frame) - which makes sense, given the varying time-frequency resolution of the NSGT.

However, in MATLAB (who's implementation comes from the same NSGT paper - https://www.mathworks.com/help/wavelet/ref/cqt.html), the cfs matrix returned is square.

Do you know if this is an implementation choice to pad zeros to the maximum length of nsgt coefficients? It's more convenient to be able to treat the CQT output like an STFT (rectangular matrix) and apply some operations on it (masking, filtering, etc.).

Ahhh, that's the matrixform argument.