__init__.py 939 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # -*- coding: utf-8 -*-
  2. """
  3. Wakeword Detection Module.
  4. Basiert auf OpenWakeWord für lokale Wakeword-Erkennung auf Satellites und Standalone.
  5. """
  6. from trixy_core.wakeword.detector import (
  7. WakewordDetector,
  8. WakewordDetection,
  9. DetectorConfig,
  10. )
  11. from trixy_core.wakeword.audio_buffer import (
  12. AudioBuffer,
  13. AudioChunk,
  14. BufferConfig,
  15. )
  16. from trixy_core.wakeword.vad import (
  17. VoiceActivityDetector,
  18. VADConfig,
  19. VADState,
  20. SpeechSegment,
  21. )
  22. from trixy_core.wakeword.service import (
  23. WakewordService,
  24. WakewordServiceConfig,
  25. ServiceState,
  26. )
  27. __all__ = [
  28. # Detector
  29. "WakewordDetector",
  30. "WakewordDetection",
  31. "DetectorConfig",
  32. # Audio Buffer
  33. "AudioBuffer",
  34. "AudioChunk",
  35. "BufferConfig",
  36. # VAD
  37. "VoiceActivityDetector",
  38. "VADConfig",
  39. "VADState",
  40. "SpeechSegment",
  41. # Service
  42. "WakewordService",
  43. "WakewordServiceConfig",
  44. "ServiceState",
  45. ]