OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
lighting.music_reactive_lighting.MusicReactiveLighting Class Reference

Rate-limited bridge from music analysis to a lighting controller. More...

Public Member Functions

bool is_enabled (self)
 Return whether analyzer frames may control the lighting output.
 
bool is_connected (self)
 Return whether the underlying lighting controller is connected.
 
None set_enabled (self, bool enabled)
 Enable or disable music-reactive output.
 
tuple[Future[None],...] update (self, MusicAnalysisState analysis)
 Apply one analyzer frame when reactive control is enabled.
 
None reset (self)
 Forget rate-limit and last-output state.
 

Detailed Description

Rate-limited bridge from music analysis to a lighting controller.


The documentation for this class was generated from the following file: