Repeater port priority#750
Draft
MarkRose wants to merge 4 commits into
Draft
Conversation
Add configurable audio handling modes for links when multiple sources are active simultaneously (pile-up scenarios): - FIRST (default): First source to transmit wins, others ignored until late rejoin. This is the existing behavior. - MIX: Mix all active sources together so users hear all traffic from all linked logics simultaneously. Configuration: Add AUDIO_MODE=FIRST|MIX to link sections. Example: [LinkToR4] CONNECT_LOGICS=RepeaterLogic:94:SK3AB,SimplexLogic AUDIO_MODE=MIX Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add DUCK mode to AUDIO_MODE which reduces incoming link audio when the local squelch is open. This allows local traffic to be heard at full volume while remote traffic is ducked (reduced) but still audible. - Add squelchStateChanged signal to LogicBase for squelch state tracking - Add AudioAmp between valve and mixer for dynamic gain control - Add DUCK_LEVEL_DB config option (default -12 dB) - DUCK mode takes precedence over MIX when multiple links are active Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add PRIORITY mode to AUDIO_MODE which preempts (mutes) non-PRIORITY link traffic when a PRIORITY source is transmitting. This is useful for emergency broadcast systems where critical traffic must take precedence over normal traffic. - AUDIO_MODE=PRIORITY marks a link as priority traffic - Non-priority sources muted to PRIORITY_MUTE_DB (default -60dB) - Tracks squelch state in LogicInfo for priority detection - Handles DUCK interaction: restores to ducked level, not full volume Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add configurable hangtime for PRIORITY mode links. After a PRIORITY source stops transmitting, non-priority sources remain muted for the configured duration before being restored. This prevents brief interruptions from non-priority traffic between priority transmissions. Configuration: PRIORITY_HANGTIME=<milliseconds> (default: 0 = disabled) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
f943e47 to
1e70a46
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This attempts to implement #732 by adding the following features:
This has been implemented without testing at this point, so I've marked this as a draft PR. It compiles.