Skip to content

Comments

Use switching channel for Program Speed / Sound Sensitivity#5372

Merged
FloEdelmann merged 2 commits intobranch2025-12-01T16-29-08from
copilot/sub-pr-5261
Jan 28, 2026
Merged

Use switching channel for Program Speed / Sound Sensitivity#5372
FloEdelmann merged 2 commits intobranch2025-12-01T16-29-08from
copilot/sub-pr-5261

Conversation

Copy link
Contributor

Copilot AI commented Jan 28, 2026

The "Program Speed / Sound Sensitivity" channel serves dual purposes depending on the selected program mode, but was defined as a single channel with ambiguous behavior.

Changes

  • Split into two distinct channels: Program Speed (EffectSpeed) and Sound Sensitivity (SoundSensitivity)
  • Add switching logic: Programs channel now switches between these channels based on DMX value
    • DMX 0-233 (regular programs) → Program Speed
    • DMX 234-255 (sound-active) → Sound Sensitivity
  • Add defaultValue: Programs channel defaults to 0 (required for switching channels)

This follows the pattern established in fixtures like event-lighting/par12x12.json.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: FloEdelmann <202916+FloEdelmann@users.noreply.github.com>
Copilot AI changed the title [WIP] Add fixture american-dj/ultra-hex-bar-12 Use switching channel for Program Speed / Sound Sensitivity Jan 28, 2026
Copilot AI requested a review from FloEdelmann January 28, 2026 14:29
@FloEdelmann FloEdelmann marked this pull request as ready for review January 28, 2026 14:30
@FloEdelmann FloEdelmann merged commit 50d8d12 into branch2025-12-01T16-29-08 Jan 28, 2026
@FloEdelmann FloEdelmann deleted the copilot/sub-pr-5261 branch January 28, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants