3D Spectrogram - Procedural GPU

Practical

(0)
$19
Publisher Practical
File size 6.37MB
Number of files 13
Latest version 1
Latest release date 2023-05-08 03:55:12
First release date 2023-05-08 03:55:12
Supported Unity versions 2018.4.2 or higher

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

  1. Import the Spectrogram GPU Shader package into your project.
  2. Create an empty GameObject in your scene and attach an AudioSource component to it.
  3. Create a new Material and set its Shader to Custom/SpectrogramGPU.
  4. Inherit from SpectrumDataProvider, or use the SimpleAudioAnalyzer script to point to your AudioSource.
  5. Add the SpectrogramGPU script to an empty game object.
  6. Point to the SpectrumDataProvider.
  7. 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.
  8. 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

Top Publisher Assets