Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

feat: add filter music toggle to recording settings UI

Louis Beaumont846039b63a10
diff --git a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
index dadb12818..6a07a536e 100644
--- a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
@@ -41,6 +41,7 @@ import {
Globe,
Shield,
Zap,
+ Music,
User,
Users,
ChevronUp,
@@ -1635,6 +1636,34 @@ Your screen is a pipe. Everything you see, hear, and type flows through it. Scre
</Card>
)}
+ {/* Filter Music */}
+ {!settings.disableAudio &&
+ settings.audioTranscriptionEngine !== "disabled" && (
+ <Card className="border-border bg-card">
+ <CardContent className="px-3 py-2.5">
+ <div className="flex items-center justify-between">
+ <div className="flex items-center space-x-2.5">
+ <Music className="h-4 w-4 text-muted-foreground shrink-0" />
+ <div>
+ <h3 className="text-sm font-medium text-foreground flex items-center gap-1.5">
+ Filter music
+ <HelpTooltip text="Detect and filter out music-dominant audio (e.g. Spotify, YouTube) before transcription using spectral analysis. Reduces garbage transcriptions from background music." />
+ </h3>
+ <p className="text-xs text-muted-foreground">Remove background music from transcriptions</p>
+ </div>
+ </div>
+ <Switch
+ id="filterMusic"
+ checked={settings.filterMusic ?? false}
+ onCheckedChange={(checked) =>
+ handleSettingsChange({ filterMusic: checked }, true)
+ }
+ />
+ </div>
+ </CardContent>
+ </Card>
+ )}
+
{/* System Default Audio */}
{!settings.disableAudio && (
<Card className="border-border bg-card">