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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(settings): clean up recording settings, tuck advanced audio away (#5279)
Harsh Kumar08d29c8d1f69
diff --git a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsxindex ca1d13980..3608e04b2 100644--- a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx+++ b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx@@ -29,16 +29,11 @@ export const searchIndex: SettingsField[] = [// conditional: rendered only when audio is enabled / engine selected.{ label: "Live meeting notes", keywords: ["captions", "meeting", "live"], conditional: true },{ label: "Append typed text to note", keywords: ["note", "append"], conditional: true },- { label: "Batch Transcription", keywords: ["batch", "chunks", "quality"], conditional: true },- { label: "Filter Music", keywords: ["music", "background music", "filter"], conditional: true },{ label: "Auto-select audio devices", keywords: ["devices", "bluetooth"], conditional: true },{ label: "Languages", keywords: ["transcript language", "language"], conditional: true },{ label: "Custom Vocabulary", keywords: ["vocabulary", "names", "jargon", "replacement"], conditional: true },- // conditional: platform/OS-gated (Windows-only / macOS CoreAudio tap).- { label: "Echo cancellation mode", keywords: ["echo", "aec", "voiceprocessingio", "wasapi"], conditional: true },- { label: "CoreAudio system audio capture", keywords: ["coreaudio", "system audio"], conditional: true },{ label: "Smart recording", keywords: ["smart recording", "beta", "meeting", "piggyback", "per-process", "meeting audio"], conditional: true },- { label: "Bluetooth microphones", keywords: ["bluetooth", "airpods", "headset", "a2dp", "sco", "meeting"], conditional: true },+ { label: "Always record bluetooth mic", keywords: ["bluetooth", "airpods", "headset", "a2dp", "sco", "meeting"], conditional: true },{ label: "Screen context capture", keywords: ["screen", "video", "accessibility"] },{ label: "Structured app context", keywords: ["semantic", "ai", "messages", "email", "tasks", "code"], conditional: true },{ label: "Use it for", keywords: ["memory", "computer use", "automation", "agent", "skills"], conditional: true },@@ -88,7 +83,6 @@ import {Globe,Shield,Zap,- Music,FileAudio,FileText,User,@@ -264,25 +258,6 @@ const getAecModeSettings = (mode: AecMode) => ({windowsInputAecEnabled: mode === "windows",});-const AEC_MODE_DETAILS: Record<AecMode, { label: string; description: string }> = {- off: {- label: "Off",- description: "Echo cancellation is disabled",- },- screenpipe: {- label: "Screenpipe software AEC",- description: "Uses software AEC3 to remove speaker bleed from microphone transcripts",- },- macos: {- label: "Apple VoiceProcessingIO",- description: "Uses Apple's microphone AEC on the default macOS input",- },- windows: {- label: "Windows WASAPI AEC",- description: "Uses Windows microphone AEC when the input endpoint supports it",- },-};-const getAudioEngineResolution = (settings: AudioEngineResolutionSettings): AudioEngineResolution => {@@ -2097,7 +2072,6 @@ export function RecordingSettings() {}, [settings, updateSettings, debouncedValidateSettings]);const aecMode = getAecMode(settings, isMacOS, isWindows);- const aecDetails = AEC_MODE_DETAILS[aecMode];const screenContextEnabled = !settings.disableVision;const screenshotImagesEnabled = screenContextEnabled && !(settings.disableScreenshots ?? false);@@ -3202,137 +3176,153 @@ Your screen is a pipe. Everything you see, hear, and type flows through it. Scre</div></div>)}- </CardContent>- </Card>- )}-- {/* Languages */}- {!settings.disableAudio && (- <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">- <Languages className="h-4 w-4 text-muted-foreground shrink-0" />- <div>- <h3 className="text-sm font-medium text-foreground">Languages</h3>- <p className="text-xs text-muted-foreground">{languageSupportDescription}</p>- </div>- </div>- <Popover open={openLanguages} onOpenChange={setOpenLanguages}>- <PopoverTrigger asChild>- <Button variant="outline" size="sm" className="h-7 text-xs">- {languageTriggerLabel}- <ChevronsUpDown className="ml-1 h-3 w-3 opacity-50" />- </Button>- </PopoverTrigger>- <PopoverContent className="w-[250px] p-0">- <Command>- <CommandInput placeholder="Search languages..." />- <CommandList>- <CommandEmpty>No languages found.</CommandEmpty>- <CommandGroup>- <CommandItem value="auto-detect" onSelect={() => handleLanguageChange(null)}>- <Check className={cn("mr-2 h-3 w-3", settings.languages.length === 0 ? "opacity-100" : "opacity-0")} />- <span className="text-xs">Auto-detect</span>- </CommandItem>- {supportedLanguageOptions.map((language) => (- <CommandItem key={language.code} value={language.code} onSelect={() => handleLanguageChange(language.code)}>- <Check className={cn("mr-2 h-3 w-3", settings.languages.includes(language.code) ? "opacity-100" : "opacity-0")} />- <span className="text-xs">{language.name}</span>- </CommandItem>- ))}- </CommandGroup>- </CommandList>- </Command>- </PopoverContent>- </Popover>- </div>- </CardContent>- </Card>- )}-- {/* Transcription Mode - hidden when transcription engine is disabled */}- {!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">- <Zap 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">- Batch Transcription- <HelpTooltip text="Groups audio into longer stretches (30s–5min) before transcribing. More context means more accurate transcripts and a better job telling speakers apart." />- </h3>- <p className="text-xs text-muted-foreground">Group audio into longer stretches for more accurate transcripts</p>+ {/* Languages — folded into the transcription engine card */}+ {!settings.disableAudio && settings.audioTranscriptionEngine !== "disabled" && (+ <div className="mt-2.5 pt-2.5 border-t border-border/50">+ <div className="flex items-center justify-between">+ <div className="flex items-center space-x-2">+ <Languages className="h-3.5 w-3.5 text-muted-foreground shrink-0" />+ <span className="text-xs text-muted-foreground">{languageSupportDescription}</span></div>+ <Popover open={openLanguages} onOpenChange={setOpenLanguages}>+ <PopoverTrigger asChild>+ <Button variant="outline" size="sm" className="h-7 text-xs">+ {languageTriggerLabel}+ <ChevronsUpDown className="ml-1 h-3 w-3 opacity-50" />+ </Button>+ </PopoverTrigger>+ <PopoverContent className="w-[250px] p-0">+ <Command>+ <CommandInput placeholder="Search languages..." />+ <CommandList>+ <CommandEmpty>No languages found.</CommandEmpty>+ <CommandGroup>+ <CommandItem value="auto-detect" onSelect={() => handleLanguageChange(null)}>+ <Check className={cn("mr-2 h-3 w-3", settings.languages.length === 0 ? "opacity-100" : "opacity-0")} />+ <span className="text-xs">Auto-detect</span>+ </CommandItem>+ {supportedLanguageOptions.map((language) => (+ <CommandItem key={language.code} value={language.code} onSelect={() => handleLanguageChange(language.code)}>+ <Check className={cn("mr-2 h-3 w-3", settings.languages.includes(language.code) ? "opacity-100" : "opacity-0")} />+ <span className="text-xs">{language.name}</span>+ </CommandItem>+ ))}+ </CommandGroup>+ </CommandList>+ </Command>+ </PopoverContent>+ </Popover></div>- <Switch- id="transcriptionMode"- checked={["smart", "batch"].includes(settings.transcriptionMode ?? "realtime")}- onCheckedChange={(checked) =>- handleSettingsChange({ transcriptionMode: checked ? "batch" : "realtime" }, true)- }- /></div>- {["smart", "batch"].includes(settings.transcriptionMode ?? "realtime") &&- settings.audioTranscriptionEngine === "openai-compatible" && (- <div className="mt-2.5 pt-2.5 border-t border-border/50">- <div className="flex items-center justify-between mb-1.5">- <span className="text-xs text-muted-foreground flex items-center gap-1.5">- Max batch duration- <HelpTooltip text="The most audio to group together before transcribing. Set 0 for automatic (~50min). Going higher needs a provider that accepts bigger uploads." />- </span>- <span className="text-xs font-mono text-foreground">- {(settings.batchMaxDurationSecs ?? 0) === 0- ? "auto"- : `${Math.floor((settings.batchMaxDurationSecs ?? 0) / 60)}min`}+ )}+ {/* Echo cancellation — inline toggle, auto-picks platform engine */}+ {!settings.disableAudio && (+ <div className="mt-2.5 pt-2.5 border-t border-border/50">+ <div className="flex items-center justify-between">+ <div className="flex items-center space-x-2">+ <Mic className="h-3.5 w-3.5 text-muted-foreground shrink-0" />+ <span className="text-xs text-muted-foreground flex items-center gap-1">+ Reduce echo in calls+ <HelpTooltip text="Reduces speaker audio leaking into microphone transcripts during calls. Auto-selects the best engine for your platform." /></span></div>- <Slider- value={[settings.batchMaxDurationSecs ?? 0]}- onValueChange={([value]) =>- handleSettingsChange({ batchMaxDurationSecs: value ?? 0 } as any, true)- }- min={0}- max={5400}- step={60}- className="w-full"+ <Switch+ id="aecToggle"+ checked={aecMode !== "off"}+ onCheckedChange={(checked) => {+ const mode: AecMode = checked+ ? (isMacOS ? "macos" : isWindows ? "windows" : "screenpipe")+ : "off";+ handleAecModeChange(mode);+ }}/>- <div className="flex justify-between text-[10px] text-muted-foreground mt-0.5">- <span>auto</span>- <span>90min</span>- </div></div>- )}- </CardContent>- </Card>+ </div>+ )}+ </CardContent>+ </Card>)}- {/* Filter Music - hidden when transcription engine is disabled */}- {!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="Skips audio that's mostly music (e.g. Spotify, YouTube) so it isn't transcribed. Cuts the gibberish background music tends to produce." />- </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)- }- />+ {/* Per-app audio exclusions — visible when the platform process tap is available */}+ {!settings.disableAudio && (isMacOS || isWindows) && processTapAvailable && (+ <Card className="border-border bg-card">+ <CardContent className="px-3 py-2.5 space-y-2">+ <div className="flex items-center space-x-2.5">+ <VolumeX className="h-4 w-4 text-muted-foreground shrink-0" />+ <div>+ <h3 className="text-sm font-medium text-foreground">+ Exclude apps from system audio+ </h3>+ <p className="text-xs text-muted-foreground">+ Audio from these apps will be filtered out of system-audio capture.+ {isWindows && " Windows supports one excluded app at a time."}+ </p></div>- </CardContent>- </Card>+ </div>+ <div+ className="flex flex-wrap gap-1.5 pl-6"+ onClick={() => setSelectedBundleId(null)}+ >+ {effectiveAudioExclusions.map((app) => (+ <Badge+ key={app.bundleId}+ variant={selectedBundleId === app.bundleId ? "default" : "secondary"}+ className="gap-1.5 pr-1 cursor-pointer"+ role="button"+ tabIndex={0}+ aria-pressed={selectedBundleId === app.bundleId}+ title={app.bundleId}+ onClick={(e) => {+ e.stopPropagation();+ setSelectedBundleId(+ selectedBundleId === app.bundleId ? null : app.bundleId+ );+ }}+ onKeyDown={(e) => {+ if (e.key === "Enter" || e.key === " ") {+ e.preventDefault();+ setSelectedBundleId(+ selectedBundleId === app.bundleId ? null : app.bundleId+ );+ }+ }}+ >+ {app.icon && (+ <img src={app.icon} alt="" className="h-4 w-4 rounded-sm" />+ )}+ <span className="text-xs">{app.name ?? app.bundleId}</span>+ <button+ type="button"+ className="inline-flex rounded-sm focus:outline-none focus:ring-1 focus:ring-ring"+ aria-label={`Remove ${app.name ?? app.bundleId} from audio exclusions`}+ onClick={(e) => {+ e.stopPropagation();+ removeAudioExclusion(app.bundleId);+ }}+ >+ <XCircle className="h-3 w-3" />+ </button>+ </Badge>+ ))}+ <Button+ variant="outline"+ size="sm"+ className="h-6 text-xs"+ onClick={(e) => {+ e.stopPropagation();+ pickAppToExclude();+ }}+ >+ + add app+ </Button>+ {effectiveAudioExclusions.length === 0 && (+ <span className="text-xs text-muted-foreground italic self-center">+ No apps excluded. All system audio is captured.+ </span>+ )}+ </div>+ </CardContent>+ </Card>)}{!settings.disableAudio && (@@ -3407,14 +3397,11 @@ Your screen is a pipe. Everything you see, hear, and type flows through it. ScrePick an audio transcription engine above, or choose a cloud/direct live provider.</p>)}- <div className="mt-2.5 pt-2.5 border-t border-border/50 flex items-center justify-between">- <div>- <h3 className="text-sm font-medium text-foreground flex items-center gap-1.5">- Append typed text to note- <HelpTooltip text="When the meeting stops, screenpipe appends what you typed (and the files you edited) during the meeting to the meeting note. Turn off to keep notes clean." />- </h3>- <p className="text-xs text-muted-foreground">Auto-add your typed text + edited files at the end of the note</p>- </div>+ <div className="mt-2 pt-2 border-t border-border/50 flex items-center justify-between">+ <span className="text-xs text-muted-foreground flex items-center gap-1.5">+ Append typed text + edited files to note+ <HelpTooltip text="When the meeting stops, screenpipe appends what you typed (and the files you edited) during the meeting to the meeting note. Turn off to keep notes clean." />+ </span><Switchid="appendTypedTextToMeetingNote"checked={settings.appendTypedTextToMeetingNote ?? true}@@ -3472,6 +3459,11 @@ Your screen is a pipe. Everything you see, hear, and type flows through it. Scre/></div></div>+ {settings.disableMeetingDetector && (+ <p className="mt-2 ml-[26px] text-xs text-muted-foreground">+ disabling this also stops live meeting notes, smart recording, and "during meetings only" capture mode.+ </p>+ )}</CardContent></Card>)}@@ -3483,6 +3475,41 @@ Your screen is a pipe. Everything you see, hear, and type flows through it. ScreonToggle={handleToggleIgnoredMeetingApp}/>+ {/* Smart recording — in the meetings section where it belongs */}+ {!settings.disableAudio && (isMacOS || isWindows) && processTapAvailable && (+ <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">+ <Mic 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">+ Smart recording+ <Badge variant="secondary" aria-label="beta" className="px-1.5 py-0 text-[10px] font-medium uppercase tracking-wide">+ beta+ </Badge>+ </h3>+ <p className="text-xs text-muted-foreground">+ during meetings, records your meeting's audio and whichever microphone you pick in the meeting app — taking precedence over your other audio settings. falls back to your configured capture automatically if unavailable.+ </p>+ {settings.disableMeetingDetector && (+ <p className="text-xs text-amber-600 dark:text-amber-500">+ requires automatic meeting detection — turn it back on above to use this.+ </p>+ )}+ </div>+ </div>+ <Switch+ id="experimentalMeetingPiggyback"+ checked={Boolean(settings.experimentalMeetingPiggyback ?? false)}+ disabled={Boolean(settings.disableMeetingDetector)}+ onCheckedChange={(checked) => handleSettingsChange({ experimentalMeetingPiggyback: checked }, true)}+ />+ </div>+ </CardContent>+ </Card>+ )}+{!settings.disableAudio && (<div className="flex items-center gap-2 px-1 pt-1.5"><span className="text-[11px] font-medium uppercase tracking-wider text-muted-foreground/70">devices & capture</span>@@ -3603,126 +3630,17 @@ Your screen is a pipe. Everything you see, hear, and type flows through it. Scre);})()}- {/* Echo cancellation */}- {!settings.disableAudio && (- <Card className="border-border bg-card">- <CardContent className="px-3 py-2.5">- <div className="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between">- <div className="flex items-center space-x-2.5">- <Mic className="h-4 w-4 text-muted-foreground shrink-0" />- <div className="min-w-0">- <div className="flex items-center space-x-1.5">- <h3 className="text-sm font-medium text-foreground">- Echo cancellation- </h3>- <HelpTooltip text="Reduces speaker audio leaking into microphone transcripts during calls and screen recordings." />- </div>- <p className="text-xs text-muted-foreground">- {aecDetails.description}- </p>- </div>- </div>- <Select value={aecMode} onValueChange={(value) => handleAecModeChange(value as AecMode)}>- <SelectTrigger id="aecMode" className="h-8 w-full text-xs sm:w-[300px]">- <SelectValue />- </SelectTrigger>- <SelectContent>- <SelectItem value="off">{AEC_MODE_DETAILS.off.label}</SelectItem>- <SelectItem value="screenpipe">{AEC_MODE_DETAILS.screenpipe.label}</SelectItem>- {isMacOS && (- <SelectItem value="macos">{AEC_MODE_DETAILS.macos.label}</SelectItem>- )}- {isWindows && (- <SelectItem value="windows">{AEC_MODE_DETAILS.windows.label}</SelectItem>- )}- </SelectContent>- </Select>- </div>- </CardContent>- </Card>- )}-- {/* CoreAudio System Audio (macOS 14.4+ only) */}- {!settings.disableAudio && isMacOS && processTapAvailable && (- <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">- <Monitor className="h-4 w-4 text-muted-foreground shrink-0" />- <div>- <h3 className="text-sm font-medium text-foreground">- CoreAudio system audio capture- </h3>- <p className="text-xs text-muted-foreground">- New system audio API on macOS 14.4+. May fix some capture issues. Restart recording after changing.- </p>- </div>- </div>- <Switch- id="experimentalCoreaudioSystemAudio"- checked={Boolean(settings.experimentalCoreaudioSystemAudio ?? false)}- onCheckedChange={(checked) => handleSettingsChange({ experimentalCoreaudioSystemAudio: checked }, true)}- />- </div>- </CardContent>- </Card>- )}-- {/* Smart recording (beta; internally "meeting piggyback"): during- meetings, capture only the meeting app's audio and the mic it- actually uses. Takes precedence over every other audio setting —- engages in ANY capture mode (continuous or meetings-only), not just- meetings-only. Uses CoreAudio Process Tap on macOS and WASAPI- process loopback on Windows. */}- {!settings.disableAudio && (isMacOS || isWindows) && processTapAvailable && (- <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">- <Mic 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">- Smart recording- <Badge variant="secondary" aria-label="beta" className="px-1.5 py-0 text-[10px] font-medium uppercase tracking-wide">- beta- </Badge>- </h3>- <p className="text-xs text-muted-foreground">- during meetings, records your meeting's audio and whichever microphone you pick in the meeting app — taking precedence over your other audio settings. falls back to your configured capture automatically if unavailable.- </p>- {settings.disableMeetingDetector && (- <p className="text-xs text-amber-600 dark:text-amber-500">- requires automatic meeting detection — turn it back on above to use this.- </p>- )}- </div>- </div>- <Switch- id="experimentalMeetingPiggyback"- checked={Boolean(settings.experimentalMeetingPiggyback ?? false)}- disabled={Boolean(settings.disableMeetingDetector)}- onCheckedChange={(checked) => handleSettingsChange({ experimentalMeetingPiggyback: checked }, true)}- />- </div>- </CardContent>- </Card>- )}-- {/* Bluetooth mic recording: opening a Bluetooth mic always degrades- the paired device's output audio quality (A2DP -> SCO, a macOS/OS- limitation — issue #3750). Off by default, Bluetooth mics are only- recorded during a detected meeting; this override records them- always, like any other mic. */}- {!settings.disableAudio && (+ {/* Bluetooth mic — only shown when a combo BT headset is detected */}+ {!settings.disableAudio && availableAudioDevices.some(d => d.isComboBluetoothMic) && (<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"><Bluetooth className="h-4 w-4 text-muted-foreground shrink-0" /><div>- <h3 className="text-sm font-medium text-foreground">Bluetooth microphones</h3>+ <h3 className="text-sm font-medium text-foreground">Always record bluetooth mic</h3><p className="text-xs text-muted-foreground">- connecting to a bluetooth mic degrades your headphones' audio quality, an OS limitation we can't avoid. by default we only record bluetooth mics while you're in a detected meeting.+ by default bluetooth mics are only recorded during meetings to avoid degrading headphone audio quality. turn on to record always.</p></div></div>@@ -3736,90 +3654,6 @@ Your screen is a pipe. Everything you see, hear, and type flows through it. Scre</Card>)}- {/* Per-app exclusion list for the platform process tap. On macOS it- follows the experimental global-tap flag; Windows switches to- Application Loopback when an exclusion is configured. */}- {!settings.disableAudio && processTapAvailable && ((isMacOS && settings.experimentalCoreaudioSystemAudio) || isWindows) && (- <Card className="border-border bg-card">- <CardContent className="px-3 py-2.5 space-y-2">- <div className="flex items-center space-x-2.5">- <VolumeX className="h-4 w-4 text-muted-foreground shrink-0" />- <div>- <h3 className="text-sm font-medium text-foreground">- Exclude apps from system audio- </h3>- <p className="text-xs text-muted-foreground">- Audio from these apps will be filtered out of system-audio capture.- {isWindows && " Windows supports one excluded app at a time."}- </p>- </div>- </div>- <div- className="flex flex-wrap gap-1.5 pl-6"- onClick={() => setSelectedBundleId(null)}- >- {effectiveAudioExclusions.map((app) => (- <Badge- key={app.bundleId}- variant={selectedBundleId === app.bundleId ? "default" : "secondary"}- className="gap-1.5 pr-1 cursor-pointer"- role="button"- tabIndex={0}- aria-pressed={selectedBundleId === app.bundleId}- title={app.bundleId}- onClick={(e) => {- e.stopPropagation();- setSelectedBundleId(- selectedBundleId === app.bundleId ? null : app.bundleId- );- }}- onKeyDown={(e) => {- if (e.key === "Enter" || e.key === " ") {- e.preventDefault();- setSelectedBundleId(- selectedBundleId === app.bundleId ? null : app.bundleId- );- }- }}- >- {app.icon && (- <img src={app.icon} alt="" className="h-4 w-4 rounded-sm" />- )}- <span className="text-xs">{app.name ?? app.bundleId}</span>- <button- type="button"- className="inline-flex rounded-sm focus:outline-none focus:ring-1 focus:ring-ring"- aria-label={`Remove ${app.name ?? app.bundleId} from audio exclusions`}- onClick={(e) => {- e.stopPropagation();- removeAudioExclusion(app.bundleId);- }}- >- <XCircle className="h-3 w-3" />- </button>- </Badge>- ))}- <Button- variant="outline"- size="sm"- className="h-6 text-xs"- onClick={(e) => {- e.stopPropagation();- pickAppToExclude();- }}- >- + add app- </Button>- {effectiveAudioExclusions.length === 0 && (- <span className="text-xs text-muted-foreground italic self-center">- No apps excluded. All system audio is captured.- </span>- )}- </div>- </CardContent>- </Card>- )}-{!settings.disableAudio && (<div className="flex items-center gap-2 px-1 pt-1.5"><span className="text-[11px] font-medium uppercase tracking-wider text-muted-foreground/70">voice & vocabulary</span>diff --git a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsxindex 44f3d24ac..b6a474a82 100644--- a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx+++ b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx@@ -253,7 +253,7 @@ export type Settings = SettingsStore & {useSystemDefaultAudio?: boolean;/** Enable AI workflow event detection (cloud, triggers event-based pipes) */enableWorkflowEvents?: boolean;- /** Audio transcription scheduling: "realtime" (default) or "batch" (longer chunks for quality) */+ /** Audio transcription scheduling: "batch" (default, longer chunks for quality) or "realtime". */transcriptionMode?: "realtime" | "smart" | "batch";/** Live notes for manually-started meetings. Separate from background 24/7 transcription. */meetingLiveTranscriptionEnabled?: boolean;@@ -743,7 +743,7 @@ let DEFAULT_SETTINGS: Settings = {cloudArchiveEnabled: false,cloudArchiveRetentionDays: 7,meetingSummaryPipeSlug: "meeting-summary",- filterMusic: false,+ filterMusic: true,ignoreIncognitoWindows: true,enhancedIncognitoDetection: false,pauseOnDrmContent: false,@@ -752,7 +752,7 @@ let DEFAULT_SETTINGS: Settings = {disableClickCapture: false,keepComputerAwake: false,showRestartNotifications: false,- experimentalCoreaudioSystemAudio: false,+ experimentalCoreaudioSystemAudio: true,experimentalMeetingPiggyback: false,alwaysRecordBluetoothMic: false,windowsInputAecEnabled: false,@@ -1037,6 +1037,23 @@ function createSettingsStore() {needsUpdate = true;}+ // One-time migration (V3 — supersedes V2): flip CoreAudio Process Tap+ // back ON. The VoiceProcessing AudioUnit issue from V2 is resolved;+ // toggle removed from UI, auto-enabled when available (#5236).+ if (!(settings as any).coreaudioTapMigrationV3) {+ settings.experimentalCoreaudioSystemAudio = true;+ (settings as any).coreaudioTapMigrationV3 = true;+ needsUpdate = true;+ }++ // One-time migration: default filterMusic to ON — transcribing music+ // as speech is noise, users can turn it off in advanced settings (#5236).+ if (!(settings as any).filterMusicDefaultedOn) {+ settings.filterMusic = true;+ (settings as any).filterMusicDefaultedOn = true;+ needsUpdate = true;+ }+if (settings.meetingLiveTranscriptionEnabled === undefined) {settings.meetingLiveTranscriptionEnabled = true;needsUpdate = true;