View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 2020.3.45 or later
- Package size
- 6.4 MB
- Files
- 13
- Favorites
- 4
- Views in the past week
- 2
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $10.00 on
Keywords
3D Spectrogram - Procedural GPU
A highly optimized 3D Spectrogram that uses the GPU to draw the effect via shaders. It can be used for frequency analysis with any band normalized float array.
Price $20.00
Buy on Asset Store (opens in new tab)
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 2
3D Spectrogram - Procedural GPU screenshot 1
About this asset
Features
- Real-time audio spectrum visualization
- Customizable grid size
- Adjustable contrast
- Configurable outline width and color
- Option to reverse colors
- Simple data interface for any float array. (Remember: you must normalize the data into frequency bands across the array)
Requirements
Unity 2019.4 or later
Usage
- Import the Spectrogram GPU Shader package into your project.
- Create an empty GameObject in your scene and attach an AudioSource component to it.
- Create a new Material and set its Shader to Custom/SpectrogramGPU.
- Inherit from SpectrumDataProvider, or use the SimpleAudioAnalyzer script to point to your AudioSource.
- Add the SpectrogramGPU script to an empty game object.
- Point to the SpectrumDataProvider.
- Attach a gradient to the script and select a time depth (the number of frames to keep). Be sure to set your material to clamping, repeat will have undesired effects.
- Hit play and have fun adjusting values on the script and lighting in your scene!
Support
https://practicalvr.com
https://discord.practicalvr.com for questions/support
From the publisher's Asset Store listing.
Technical details
This shader uses the script to create a generated mesh, then applies a shader that applies coloring via a gradient texture.
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 2020.3.45f1 | Compatible | Not listed | Not listed |
As listed on the Asset Store.