---
title: JGaborator - Fast Gabor spectral transforms in Java
canonical: https://0110.be/posts/JGaborator_-_Fast_Gabor_spectral_transforms_in_Java
markdown_url: https://0110.be/posts/JGaborator_-_Fast_Gabor_spectral_transforms_in_Java.md
id: 465
published_at: '2018-09-13T00:00:00Z'
updated_at: '2018-09-26T13:25:04Z'
author: Joren
tags:
- name: Code
  markdown_url: https://0110.be/tags/Code.md
- name: UGent
  markdown_url: https://0110.be/tags/UGent.md
---

# JGaborator - Fast Gabor spectral transforms in Java

Recently I have published a small library [on github called JGaborator](https://github.com/JorenSix/JGaborator). The library calculates fine grained constant-Q spectral representations of audio signals quickly from Java. The calculation of a [Gabor transform](https://en.wikipedia.org/wiki/Gabor_transform) is done by a C library named [Gaborator](http://gaborator.com). A Java native interface (JNI) bridge to the C Gaborator is provided. A combination of Gaborator and a fast FFT library (such as [pfft](https://bitbucket.org/jpommier/pffft)) allows fine grained constant-Q transforms at a rate of about 200 times real-time on moderate hardware. It can serve as a front-end for several audio processing or MIR applications.

For more information on the Gaborator C library by Andreas Gustafsson, please see the [gaborator.com](http://gaborator.com) website or a talk by the author on the library called [Exploring time-frequency space with the Gaborator](https://www.youtube.com/watch?v=ONJVJBmFiuE)

While the gaborator allows reversible transforms, only a forward transform (from time domain to the spectral domain) is currently supported from Java.A spectral visualization tool for sprectral information is part of this package. See below for a screenshot:

<center>
<img src="https://0110.be/files/attachments/465/jgaborator.png" width="550" alt="JGaborator screenshot"/>

</center>

