getpatter 0.6.1 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -262,6 +262,19 @@ var SileroVAD = class _SileroVAD {
262
262
  static forPhoneCall(options = {}) {
263
263
  return _SileroVAD.load({
264
264
  sampleRate: 16e3,
265
+ // Telephony bumps the activation threshold from the upstream
266
+ // 0.5 → 0.8 (with deactivation 0.65) so background voices and
267
+ // low-volume audio in the caller's room don't trip barge-in.
268
+ // Near-mic speech typically scores 0.85-0.98 on Silero — above
269
+ // 0.8 — while a distant second speaker through a phone's noise-
270
+ // suppression pipeline lands around 0.4-0.6 and is now correctly
271
+ // ignored. Bumped twice during 2026-05-20 acceptance: first 0.5
272
+ // → 0.7 (still triggered on quiet voices), then 0.7 → 0.8.
273
+ // Trade-off: a whispered legitimate input may not trigger;
274
+ // typical phone-call speakers are unaffected. Pass an explicit
275
+ // ``activationThreshold`` to override per call site.
276
+ activationThreshold: 0.8,
277
+ deactivationThreshold: 0.65,
265
278
  ...options
266
279
  });
267
280
  }