faster beat detection during gameplay

This commit is contained in:
Kevin Ngo
2018-10-13 17:01:39 -07:00
parent e4db54d5ec
commit ef94a8263e

View File

@@ -9,6 +9,7 @@
<a-entity
id="audioAnalyser"
bind__audioanalyser="beatDetectionThrottle: menu.active && 5000 || 1000"
audioanalyser="src: #introSong; fftSize: 64; enableBeatDetection: true; enableLevels: false; enableWaveform: false; beatDetectionThrottle: 5000; unique: true"
proxy-event="event: audioanalyserbeat; to: #logolight, #floor, #twister"></a-entity>