forked from Blendman974/faceclaw
Add symbolic math and graphing tools, dual-microphone audio processing, live captions, translation, speaker diarization, sentiment analysis, and searchable conversation history. Extend Android voice and BLE support for microphone control, recording, transcoding, and on-device speaker identification, with coverage for calculator and microphone workflows.
31 lines
926 B
TypeScript
31 lines
926 B
TypeScript
import { type AppDefinition } from "../app-definition";
|
|
import {
|
|
createMicrophonesAppWindow,
|
|
MICROPHONES_SURFACE_ID,
|
|
MICROPHONES_WINDOW_ID,
|
|
} from "./microphones-app";
|
|
import { micSession } from "./mic-session";
|
|
|
|
/**
|
|
* The Microphones app: per-mic control and levels, the Sonic Radar
|
|
* (direction-of-arrival + beam-filtered listening), and live captions with
|
|
* speaker recognition, translation, and tone analysis. Saved conversations
|
|
* are reviewed in the phone UI.
|
|
*/
|
|
const microphonesApp: AppDefinition = {
|
|
appId: "microphones",
|
|
title: "Microphones",
|
|
icon: "mic",
|
|
boot: () => {
|
|
// Prune expired captions/recordings per the retention settings.
|
|
void micSession.applyRetentionSweep();
|
|
},
|
|
launch: async (ctx) => {
|
|
await ctx.launchInProcessApp(MICROPHONES_WINDOW_ID, MICROPHONES_SURFACE_ID, (options) =>
|
|
createMicrophonesAppWindow(options),
|
|
);
|
|
},
|
|
};
|
|
|
|
export default microphonesApp;
|