museumsvictoria / spatial_audio_server

An audio backend for the multi-layered soundscape of Beyond Perception: Seeing the Unseen, a permanent exhibition at Scienceworks in Melbourne, Australia.
81 stars 14 forks source link

Improve performance of Soundscape Generation and Audio Output threads. #123

Closed mitchmindtree closed 6 years ago

mitchmindtree commented 6 years ago

This optimises away a couple of performance bottlenecks that were showing up when profiling on these two threads. The primary improvement is the FFT optimisation on the audio output thread - rather than processing each individual speaker output, the FFT is now performed once per installation.