https://github.com/jdsherbert/audio-haas-effect
Simple C++ implementation of the haas technique, with brief explanation.
https://github.com/jdsherbert/audio-haas-effect
audio audio-effect audio-effects audio-processing cpp delay haas
Last synced: over 1 year ago
JSON representation
Simple C++ implementation of the haas technique, with brief explanation.
- Host: GitHub
- URL: https://github.com/jdsherbert/audio-haas-effect
- Owner: JDSherbert
- License: mit
- Created: 2024-01-19T22:16:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-19T22:40:20.000Z (over 2 years ago)
- Last Synced: 2025-02-13T22:38:12.573Z (over 1 year ago)
- Topics: audio, audio-effect, audio-effects, audio-processing, cpp, delay, haas
- Language: C++
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Audio: Haas Effect
-----------------------------------------------------------------------
-----------------------------------------------------------------------
## Overview
The Haas effect, also known as the precedence effect, involves using a short delay ([see my article on delay here](https://github.com/JDSherbert/Audio-Delay)) between two identical signals to create a perception of localization or spaciousness in sound. It's a psychoacoustic phenomenon where the human ear perceives the direction of a sound source based on the first arriving wavefront, and the delayed sound is fused with the original, creating a perception of a single sound source.
In the Haas effect, you have two identical signals, typically a direct signal (the original sound) and a delayed signal. The delayed signal is introduced with a very short delay, usually in the range of 1 to 40 milliseconds. This delay is short enough that the ear perceives the two signals as a single sound source. By panning the original and delayed signals differently in the stereo field, you can create a sense of spatiality or width in the sound. For example, if the original signal is panned center and the delayed signal is panned slightly to one side, it can create a sense of the sound coming from that direction.
The Haas effect is often used in audio production for widening the stereo image without creating a noticeable echo. It's particularly useful for creating a sense of spaciousness in vocals, guitars, and other mono sources.
Here's a really good article from iZotope explaining the Haas effect further, with examples:
https://www.izotope.com/en/learn/5-ways-to-adjust-phase-after-recording.htmlI

-----------------------------------------------------------------------