Add audio-visual clap calibration detector

This commit is contained in:
Meta Vens 2026-05-18 22:29:23 +01:00
commit 4efec1d4af
6 changed files with 492 additions and 0 deletions

View file

@ -39,12 +39,28 @@ from .surface_features import (
)
from .audio_overlay import AudioVisualSyncStatus, overlay_audio_events
from .media_artifacts import RemoteVideoArtifact, remote_video_artifact_for_present_time
from .clap_calibration import (
AudioTransientCandidate,
CameraMotionPeak,
ClapCalibrationEvent,
ClapDetectorConfig,
TimestampedFrame,
detect_audio_transients,
detect_camera_motion_peaks,
detect_clap_events,
)
from .cultcache_docs import (
CLAP_EVENTS_KEY,
LIVE_RENDER_FRAME_KEY,
CultClapEvent,
CultClapEventsFrame,
CultRenderFrame,
CultRenderPoint,
CultStreamStatus,
get_live_clap_events,
get_live_render_frame,
make_clap_events_frame,
put_live_clap_events,
put_live_render_frame,
)
from .spout_output import ScreenBrushPacket, SpoutOutputConfig, frame_to_vertex_array, lower_frame_to_screen_brushes
@ -75,8 +91,16 @@ __all__ = [
"SurfaceFeatureObservation",
"SurfaceFeatureTrack",
"AudioVisualSyncStatus",
"AudioTransientCandidate",
"CameraMotionPeak",
"ClapCalibrationEvent",
"ClapDetectorConfig",
"TimestampedFrame",
"RemoteVideoArtifact",
"CLAP_EVENTS_KEY",
"LIVE_RENDER_FRAME_KEY",
"CultClapEvent",
"CultClapEventsFrame",
"CultRenderFrame",
"CultRenderPoint",
"CultStreamStatus",
@ -84,6 +108,8 @@ __all__ = [
"SpoutOutputConfig",
"frame_to_vertex_array",
"get_live_render_frame",
"get_live_clap_events",
"make_clap_events_frame",
"lower_frame_to_screen_brushes",
"lower_points_to_render_frame",
"dense_stereo_points",
@ -92,7 +118,11 @@ __all__ = [
"measure_frame_quality",
"orb_surface_observations",
"overlay_audio_events",
"detect_audio_transients",
"detect_camera_motion_peaks",
"detect_clap_events",
"remote_video_artifact_for_present_time",
"put_live_clap_events",
"put_live_render_frame",
"solve_camera_pose_from_fixed_board",
"solve_common_space_from_fixed_board",