nsgt icon indicating copy to clipboard operation
nsgt copied to clipboard

Non Stationary Gabor Transform (NSGT), Python implementation

Python implementation of Non-Stationary Gabor Transform (NSGT) derived from MATLAB code by NUHAG, University of Vienna, Austria

Thomas Grill, 2011-2022 http://grrrr.org/nsgt

Austrian Research Institute for Artificial Intelligence (OFAI) AudioMiner project, supported by Vienna Science and Technology Fund (WWTF)

covered by the Artistic License 2.0 http://www.perlfoundation.org/artistic_license_2_0

Mandatory dependencies:

Numerical Python (http://numpy.scipy.org)

Optional dependencies:

PyFFTW3 (https://launchpad.net/pyfftw) will greatly speed up the NSGT transformation if fftw3 is installed on your system

pysndfile (https://pypi.org/project/pysndfile) is recommended for using the built-in audio import/streaming functionality (otherwise ffmpeg would be tried)

Installation:

In the console (terminal application) change to the folder containing this readme.txt file.

To build the package run the following command: python setup.py build

To install the package (with administrator rights): sudo python setup.py install

Todo:

  • Quality measurement for coefficients of sliced transform
  • Unify nsgfwin sliced/non-sliced

Source:

Original matlab code copyright follows:

AUTHOR(s) : Monika Dörfler, Gino Angelo Velasco, Nicki Holighaus, 2010-2011

COPYRIGHT : (c) NUHAG, Dept.Math., University of Vienna, AUSTRIA http://nuhag.eu/ Permission is granted to modify and re-distribute this code in any manner as long as this notice is preserved. All standard disclaimers apply.