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

Add audio output Peak meter. Simplify JSON file saving and loading. #66

Closed mitchmindtree closed 6 years ago

mitchmindtree commented 6 years ago

This adds a master audio output peak meter behind the master volume slider. Allows for more easily visualising the overall peak level to avoid causing distortion.

Refactors common JSON file saving patterns into a utils module.

Also adds a load_from_json function to the utils module which will be used to simplify some other state loading code.

Simplify json loading for GUI state using new utils module