Upgrade to Pro — share decks privately, control downloads, hide ads and more …

最近コード読んでる?

Avatar for lvncer lvncer
November 05, 2025
6

 最近コード読んでる?

2025/11/04 学校座談会 突発LT枠で発表したスライド

Avatar for lvncer

lvncer

November 05, 2025
Tweet

Transcript

  1. export type AudioChatStatus = "idle" | "listening" | "processing" |

    "speaking" | "error"; export class AudioChatOrchestrator { private config: AudioChatConfig; private callbacks: AudioChatCallbacks; private status: AudioChatStatus = "idle"; private isActive = false; constructor( private audioInput: AudioInputService, private speechRecognition: SpeechRecognitionService, private speechSynthesis: IntegratedSpeechService, private animationController: AnimationController, config: AudioChatConfig, callbacks: AudioChatCallbacks = {}, ) { this.config = config; this.callbacks = callbacks; this.setupEventHandlers(); this.updateServiceConfigs(); }