Skip to main content

Constant-Q Sliding DFT

Project description

Constant-Q Sliding DFT in C++ and Python (QDFT)

language license pypi

Forward and inverse Constant-Q Sliding DFT according to [1] with following features:

  • Arbitrary octave resolution (quarter tone by default)
  • Built-in parameterizable cosine family window (Hann by default)
  • Customizable time and frequency domain data type in C++
  • Endless single or multiple sample processing at once
  • Optional analysis latency control parameter
  • Real-time analysis and synthesis capability

WIP

Examples

QDFT Chroma12
SDFT STFT
face.py cmajor.py
SDFT STFT

See also

If you're interested in Sliding DFT with linear frequency resolution, don't forget to browse my jurihock/sdft project!

References

  1. Russell Bradford et al. (2008). Sliding with a Constant Q. International Conference on Digital Audio Effects. https://www.dafx.de/paper-archive/2008/papers/dafx08_63.pdf

  2. Russell Bradford et al. (2005). Sliding is Smoother Than Jumping. International Computer Music Conference Proceedings. http://hdl.handle.net/2027/spo.bbp2372.2005.086

  3. Krzysztof Duda (2010). Accurate, Guaranteed Stable, Sliding Discrete Fourier Transform. IEEE Signal Processing Magazine. https://ieeexplore.ieee.org/document/5563098

  4. Eric Jacobsen and Peter Kootsookos (2007). Fast, Accurate Frequency Estimators. IEEE Signal Processing Magazine. https://ieeexplore.ieee.org/document/4205098

License

github.com/jurihock/qdft is licensed under the terms of the MIT license. For details please refer to the accompanying LICENSE file distributed with it.

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

qdft-0.4.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

qdft-0.4-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file qdft-0.4.tar.gz.

File metadata

  • Download URL: qdft-0.4.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for qdft-0.4.tar.gz
Algorithm Hash digest
SHA256 8e93d15fee776c7caec316c24c21a92a4d51a7600b2919666af5fead8e64ab56
MD5 d567a8a194fac7a7e573a0c8eb068a4a
BLAKE2b-256 a8c617e23053883af1fe6ca9a364b52b652f39c5aace3ca25df452c1bb4cbc00

See more details on using hashes here.

File details

Details for the file qdft-0.4-py3-none-any.whl.

File metadata

  • Download URL: qdft-0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for qdft-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 08af7eecff751a09dd106563079858ea2326bdd1df1c1d3c614d4c8355e4fd22
MD5 a80c3610e4bc32e6250f399a0001f822
BLAKE2b-256 3bf996f00fbe5dae10bae67de210ac51652ab5c3005a37221c3df084098234e9

See more details on using hashes here.

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