Skip to main content

Frontend filterbank learning module with HVQT initialization capabilities

Project description

Learnable Harmonic Variable-Q Transform (LHVQT)

Implements a frontend filterbank learning module which can be initialized with complex weights for a Variable-Q Transform (lvqt_orig.py). Several techniques and variations of the module are also implemented, including:

  • Multi-channel (harmonic) structure (lhvqt.py)
  • Real-only weights (lvqt_real.py)
  • Hilbert Transform for analytic filters (lvqt_hilb.py)
  • Harmonic comb initialization (lhvqt_comb.py)
  • Variational dropout for 1D convolutional layer (variational.py)

The repository was created for my Master's Thesis, End-to-End Music Transcription Using Fine-Tuned Variable-Q Filterbanks. It has since been updated with various improvements, and to support my new work, Stub.

Installation

Standard (PyPI)

Recommended for standard/quick usage

pip install lhvqt
Cloning Repository

Recommended for running examples or making experimental changes.

git clone https://github.com/cwitkowitz/lhvqt
pip install -e lhvqt

Usage

Several examples of instantiation, inference, and visualization are provided under the examples sub-directory. A full-blown training, visualization, and evaluation example for stub can be found at https://github.com/cwitkowitz/stub.

Cite

Please cite whichever is more relevant to your usage.

Stub 2021 Paper
@inproceedings{
  stub2021
}
Master's Thesis
@mastersthesis{
  cwitkowitz2019end,
  author  = {Cwitkowitz, Frank},
  title   = {End-to-End Music Transcription Using Fine-Tuned Variable-Q Filterbanks},
  school  = {Rochester Institute of Technology},
  year    = {2019}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lhvqt-0.4.1.tar.gz (16.1 kB view hashes)

Uploaded Source

Built Distribution

lhvqt-0.4.1-py3-none-any.whl (21.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page