Closed bheesma closed 1 month ago
After I copied all the files from libsoda folder once again, I'm getting a slightly different error:
I0000 00:00:1683415284.400044 1 soda_async_impl.cc:352] Creating soda_impl.
I0000 00:00:1683415284.401156 1 soda_impl.cc:342] Maximum audio history: 30s
I0000 00:00:1683415284.401164 1 soda_impl.cc:377] Adding Resampler from 16000 to 16000
I0000 00:00:1683415284.401196 1 soda_impl.cc:556] Enabling power evaluator.
I0000 00:00:1683415284.401213 1 soda_impl.cc:566] Adding preamble processor.
I0000 00:00:1683415284.401231 1 soda_impl.cc:593] Enabling On Device ASR
I0000 00:00:1683415284.403191 1 terse_processor.cc:1155] LP details: [locale: en-us, version: 3045, config file: ./SODAModels/configs/ONDEVICE_MEDIUM_CONTINUOUS.config, personalized resources dir: <NONE>]
I0000 00:00:1683415284.403324 1 terse_processor.cc:215] Loaded PipelineDef.
I0000 00:00:1683415284.411135 1 terse_processor.cc:232] Initialized ResourceManager.
I0000 00:00:1683415284.411213 1 terse_processor.cc:244] Initialized GoogleRecognizer.
W0000 00:00:1683415284.421622 1 terse_processor.cc:351] TISID disabled.
I0000 00:00:1683415284.421629 1 terse_processor.cc:1247] Domain: IME
W0000 00:00:1683415284.421930 1 snapshot.cc:44] Failed to get any snapshot revision for |auto-apps| (scope: 15136313109896498463). Error: INTERNAL: No candidate revision in snapshot for |auto-apps| (scope: 15136313109896498463)
=== Source Location Trace: ===
speech/service/context/device/framework/snapshot.cc:67
I0000 00:00:1683415284.423385 1 terse_processor.cc:2383] Resetting Terse Processor
I0000 00:00:1683415284.423394 1 terse_processor.cc:1387] Cancelling session.
W0000 00:00:1683415284.423594 1 decoder_endpointer_stream.cc:58] Acoustic ep reader thread cancelled.
W0000 00:00:1683415284.423601 1 decoder_endpointer_stream.cc:58] Prefetch reader thread cancelled.
I0000 00:00:1683415284.423727 1 terse_processor.cc:1286] Setup completed
I0000 00:00:1683415284.423733 1 soda_impl.cc:683] Server ASR Disabled
I0000 00:00:1683415284.423735 1 soda_impl.cc:759] Initializing audio logger
I0000 00:00:1683415284.423745 1 soda_async_impl.cc:619] SODA session starting (require_hotword:0, hotword_timeout_in_millis:0, trigger_type:TRIGGER_TYPE_UNSPECIFIED, hybrid_asr_config.mode:MODE_DEFAULT)
I0000 00:00:1683415284.423785 1 soda_async_impl.cc:900] Session parameters updated. Reconfiguring SODA.
I0000 00:00:1683415284.423799 1 terse_processor.cc:1934] Setting impersonated speaker id to: <NONE>
I0000 00:00:1683415284.423804 1 soda_impl.cc:1388] Got pipeline signal out
I0000 00:00:1683415284.423806 1 soda_async_impl.cc:600] Nice value unknown. Restarting SODA thread.
I0000 00:00:1683415284.423865 2 soda_impl.cc:1388] Got pipeline signal out
^CI0000 00:00:1683415302.350647 2 soda_async_impl.cc:1116] SODA stopped processing audio, mics audio processed in millis: 0, loopback audio processed in millis: 0
I0000 00:00:1683415302.350778 2 soda_async_impl.cc:1129] Audio readers are stopped.
I0000 00:00:1683415302.350837 2 soda_impl.cc:1388] Got pipeline signal out
I0000 00:00:1683415302.350905 2 terse_processor.cc:2383] Resetting Terse Processor
I0000 00:00:1683415302.350911 2 soda_impl.cc:1388] Got pipeline signal out
I0000 00:00:1683415302.350920 2 soda_async_impl.cc:1179] SODA session stopped due to: STOP_CALLED
I0000 00:00:1683415302.364136 1 soda_async_impl.cc:1264] Deleted soda_impl.
ecasound: ERROR: [ECA-SESSION] : "Audio object "alsa" does not match any of the known audio device types
is your true error here. I'm not an expert on macOS, you'll need to find a way to pipe audio from your mic to the script and macOS does not have ALSA.
When I execute the below command in my Macbook Pro M1 Pro system,
It's throwing the following error. It's not recognising speech either. Any clue?