AudioLens
Real-time audio analysis: FFT spectrum, onset and beat detection, and a full set of time- and frequency-domain descriptors..
AudioLens analyses audio while it plays and gives you numbers you can drive gameplay with.
Feed it a frame of samples each tick and read back an FFT spectrum, onset detection functions, classified drum hits, and a full set of loudness and timbre descriptors - RMS, peak energy, zero-crossing rate, spectral centroid, flatness, crest, rolloff and kurtosis. Five window functions are provided so you can trade frequency resolution against spectral leakage.
That is everything you need for music-reactive visuals, rhythm games, procedural animation, adaptive mixing, or any system that should move in time with what the player is hearing.
AudioLens is part of the Alpha XP audio collection for Unreal Engine 4.27 and 5.8. Every feature is exposed to both Blueprints and C++, it ships with styled HTML documentation, and it follows one consistent API style across the collection. It is compiled and verified warning-free against clean UE 4.27 and UE 5.8 projects.
AudioLens reads audio through AudioForge, which must be installed alongside it.
Key Features
- FFT spectrum with real, imaginary, magnitude and subband output
- Five window functions: rectangular, Hanning, Hamming, Blackman and Tukey
- Onset detection: energy envelope, energy difference, spectral difference, half-wave rectified difference, complex spectral difference and high-frequency content
- Beat detection with kick, snare and hi-hat classification
- Time-domain features: RMS, peak energy, zero-crossing rate
- Frequency-domain features: spectral centroid, flatness, crest, rolloff and kurtosis
- Pull audio frames by current playback time, time range or frame range
- Configurable frame size, subband count and energy history
Blueprint & C++ API
The API is organised into these entry points:
| Class | Type | Nodes | Use it for |
|---|---|---|---|
| AudioLensLibrary | Function library | 30 | AudioLens analysis object. Main class simplifying the analysis of audio data. Optionally reads audio straight out of sound waves imported by AudioForge. |
| BeatDetection | Function library | 14 | Static nodes — callable from anywhere, no object needed. |
| OnsetDetection | Function library | 8 | Provides various functions to detect onset |
| WindowsLibrary | Function library | 6 | Library for creating windows functions of different types |
| CoreFrequencyDomainFeatures | Function library | 5 | Implementations of common frequency domain audio features |
| CoreTimeDomainFeatures | Function library | 3 | Implementations of common time domain audio features |
Callable runs when executed · Pure no exec pin, returns a value
Main 15
| Node | Type | Available on | Description |
|---|---|---|---|
| Create Audio Lens(Frame Size: Integer64, Window Type: Analysis Window Type) → Audio Lens Library | Callable | Static | Instantiates an Audio Analysis object |
| Process Audio Frames(Audio Frames: Array of Float, Process To Beat Detection: Boolean) | Callable | Object | |
| Get Audio By Current Time(Imported Sound Wave: Sound Wave) → Boolean, Audio Frames | Callable | Object | Get audio from imported sound wave by current playback time Gets the audio data starting from the current playback time of the sound wave with the size of FrameSize |
| Create Beat Detection(Display Name: PARAM(, Energy History Size: Integer64) → Beat Detection | Callable | Static | Instantiates a Beat Detection object |
| Process Magnitude(Magnitude Spectrum: Array of Float) | Callable | Object | |
| Is Beat(Subband: Integer64) → Boolean | Callable | Object | Calculate if there was beat in the processed magnitude spectrum |
| Is Kick() → Boolean | Callable | Object | Calculate if there was a kick beat in the processed magnitude spectrum |
| Is Snare() → Boolean | Callable | Object | Calculate if there was a snare drum beat in the processed magnitude spectrum |
| Is Hi Hat() → Boolean | Callable | Object | Calculate if there was a hit-hat beat in the processed magnitude spectrum |
| Is Beat Range(Low: Integer64, High: Integer64, Threshold: Integer64) → Boolean | Callable | Object | Calculate if there is a beat within the given sub-bands span |
| Get Band(Subband: Integer64) → Float | Callable | Object | Get the value of the specified sub-band |
| Get FFT Subbands() → Array of Float | Callable | Object | Get FFT Sub-bands values |
| Get FFT Average Energy() → Array of Float | Callable | Object | Get FFT Average Energy values |
| Get FFT Variance() → Array of Float | Callable | Object | Get FFT Variance values |
| Get FFT Beat Values() → Array of Float | Callable | Object | Get FFT Beat values |
Advanced 5
| Node | Type | Available on | Description |
|---|---|---|---|
| Get Audio By Frame Size(Imported Sound Wave: Sound Wave, Frame Size: Integer64) → Boolean, Audio Frames | Callable | Static | Get audio from imported sound wave by frame size Gets the audio data starting from the current playing time of the sound wave with the size of the AudioFrames e… |
| Get Audio By Frame Range(Imported Sound Wave: Sound Wave, Start Frame: Integer64, End Frame: Integer64) → Boolean, Audio Frames | Callable | Static | Get audio from imported sound wave by frame range (from StartFrame to EndFrame frames) |
| Get Audio By Time Length(Imported Sound Wave: Sound Wave, Time Length: Float) → Boolean, Audio Frames | Callable | Static | Get audio from imported sound wave by time length Gets the audio data starting from the current playing time of the sound wave with the size of the AudioFrames… |
| Get Audio By Time Range(Imported Sound Wave: Sound Wave, Start Time: Float, End Time: Float) → Boolean, Audio Frames | Callable | Static | Get audio from imported sound wave by time range (from StartTime to EndTime times) |
| Update Frame Size(Frame Size: Integer64) | Callable | Object | Update the frame size. The smaller the buffer size, the greater the performance, but less accuracy |
Analyzers › Advanced 3
| Node | Type | Available on | Description |
|---|---|---|---|
| Get Magnitude Spectrum() → Array of Float | Callable | Object | |
| Get FFT Real() → Array of Float | Callable | Object | |
| Get FFT Imaginary() → Array of Float | Callable | Object |
Analyzers › Beat Detection 6
| Node | Type | Available on | Description |
|---|---|---|---|
| Is Beat(Subband: Integer64) → Boolean | Callable | Object | Calculate if there was beat in the processed magnitude spectrum |
| Is Kick() → Boolean | Callable | Object | Calculate if there was a kick beat in the processed magnitude spectrum |
| Is Snare() → Boolean | Callable | Object | Calculate if there was a snare drum beat in the processed magnitude spectrum |
| Is Hi Hat() → Boolean | Callable | Object | Calculate if there was a hit-hat beat in the processed magnitude spectrum |
| Is Beat Range(Low: Integer64, High: Integer64, Threshold: Integer64) → Boolean | Callable | Object | Calculate if there is a beat within the given sub-bands span |
| Get Band(Subband: Integer64) → Float | Callable | Object | Get the value of the specified sub-band |
Analyzers › Core Time Domain Features 3
| Node | Type | Available on | Description |
|---|---|---|---|
| Get Root Mean Square() → Float | Callable | Object | Calculate the Root Mean Square (RMS) of an audio buffer in vector format |
| Get Peak Energy() → Float | Callable | Object | Calculate the peak energy (max absolute value) in a time domain audio signal buffer in vector format |
| Get Zero Crossing Rate() → Float | Callable | Object | Calculate the zero crossing rate of a time domain audio signal buffer |
Analyzers › Core Frequency Domain Features 5
| Node | Type | Available on | Description |
|---|---|---|---|
| Get Spectral Centroid() → Float | Callable | Object | Calculate the spectral centroid given the first half of the magnitude spectrum of an audio signal |
| Get Spectral Flatness() → Float | Callable | Object | Calculate the spectral flatness given the first half of the magnitude spectrum of an audio signal |
| Get Spectral Crest() → Float | Callable | Object | Calculate the spectral crest given the first half of the magnitude spectrum of an audio signal |
| Get Spectral Rolloff() → Float | Callable | Object | Calculate the spectral rolloff given the first half of the magnitude spectrum of an audio signal |
| Get Spectral Kurtosis() → Float | Callable | Object | Calculate the spectral kurtosis given the first half of the magnitude spectrum of an audio signal |
Analyzers › Onset Detection 5
| Node | Type | Available on | Description |
|---|---|---|---|
| Get Energy Difference() → Float | Callable | Object | Calculate the energy difference between the current and previous energy sum |
| Get Spectral Difference() → Float | Callable | Object | Calculate the spectral difference between the current and the previous magnitude spectrum |
| Get Spectral Difference HWR() → Float | Callable | Object | Calculate the half wave rectified spectral difference between the current and the previous magnitude spectrum |
| Get Complex Spectral Difference() → Float | Callable | Object | Calculate the complex spectral difference from the real and imaginary parts of the FFT |
| Get High Frequency Content() → Float | Callable | Object | Calculate the high frequency content onset detection function |
Window Library 6
| Node | Type | Available on | Description |
|---|---|---|---|
| Create Window By Type(Frame Size: Integer, Window Type: Analysis Window Type) → Array of Float | Callable | Static | Create a window with a specified type. It is used in spectral analysis |
| Create Hanning Window(Frame Size: Integer) → Array of Float | Callable | Static | Create a window with Hanning type. It is used in spectral analysis |
| Create Hamming Window(Frame Size: Integer) → Array of Float | Callable | Static | Create a window with Hamming type. It is used in spectral analysis |
| Create Blackman Window(Frame Size: Integer) → Array of Float | Callable | Static | Create a window with Blackman type. It is used in spectral analysis |
| Create Tukey Window(Frame Size: Integer, Cosine Fraction: Float) → Array of Float | Callable | Static | Create a window with Tukey type. It is used in spectral analysis |
| Create Rectangular Window(Frame Size: Integer) → Array of Float | Callable | Static | Create a window with Rectangular type. It is used in spectral analysis |
Update 2
| Node | Type | Available on | Description |
|---|---|---|---|
| Update FFT Subband Size(Display Name: PARAM() | Callable | Object | Update FFT sub-band size |
| Update Energy History Size(Energy History Size: Integer64) | Callable | Object | Update the size of the energy history storage |
Core Frequency Domain Features 5
| Node | Type | Available on | Description |
|---|---|---|---|
| Get Spectral Centroid(Magnitude Spectrum: Array of Float) → Float | Callable | Static | Calculate the spectral centroid given the first half of the magnitude spectrum of an audio signal. Do not pass the whole (i.e. |
| Get Spectral Flatness(Magnitude Spectrum: Array of Float) → Float | Callable | Static | Calculate the spectral flatness given the first half of the magnitude spectrum of an audio signal |
| Get Spectral Crest(Magnitude Spectrum: Array of Float) → Float | Callable | Static | Calculate the spectral crest given the first half of the magnitude spectrum of an audio signal |
| Get Spectral Rolloff(Magnitude Spectrum: Array of Float, Percentile: Float) → Float | Callable | Static | Calculate the spectral rolloff given the first half of the magnitude spectrum of an audio signal |
| Get Spectral Kurtosis(Magnitude Spectrum: Array of Float) → Float | Callable | Static | Calculate the spectral kurtosis given the first half of the magnitude spectrum of an audio signal |
Core Time Domain Features 3
| Node | Type | Available on | Description |
|---|---|---|---|
| Get Root Mean Square(Audio Frames: Array of Float) → Float | Callable | Static | Calculate the Root Mean Square (RMS) of an audio buffer in vector format |
| Get Peak Energy(Audio Frames: Array of Float) → Float | Callable | Static | Calculate the peak energy (max absolute value) in a time domain audio signal buffer in vector format |
| Get Zero Crossing Rate(Audio Frames: Array of Float) → Float | Callable | Static | Calculate the zero crossing rate of a time domain audio signal buffer |
Onset Detection 8
| Node | Type | Available on | Description |
|---|---|---|---|
| Create Onset Detection(Frame Size: Integer64) → Onset Detection | Callable | Static | Instantiates an Onset Detection object |
| Update Frame Size(Frame Size: Integer) | Callable | Object | Update the frame size |
| Get Energy Envelope(Audio Frames: Array of Float) → Float | Callable | Object | Calculate the energy envelope |
| Get Energy Difference(Audio Frames: Array of Float) → Float | Callable | Object | Calculate the energy difference between the current and previous energy sum |
| Get Spectral Difference(Magnitude Spectrum: Array of Float) → Float | Callable | Object | Calculate the spectral difference between the current and the previous magnitude spectrum |
| Get Spectral Difference HWR(Magnitude Spectrum: Array of Float) → Float | Callable | Object | Calculate the half wave rectified spectral difference between the current and the previous magnitude spectrum |
| Get Complex Spectral Difference(FFT Real: Array of Float, FFT Imaginary: Array of Float) → Float | Callable | Object | Calculate the complex spectral difference from the real and imaginary parts of the FFT |
| Get High Frequency Content(Magnitude Spectrum: Array of Float) → Float | Callable | Static | Calculate the high frequency content onset detection function from the magnitude spectrum |
Compatibility
One ready-made build per engine version is included in the download — copy the one that matches your project.
| Platform | Supported in |
|---|---|
| Windows | Editor & packaged |
| Module | Type | Loading phase |
|---|---|---|
| AudioLens | Runtime | PreDefault |
Technical details
| Engine versions | Unreal Engine 4.27 · 5.8 — a build for each is included |
|---|---|
| Code modules | 1 — AudioLens (Runtime) |
| C++ classes | 7 |
| Blueprints | 0 (pure C++ — no content assets) |
| Network replicated | No |
| Target platforms | Windows |
| Blueprint nodes | 66 |
| Documentation | Documentation.html (in the download) |
| Download | AudioLens.zip · 736 KB |
| Version | v1.0.0 |
What's in the download
| File | What it is |
|---|---|
| AudioLens 4.27.zip | Plugin build for Unreal Engine 4.27 |
| AudioLens 5.8.zip | Plugin build for Unreal Engine 5.8 |
| AudioLens_Diagram_1920x1080.png | Diagram / artwork |
| Documentation.html | Documentation (open in a browser) |
Quick start
- Unzip the download and pick the build that matches your engine (4.27 · 5.8).
- Copy the AudioLens folder into your project's Plugins/ folder (create it if needed).
- Open the project, enable AudioLens under Edit › Plugins and restart the editor.
- Right-click in any Blueprint graph and search Main — or include the public headers from C++.
- Package for your target platform (Windows).
Everything included
Real-time audio analysis: FFT spectrum, onset and beat detection, and a full set of time- and frequency-domain descriptors..
Platforms
In the download
Personal
One non-commercial project
- 1 activation seat
- 1 year of updates
- One end product
- Non-commercial use
- Community support
- 14-day refund window
Commercial
Ship paid products
- 5 activation seats
- 1 year of updates
- One paid end product
- Unlimited end users
- Priority support
- Source files
- 14-day refund window
Extended
Resell & white-label
- Unlimited activation seats
- Lifetime updates
- Unlimited end products
- White-label & resell
- 1-hour SLA
- Seat-free team use
- 14-day refund window
One purchase per product, no subscription. Each licence comes with a signed key — 1 seat on Personal, 5 seats on Commercial, unlimited seats on Extended. Paid licences can be refunded within 14 days from your order page.
- v1.0.0LatestUnrela engine 4.27- 5.8
Be the first to review AudioLens — reviews come from customers who bought it, so every one is a verified purchase.
Frequently asked
How do I get the files after paying?
Straight after checkout you land on your order page with the download button and your licence key. A receipt is emailed to you, and every order stays in My library.
Which licence do I need?
Personal — One non-commercial project. Commercial — Ship paid products. Extended — Resell & white-label. The Licences tab compares them side by side.
On how many devices can I activate it?
1 seat on Personal, 5 seats on Commercial, unlimited seats on Extended.
How long do I get updates?
Personal: 1 year of updates, Commercial: 1 year of updates, Extended: lifetime updates, counted from your purchase.
Can I get a refund?
Yes — paid licences can be refunded within 14 days, straight from your order page.
Is the download safe?
The file was scanned with ClamAV when it was published. Its SHA-256 checksum is listed under Features → In the download, so you can verify the file you receive.
Do I need an account?
No. Checkout only needs your email. Signing in keeps all your purchases, keys and downloads together in My library.
More like this
BlueprintTCP
BlueprintTCP lets you connect to any TCP server and exchange data entirely from Blueprints — no C++ and no networking boilerplate.
★★★★★ No reviews yetTTechHarbour$12.99BluetoothLink
Bluetooth Low Energy for Unreal - scan, connect, read, write and subscribe to BLE devices on Android and iOS.
★★★★★ No reviews yetTTechHarbour$11.99ClusterLink
SocketCluster realtime client for Unreal - pub/sub channels, auth engine and JSON codec, usable from Blueprints.
★★★★★ No reviews yetTTechHarbour$11.99ColyseusMP
Colyseus multiplayer SDK for Unreal - join rooms, sync state and exchange schema messages with your Colyseus server.
★★★★★ No reviews yetTTechHarbour$11.99