---
title: 'Between: 2014/04/01 en 2014/04/30 - 0110.be'
canonical: https://0110.be/date/2014/4
markdown_url: https://0110.be/date/2014/4.md
page: 0
posts_per_page: 30
total_posts: 1
filters:
  year: 2014
  month: 4
previous:
next:
---

# Between: 2014/04/01 en 2014/04/30 - 0110.be

## [TarsosDSP Spectral Peak extraction](https://0110.be/posts/TarsosDSP_Spectral_Peak_extraction.md)

- Published: 2014-04-10T00:00:00Z
- Updated: 2014-05-07T13:45:08Z
- Author: Joren
- ID: 421
- Canonical: https://0110.be/posts/TarsosDSP_Spectral_Peak_extraction

- Tags: [TarsosDSP](https://0110.be/tags/TarsosDSP.md), [UGent](https://0110.be/tags/UGent.md)

The TarsosDSP Java library for audio processing now contains a module for spectral peak extraction. It calculates a short time Fourier transform and subsequently finds the frequency bins with most energy present using a median filter. The frequency estimation for each identified bin is significantly improved by taking phase information into account. A method described in "Sethares et al. 2009 - Spectral Tools for Dynamic Tonality and Audio Morphing".

The noise floor, determined by the median filter, the spectral information itself and the estimated peak locations are returned for each FFT-frame. Below a visualization of a flute can be found. As expected, the peaks are harmonically spread over the complete spectrum up until the Nyquist frequency.


![Spectral peaks of a flute. The first 10 harmonic are detected up until the Nyquist frequency. ](https://0110.be/files/photos/421/spectral_peaks.png)

---
