branchrust_reboot/main/BeatDetectioncancel

17 Commits over 0 Days - ∞cph!

3 Years Ago
Reduce AudioVisualisationEntity samples to 128, improve performance
3 Years Ago
Final edit
3 Years Ago
Adjusting everything
3 Years Ago
More beat detection work. Go back from using RMS, as the basic average provides better variation
3 Years Ago
Sound light work
3 Years Ago
Sound light work
3 Years Ago
Balancing volume response, set up laser light
3 Years Ago
Handle fake input nicely with the new setup
3 Years Ago
Use both audio channels for audio vis so that player turning around doesn't affect beat detection
3 Years Ago
Roughly keep track of peak audio level to better handle differing volume between stations, or Unity's thing of including the volume level falloff from distance in the data
3 Years Ago
Get the discofloor looking good with the updated audio input
3 Years Ago
Put GetFakeInput back, we actually do use it!
3 Years Ago
Select the best audio sample size to roughly cover the last frame (within reasonable limits)
3 Years Ago
Since we only care about the overall volume, use GetOutputData instead of GetSpectrumData. No more need for an FFT.
3 Years Ago
Cleanup
3 Years Ago
Removed unnecessary brackets
3 Years Ago
Now getting an RMS value from each call to GetSpectrumData by taking the square root of the squares of each value, although no one is completely sure what exactly GetSpectrumData returns for each frequency band. Removed GetFakeInput since it was unused.