知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.
Swift androidlinuxlive-captionsmacosmeeting-notesmenubar-appsimultaneous-interpretationspeech-recognitionsubtitlesswiftswiftuitranslationwindows
fix: with the meeting on the speakers, the talk key no longer sends the other side's own words back into the meeting
wquguru5e2e955b7e77
diff --git a/Sources/Cicada/SpeakEngine.swift b/Sources/Cicada/SpeakEngine.swiftindex bfdafd6..5a8c09c 100644--- a/Sources/Cicada/SpeakEngine.swift+++ b/Sources/Cicada/SpeakEngine.swift@@ -106,8 +106,11 @@ final class SpeakEngine {/// The mic with echo cancellation, shared with 电脑和会议室's room (`VoiceMic`): used when/// `echoCancel` is on, or whenever the room already has it running.private let voiceMic: VoiceMic- /// Debug (`speakVP:on`) until a person has checked it with a real voice; off: the plain mic.- var echoCancel = false {+ /// On by default (`speakVP:off` for the plain mic). With the meeting on the speakers and the+ /// plain mic, Ming took the meeting's own English for what I said and sent it back into the+ /// meeting, every press, even one nobody spoke in; through the unit my sentences came through+ /// whole (an ESP32 speaker 10 cm from the mic as me, the MacBook's speakers at 56 %).+ var echoCancel = true {didSet {if echoCancel, let d = echoInput { voiceMic.prepare(input: d) } else if !echoCancel, !voiceMic.inUse { voiceMic.release() }}