---
title: Flanger Audio Effect in Java
canonical: https://0110.be/posts/Flanger_Audio_Effect_in_Java
markdown_url: https://0110.be/posts/Flanger_Audio_Effect_in_Java.md
id: 338
published_at: '2013-02-04T14:41:06Z'
updated_at: '2013-12-05T18:19:15Z'
author: Joren
tags:
- name: HoGent
  markdown_url: https://0110.be/tags/HoGent.md
- name: Java
  markdown_url: https://0110.be/tags/Java.md
- name: TarsosDSP
  markdown_url: https://0110.be/tags/TarsosDSP.md
---

# Flanger Audio Effect in Java

The DSP library for Taros, aptly named TarsosDSP, now includes an example demonstrating the [flanging audio effect](http://en.wikipedia.org/wiki/Flanging). Flanging, essentialy mixing the signal with a varying delay of itself, produces an interesting interference pattern.

<div align="center">
<a href="https://0110.be/releases/TarsosDSP/TarsosDSP-latest/TarsosDSP-latest-Examples/Flanging-latest.jar"><img src="https://0110.be/files/attachments/338/Flanger_Effect_in_Java.png" alt="Pitch estimation synthesizer"/></a>

</div>
The flanging example works on wav-files or on input from microphone. Try it yourself, download\
[Flanging.jar](https://0110.be/releases/TarsosDSP/TarsosDSP-latest/TarsosDSP-latest-Examples/Flanging-latest.jar), the executable jar file. Below you can check what flanging sounds like with various parameters.

<iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F77772715">
</iframe>
The source code of the Java implementation can be found on the [TarsosDSP github page](https://github.com/JorenSix/TarsosDSP).


- [Flanger\_Effect\_in\_Java.png](https://0110.be/files/attachments/338/Flanger_Effect_in_Java.png)
