Skip to content

robksawyer/Unity-Live-Input-FFT-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Unity 3D Live Input FFT Analysis

The goal of this script is to handle live audio input analysis as most efficiently as possible within Unity.

The inspiration and most of the base code hails from the Unity answers forum post Real time Microphone (line input) FFT analysis.

Notes on the current code

The current code is not currently working as live input. It can process input at about 50 milliseconds with a bit of a stutter every time the buffer switches. However, in this case the audio only needs to be analyzed, not actually heard, but it does seem to choke in that moment.

If you're looking for non-realtime audio analysis (e.g. running audio analysis on saved audio files that are playing back), this script works well with very little latency.

About

The goal of this script is to handle live audio input analysis as most efficiently as possible within Unity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages