This commit is contained in:
dingfeng.wong
2025-07-22 23:21:01 +08:00
parent a1f1a1eb79
commit 8922879b7d
+125
View File
@@ -46,3 +46,128 @@ NoneType: None
2025-07-22 22:15:41.047 - RealTimeSTT: realtimestt - DEBUG - Terminating reader process
2025-07-22 22:15:41.781 - RealTimeSTT: realtimestt - DEBUG - Terminating transcription process
2025-07-22 22:15:41.781 - RealTimeSTT: realtimestt - DEBUG - Finishing realtime thread
2025-07-22 22:21:51.296 - RealTimeSTT: realtimestt - INFO - Starting RealTimeSTT
2025-07-22 22:21:51.305 - RealTimeSTT: realtimestt - INFO - Initializing audio recording (creating pyAudio input stream, sample rate: 16000 buffer size: 512
2025-07-22 22:21:51.310 - RealTimeSTT: realtimestt - INFO - Initializing faster_whisper realtime transcription model tiny, default device: cpu, compute type: default, device index: 0, download root: None
2025-07-22 22:21:52.462 - RealTimeSTT: realtimestt - DEBUG - Faster_whisper realtime speech to text transcription model initialized successfully
2025-07-22 22:21:52.463 - RealTimeSTT: realtimestt - ERROR - Error initializing porcupine wake word detection engine: dlopen(/Users/wongdingfeng/.local/share/uv/tools/tooling/lib/python3.11/site-packages/pvporcupine/lib/mac/x86_64/libpv_porcupine.dylib, 0x0006): tried: '/Users/wongdingfeng/.local/share/uv/tools/tooling/lib/python3.11/site-packages/pvporcupine/lib/mac/x86_64/libpv_porcupine.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/wongdingfeng/.local/share/uv/tools/tooling/lib/python3.11/site-packages/pvporcupine/lib/mac/x86_64/libpv_porcupine.dylib' (no such file), '/Users/wongdingfeng/.local/share/uv/tools/tooling/lib/python3.11/site-packages/pvporcupine/lib/mac/x86_64/libpv_porcupine.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')). Wakewords: ['jarvis'].
Traceback (most recent call last):
File "/Users/wongdingfeng/.local/share/uv/tools/tooling/lib/python3.11/site-packages/RealtimeSTT/audio_recorder.py", line 837, in __init__
self.porcupine = pvporcupine.create(
^^^^^^^^^^^^^^^^^^^
File "/Users/wongdingfeng/.local/share/uv/tools/tooling/lib/python3.11/site-packages/pvporcupine/__init__.py", line 64, in create
return Porcupine(
^^^^^^^^^^
File "/Users/wongdingfeng/.local/share/uv/tools/tooling/lib/python3.11/site-packages/pvporcupine/porcupine.py", line 60, in __init__
library = cdll.LoadLibrary(library_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ctypes/__init__.py", line 454, in LoadLibrary
return self._dlltype(name)
^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ctypes/__init__.py", line 376, in __init__
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: dlopen(/Users/wongdingfeng/.local/share/uv/tools/tooling/lib/python3.11/site-packages/pvporcupine/lib/mac/x86_64/libpv_porcupine.dylib, 0x0006): tried: '/Users/wongdingfeng/.local/share/uv/tools/tooling/lib/python3.11/site-packages/pvporcupine/lib/mac/x86_64/libpv_porcupine.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/wongdingfeng/.local/share/uv/tools/tooling/lib/python3.11/site-packages/pvporcupine/lib/mac/x86_64/libpv_porcupine.dylib' (no such file), '/Users/wongdingfeng/.local/share/uv/tools/tooling/lib/python3.11/site-packages/pvporcupine/lib/mac/x86_64/libpv_porcupine.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))
2025-07-22 22:24:38.316 - RealTimeSTT: realtimestt - INFO - Starting RealTimeSTT
2025-07-22 22:24:38.323 - RealTimeSTT: realtimestt - INFO - Initializing audio recording (creating pyAudio input stream, sample rate: 16000 buffer size: 512
2025-07-22 22:24:38.327 - RealTimeSTT: realtimestt - INFO - Initializing faster_whisper realtime transcription model tiny, default device: cpu, compute type: default, device index: 0, download root: None
2025-07-22 22:24:38.852 - RealTimeSTT: realtimestt - DEBUG - Faster_whisper realtime speech to text transcription model initialized successfully
2025-07-22 22:24:53.300 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: alexa
2025-07-22 22:24:53.301 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: hey_mycroft
2025-07-22 22:24:53.301 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: hey_jarvis
2025-07-22 22:24:53.301 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: hey_rhasspy
2025-07-22 22:24:53.301 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: timer
2025-07-22 22:24:53.301 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: weather
2025-07-22 22:24:53.301 - RealTimeSTT: realtimestt - DEBUG - Open wake word detection engine initialized successfully
2025-07-22 22:24:53.301 - RealTimeSTT: realtimestt - INFO - Initializing WebRTC voice with Sensitivity 3
2025-07-22 22:24:53.301 - RealTimeSTT: realtimestt - DEBUG - WebRTC VAD voice activity detection engine initialized successfully
2025-07-22 22:24:53.835 - RealTimeSTT: realtimestt - DEBUG - Silero VAD voice activity detection engine initialized successfully
2025-07-22 22:24:53.835 - RealTimeSTT: realtimestt - DEBUG - Starting realtime worker
2025-07-22 22:24:53.835 - RealTimeSTT: realtimestt - DEBUG - Waiting for main transcription model to start
2025-07-22 22:24:53.835 - RealTimeSTT: realtimestt - DEBUG - Main transcription model ready
2025-07-22 22:24:53.835 - RealTimeSTT: realtimestt - DEBUG - RealtimeSTT initialization completed successfully
2025-07-22 22:24:53.836 - RealTimeSTT: realtimestt - INFO - Setting listen time
2025-07-22 22:24:53.836 - RealTimeSTT: realtimestt - INFO - State changed from 'inactive' to 'listening'
2025-07-22 22:24:53.836 - RealTimeSTT: realtimestt - INFO - State changed from 'listening' to 'wakeword'
2025-07-22 22:24:53.836 - RealTimeSTT: realtimestt - DEBUG - Waiting for recording start
2025-07-22 22:25:04.100 - RealTimeSTT: realtimestt - INFO - State changed from 'wakeword' to 'listening'
2025-07-22 22:25:04.670 - RealTimeSTT: realtimestt - INFO - voice activity detected
2025-07-22 22:25:04.671 - RealTimeSTT: realtimestt - INFO - recording started
2025-07-22 22:25:04.671 - RealTimeSTT: realtimestt - INFO - State changed from 'listening' to 'recording'
2025-07-22 22:25:04.671 - RealTimeSTT: realtimestt - DEBUG - Waiting for recording stop
2025-07-22 22:25:04.681 - RealTimeSTT: realtimestt - DEBUG - Current realtime buffer size: 14848
2025-07-22 22:25:04.877 - RealTimeSTT: realtimestt - DEBUG - Realtime text detected: this.
2025-07-22 22:25:04.883 - RealTimeSTT: realtimestt - DEBUG - Current realtime buffer size: 17920
2025-07-22 22:25:05.068 - RealTimeSTT: realtimestt - DEBUG - Realtime text detected: I love you.
2025-07-22 22:25:05.083 - RealTimeSTT: realtimestt - DEBUG - Current realtime buffer size: 20992
2025-07-22 22:25:05.309 - RealTimeSTT: realtimestt - DEBUG - Realtime text detected: I'll see you in the next video.
2025-07-22 22:25:05.309 - RealTimeSTT: realtimestt - DEBUG - Current realtime buffer size: 24064
2025-07-22 22:25:05.503 - RealTimeSTT: realtimestt - DEBUG - Realtime text detected: with a low.
2025-07-22 22:25:06.016 - RealTimeSTT: realtimestt - INFO - recording stopped
2025-07-22 22:25:06.017 - RealTimeSTT: realtimestt - DEBUG - No samples removed, final audio length: 35840
2025-07-22 22:25:06.018 - RealTimeSTT: realtimestt - INFO - State changed from 'recording' to 'inactive'
2025-07-22 22:25:06.025 - RealTimeSTT: realtimestt - INFO - State changed from 'inactive' to 'transcribing'
2025-07-22 22:25:06.026 - RealTimeSTT: realtimestt - DEBUG - Adding transcription request, no early transcription started
2025-07-22 22:25:06.035 - RealTimeSTT: realtimestt - DEBUG - Receive from parent_transcription_pipe after sendiung transcription request, transcribe_count: 1
2025-07-22 22:25:06.136 - RealTimeSTT: realtimestt - DEBUG - Receive from parent_transcription_pipe after sendiung transcription request, transcribe_count: 1
2025-07-22 22:25:06.238 - RealTimeSTT: realtimestt - DEBUG - Receive from parent_transcription_pipe after sendiung transcription request, transcribe_count: 1
2025-07-22 22:25:06.339 - RealTimeSTT: realtimestt - DEBUG - Receive from parent_transcription_pipe after sendiung transcription request, transcribe_count: 1
2025-07-22 22:25:06.392 - RealTimeSTT: realtimestt - INFO - State changed from 'transcribing' to 'inactive'
2025-07-22 22:25:06.435 - RealTimeSTT: realtimestt - DEBUG - Model base completed transcription in 0.41 seconds
2025-07-22 22:25:06.435 - RealTimeSTT: realtimestt - INFO - Setting listen time
2025-07-22 22:25:06.435 - RealTimeSTT: realtimestt - INFO - State changed from 'inactive' to 'listening'
2025-07-22 22:25:06.436 - RealTimeSTT: realtimestt - DEBUG - Waiting for recording start
2025-07-22 22:26:47.716 - RealTimeSTT: realtimestt - DEBUG - Finishing recording thread
2025-07-22 22:26:47.717 - RealTimeSTT: realtimestt - DEBUG - No samples removed, final audio length: 0
2025-07-22 22:26:47.717 - RealTimeSTT: realtimestt - INFO - State changed from 'listening' to 'inactive'
2025-07-22 22:26:47.720 - RealTimeSTT: realtimestt - DEBUG - Terminating reader process
2025-07-22 22:26:48.322 - RealTimeSTT: realtimestt - DEBUG - Terminating transcription process
2025-07-22 22:26:48.322 - RealTimeSTT: realtimestt - DEBUG - Finishing realtime thread
2025-07-22 22:26:57.413 - RealTimeSTT: realtimestt - INFO - Starting RealTimeSTT
2025-07-22 22:26:57.413 - RealTimeSTT: realtimestt - INFO - Starting RealTimeSTT
2025-07-22 22:26:57.447 - RealTimeSTT: realtimestt - INFO - Initializing audio recording (creating pyAudio input stream, sample rate: 16000 buffer size: 512
2025-07-22 22:26:57.447 - RealTimeSTT: realtimestt - INFO - Initializing audio recording (creating pyAudio input stream, sample rate: 16000 buffer size: 512
2025-07-22 22:26:57.451 - RealTimeSTT: realtimestt - INFO - Initializing faster_whisper realtime transcription model tiny, default device: cpu, compute type: default, device index: 0, download root: None
2025-07-22 22:26:57.451 - RealTimeSTT: realtimestt - INFO - Initializing faster_whisper realtime transcription model tiny, default device: cpu, compute type: default, device index: 0, download root: None
2025-07-22 22:26:57.915 - RealTimeSTT: realtimestt - DEBUG - Faster_whisper realtime speech to text transcription model initialized successfully
2025-07-22 22:26:57.915 - RealTimeSTT: realtimestt - DEBUG - Faster_whisper realtime speech to text transcription model initialized successfully
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: alexa
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: alexa
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: hey_mycroft
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: hey_mycroft
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: hey_jarvis
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: hey_jarvis
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: hey_rhasspy
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: hey_rhasspy
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: timer
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: timer
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: weather
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - INFO - Successfully loaded openwakeword model: weather
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - DEBUG - Open wake word detection engine initialized successfully
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - DEBUG - Open wake word detection engine initialized successfully
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - INFO - Initializing WebRTC voice with Sensitivity 3
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - INFO - Initializing WebRTC voice with Sensitivity 3
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - DEBUG - WebRTC VAD voice activity detection engine initialized successfully
2025-07-22 22:26:57.982 - RealTimeSTT: realtimestt - DEBUG - WebRTC VAD voice activity detection engine initialized successfully
2025-07-22 22:26:58.430 - RealTimeSTT: realtimestt - DEBUG - Silero VAD voice activity detection engine initialized successfully
2025-07-22 22:26:58.430 - RealTimeSTT: realtimestt - DEBUG - Silero VAD voice activity detection engine initialized successfully
2025-07-22 22:26:58.430 - RealTimeSTT: realtimestt - DEBUG - Starting realtime worker
2025-07-22 22:26:58.430 - RealTimeSTT: realtimestt - DEBUG - Starting realtime worker
2025-07-22 22:26:58.430 - RealTimeSTT: realtimestt - DEBUG - Waiting for main transcription model to start
2025-07-22 22:26:58.430 - RealTimeSTT: realtimestt - DEBUG - Waiting for main transcription model to start
2025-07-22 22:27:01.707 - RealTimeSTT: realtimestt - DEBUG - Main transcription model ready
2025-07-22 22:27:01.707 - RealTimeSTT: realtimestt - DEBUG - Main transcription model ready
2025-07-22 22:27:01.708 - RealTimeSTT: realtimestt - DEBUG - RealtimeSTT initialization completed successfully
2025-07-22 22:27:01.708 - RealTimeSTT: realtimestt - DEBUG - RealtimeSTT initialization completed successfully
2025-07-22 22:27:01.708 - RealTimeSTT: realtimestt - INFO - Setting listen time
2025-07-22 22:27:01.708 - RealTimeSTT: realtimestt - INFO - Setting listen time
2025-07-22 22:27:01.708 - RealTimeSTT: realtimestt - INFO - State changed from 'inactive' to 'listening'
2025-07-22 22:27:01.708 - RealTimeSTT: realtimestt - INFO - State changed from 'inactive' to 'listening'
2025-07-22 22:27:01.708 - RealTimeSTT: realtimestt - DEBUG - Waiting for recording start
2025-07-22 22:27:01.708 - RealTimeSTT: realtimestt - DEBUG - Waiting for recording start
2025-07-22 22:27:01.762 - RealTimeSTT: realtimestt - INFO - State changed from 'listening' to 'wakeword'
2025-07-22 22:27:01.762 - RealTimeSTT: realtimestt - INFO - State changed from 'listening' to 'wakeword'
2025-07-22 22:27:29.920 - RealTimeSTT: realtimestt - INFO - State changed from 'wakeword' to 'listening'
2025-07-22 22:27:29.920 - RealTimeSTT: realtimestt - INFO - State changed from 'wakeword' to 'listening'
2025-07-22 22:27:35.174 - RealTimeSTT: realtimestt - INFO - State changed from 'listening' to 'wakeword'
2025-07-22 22:27:35.174 - RealTimeSTT: realtimestt - INFO - State changed from 'listening' to 'wakeword'