mirror of
https://github.com/smittix/intercept.git
synced 2026-07-11 19:18:13 -07:00
Add real-time squelch control and clean up diagnostic logging
- Add updateAirbandSquelch() to restart audio when squelch slider changes - Remove verbose diagnostic logging from audio streaming - Remove tee diagnostic for raw rtl_fm output - Keep error logging for troubleshooting - Simplify audio stream generator Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -257,7 +257,7 @@
|
||||
</select>
|
||||
<div class="airband-sliders">
|
||||
<span title="Squelch">SQ</span>
|
||||
<input type="range" id="airbandSquelch" min="0" max="100" value="20" class="airband-controls" title="Squelch">
|
||||
<input type="range" id="airbandSquelch" min="0" max="100" value="20" class="airband-controls" title="Squelch" onchange="updateAirbandSquelch()">
|
||||
<span title="Volume">VOL</span>
|
||||
<input type="range" id="airbandVolume" min="0" max="100" value="80" class="airband-controls" oninput="updateAirbandVolume()" title="Volume">
|
||||
</div>
|
||||
@@ -3221,6 +3221,14 @@ sudo make install</code>
|
||||
}
|
||||
}
|
||||
|
||||
function updateAirbandSquelch() {
|
||||
// If airband is playing, restart with new squelch value
|
||||
if (isAirbandPlaying) {
|
||||
stopAirband();
|
||||
setTimeout(() => startAirband(), 300);
|
||||
}
|
||||
}
|
||||
|
||||
// Initialize airband on page load
|
||||
document.addEventListener('DOMContentLoaded', initAirband);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user