Story: Param Bindings to Sensors #18

Closed
opened 2026-03-18 06:27:09 +00:00 by david · 1 comment
Owner

As a user
I want effect parameters to bind to sensors
So that effects react to real-time input

Acceptance Criteria:

  • Effects declare param_bindings dict
  • Transform functions: linear, exponential, threshold
  • Glitch effect binds to mic sensor

Example:

class GlitchEffect(EffectPlugin):
    param_bindings = {
        "intensity": {"sensor": "mic", "transform": "linear"},
    }

Technical Tasks:

  • Add param_bindings to EffectPlugin
  • Create transform functions in SensorStage
  • Update GlitchEffect, NoiseEffect with bindings
**As a** user **I want** effect parameters to bind to sensors **So that** effects react to real-time input **Acceptance Criteria:** - [ ] Effects declare param_bindings dict - [ ] Transform functions: linear, exponential, threshold - [ ] Glitch effect binds to mic sensor **Example:** ```python class GlitchEffect(EffectPlugin): param_bindings = { "intensity": {"sensor": "mic", "transform": "linear"}, } ``` --- **Technical Tasks:** - Add param_bindings to EffectPlugin - Create transform functions in SensorStage - Update GlitchEffect, NoiseEffect with bindings
Author
Owner
**ADR:** [ADR-005: Sensor Framework](https://git.notsosm.art/david/Mainline.wiki/ADR-005-Sensor-Framework)
david added this to the Mainline project 2026-03-18 07:12:13 +00:00
david added the status:feature-complete label 2026-03-18 07:15:17 +00:00
david added the status:tested label 2026-03-18 07:49:07 +00:00
david added the epic:#6 label 2026-03-18 07:56:00 +00:00
david added the epic:Effects label 2026-03-18 07:59:26 +00:00
david closed this issue 2026-03-18 22:03:23 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: klubhaus/sideline#18