Skip to content

Class AudityBeats

Main-thread beat/bar callbacks derived from the transport table - pure anchor math on DarkEffekt.Audity.AudityGlobal.NowDspSample(), no audio-thread traffic (a transport is derived, never accumulated). Events fire on the frame after the boundary passes (frame-rate granularity, up to one frame late) for every active transport; filter by DarkEffekt.Audity.AudityBeatEvent.transportKey. After a frame hitch only the newest beat fires - gaps show as jumps in DarkEffekt.Audity.AudityBeatEvent.beatIndex.

Declaration
public static class AudityBeats

Fires once per crossed beat boundary, per transport.

Declaration
public static event Action<AudityBeatEvent> Beat

System.Action<DarkEffekt.Audity.AudityBeatEvent>

Fires once per crossed bar boundary, per transport.

Declaration
public static event Action<AudityBeatEvent> Bar

System.Action<DarkEffekt.Audity.AudityBeatEvent>