Lixie-Labs / Emotiscope

Let your eyes enjoy the music too ✨ Extremely low-latency audio processing lets LEDs perfectly synchronize to your music's notation and tempo.
GNU General Public License v3.0
27 stars 5 forks source link

Add runtime "Debug Mode" #85

Open connornishijima opened 2 months ago

connornishijima commented 2 months ago

Users can wirelessly toggle it from the Top Menu, it persists through reboots, it turns on the profiler, sends the FPS/Heap/Function timings to the web app, and can enable extra sliders and toggles that developers may like. Debug Mode enables a new Terminal option in the menu, which lets you see the history of websockets commands that Emotiscope and Remotiscope are sending to each other. Another page gives back the profiler data about how many microseconds each tracked function is taking. When Debug Mode is active, the browser console could show more verbose JS output.

Currently the CPU/GPU FPS is shown in the Top Menu, but with Debug Mode on, it would constantly occupy a bottom strip of the app across all views, only making the UI slightly shorter.