stt-cli 0.2.1

Speech to text Cli using Groq API and OpenAI API
2025-04-22T00:09:50.697457Z  INFO groq_api_rs::my_tracing: Tracing initialized with debug_mode: false
2025-04-22T00:09:50.697959Z  INFO groq_api_rs: Starting application with config: AppConfig { device: None, mode: AlwaysOn, hotkey: "ctrl+space", data_dir: "data_dir", debug: false, transcription_provider: Groq }
2025-04-22T00:09:51.040953Z  INFO groq_api_rs::audio::device: Please select an audio input device:
2025-04-22T00:09:52.263615Z  INFO groq_api_rs::audio::device: Selected device: default
2025-04-22T00:09:52.294908Z  INFO groq_api_rs::audio::stream_manager: Audio stream started successfully
2025-04-22T00:09:52.295032Z  INFO groq_api_rs::app: Waiting for shutdown signal...
2025-04-22T00:09:52.295049Z  INFO groq_api_rs::app: Waiting for shutdown signal...
2025-04-22T00:09:52.295272Z  INFO groq_api_rs::app: Starting audio processing task
2025-04-22T00:09:57.706898Z  INFO transcribe: groq_api_rs::providers::groq: Starting Groq transcription request
2025-04-22T00:09:58.356786Z  INFO transcribe: groq_api_rs::providers::groq: Groq transcription successful
2025-04-22T00:10:03.045733Z  INFO transcribe: groq_api_rs::providers::groq: Starting Groq transcription request
2025-04-22T00:10:03.452700Z  INFO transcribe: groq_api_rs::providers::groq: Groq transcription successful
2025-04-22T00:10:03.471452Z  INFO groq_api_rs::shutdown_handler: Received SIGINT (Ctrl+C)
2025-04-22T00:10:03.471528Z  INFO groq_api_rs::app: Received shutdown signal
2025-04-22T00:10:03.472751Z  INFO groq_api_rs::audio::stream_manager: Audio stream stopped successfully
2025-04-22T00:10:03.473090Z  INFO groq_api_rs::app: Audio processing task stopped
2025-04-22T00:10:03.473265Z  INFO groq_api_rs::app: Shutdown complete
2025-04-22T00:10:04.975857Z  INFO groq_api_rs::my_tracing: Tracing initialized with debug_mode: true
2025-04-22T00:10:04.976366Z  INFO groq_api_rs: Starting application with config: AppConfig { device: None, mode: AlwaysOn, hotkey: "ctrl+space", data_dir: "data_dir", debug: false, transcription_provider: OpenAI }
2025-04-22T00:10:05.156952Z  INFO groq_api_rs::audio::device: Please select an audio input device:
2025-04-22T00:10:12.684612Z  INFO groq_api_rs::my_tracing: Tracing initialized with debug_mode: true
2025-04-22T00:10:12.685008Z  INFO groq_api_rs: Starting application with config: AppConfig { device: None, mode: AlwaysOn, hotkey: "ctrl+space", data_dir: "data_dir", debug: false, transcription_provider: Groq }
2025-04-22T00:10:12.911564Z  INFO groq_api_rs::audio::device: Please select an audio input device:
2025-04-22T00:10:13.745433Z  INFO groq_api_rs::audio::device: Selected device: default
2025-04-22T00:10:13.746840Z DEBUG groq_api_rs::shutdown_handler: [tts-groq] Registered shutdown handler: Stop audio stream manager (priority: Normal)
2025-04-22T00:10:13.771299Z DEBUG groq_api_rs::audio::device: Found device 'default' with config: SupportedStreamConfig { channels: 2, sample_rate: SampleRate(44100), buffer_size: Range { min: 3, max: 4194304 }, sample_format: F32 }
2025-04-22T00:10:13.771503Z  INFO groq_api_rs::audio::stream_manager: Audio stream started successfully
2025-04-22T00:10:13.771589Z  INFO groq_api_rs::app: Waiting for shutdown signal...
2025-04-22T00:10:13.771608Z  INFO groq_api_rs::app: Waiting for shutdown signal...
2025-04-22T00:10:13.771873Z  INFO groq_api_rs::app: Starting audio processing task
2025-04-22T00:10:19.199732Z  INFO transcribe: groq_api_rs::providers::groq: Starting Groq transcription request
2025-04-22T00:10:19.199816Z DEBUG transcribe: groq_api_rs::providers::groq: Audio data size: 160044 bytes
2025-04-22T00:10:19.200874Z DEBUG transcribe: reqwest::connect: starting new connection: https://api.groq.com/    
2025-04-22T00:10:19.203667Z DEBUG transcribe: hyper_util::client::legacy::connect::http: connecting to 104.18.2.205:443
2025-04-22T00:10:19.209186Z DEBUG transcribe: hyper_util::client::legacy::connect::http: connected to 104.18.2.205:443
2025-04-22T00:10:19.736530Z DEBUG transcribe: hyper_util::client::legacy::pool: pooling idle connection for ("https", api.groq.com)
2025-04-22T00:10:19.736756Z  INFO transcribe: groq_api_rs::providers::groq: Groq transcription successful
2025-04-22T00:10:19.736785Z DEBUG transcribe: groq_api_rs::providers::groq: Received transcription:  I hope it will work this time, HO HO
2025-04-22T00:10:23.191671Z  INFO groq_api_rs::shutdown_handler: Received SIGINT (Ctrl+C)
2025-04-22T00:10:23.191750Z  INFO groq_api_rs::app: Received shutdown signal
2025-04-22T00:10:23.194323Z  INFO groq_api_rs::audio::stream_manager: Audio stream stopped successfully
2025-04-22T00:10:23.194738Z  INFO groq_api_rs::app: Audio processing task stopped
2025-04-22T00:10:23.195103Z  INFO groq_api_rs::app: Shutdown complete
2025-04-22T00:10:49.301290Z  INFO groq_api_rs::my_tracing: Tracing initialized with debug_mode: true
2025-04-22T00:10:49.301885Z  INFO groq_api_rs: Starting application with config: AppConfig { device: None, mode: AlwaysOn, hotkey: "ctrl+space", data_dir: "data_dir", debug: false, transcription_provider: OpenAI }
2025-04-22T00:10:49.628132Z  INFO groq_api_rs::audio::device: Please select an audio input device:
2025-04-22T00:10:50.823817Z  INFO groq_api_rs::audio::device: Selected device: default
2025-04-22T00:10:50.824563Z DEBUG groq_api_rs::shutdown_handler: [tts-groq] Registered shutdown handler: Stop audio stream manager (priority: Normal)
2025-04-22T00:10:50.852075Z DEBUG groq_api_rs::audio::device: Found device 'default' with config: SupportedStreamConfig { channels: 2, sample_rate: SampleRate(44100), buffer_size: Range { min: 3, max: 4194304 }, sample_format: F32 }
2025-04-22T00:10:50.852306Z  INFO groq_api_rs::audio::stream_manager: Audio stream started successfully
2025-04-22T00:10:50.852401Z  INFO groq_api_rs::app: Waiting for shutdown signal...
2025-04-22T00:10:50.852416Z  INFO groq_api_rs::app: Waiting for shutdown signal...
2025-04-22T00:10:50.852700Z  INFO groq_api_rs::app: Starting audio processing task
2025-04-22T00:10:56.261778Z  INFO transcribe: groq_api_rs::providers::async_openai_self: Starting OpenAI transcription request
2025-04-22T00:10:56.261847Z DEBUG transcribe: groq_api_rs::providers::async_openai_self: Audio data size: 160044 bytes
2025-04-22T00:10:56.262000Z DEBUG transcribe: groq_api_rs::providers::async_openai_self: Sending request to OpenAI Whisper API
2025-04-22T00:10:56.262537Z DEBUG transcribe: reqwest::connect: starting new connection: https://api.openai.com/    
2025-04-22T00:10:56.319271Z DEBUG transcribe: hyper_util::client::legacy::connect::http: connecting to 172.66.0.243:443
2025-04-22T00:10:56.323566Z DEBUG transcribe: hyper_util::client::legacy::connect::http: connected to 172.66.0.243:443
2025-04-22T00:10:57.546880Z DEBUG transcribe: hyper_util::client::legacy::pool: pooling idle connection for ("https", api.openai.com)
2025-04-22T00:10:57.547134Z  INFO transcribe: groq_api_rs::providers::async_openai_self: OpenAI transcription successful
2025-04-22T00:10:57.547180Z DEBUG transcribe: groq_api_rs::providers::async_openai_self: Received transcription: this should not run
2025-04-22T00:10:59.710052Z  INFO groq_api_rs::shutdown_handler: Received SIGINT (Ctrl+C)
2025-04-22T00:10:59.710206Z  INFO groq_api_rs::app: Received shutdown signal
2025-04-22T00:10:59.716067Z  INFO groq_api_rs::audio::stream_manager: Audio stream stopped successfully
2025-04-22T00:10:59.716417Z  INFO groq_api_rs::app: Audio processing task stopped
2025-04-22T00:10:59.716539Z  INFO groq_api_rs::app: Shutdown complete
2025-04-22T01:11:32.246719Z  INFO stt_cli::my_tracing: Tracing initialized with debug_mode: false
2025-04-22T01:11:50.200685Z  INFO stt_cli::my_tracing: Tracing initialized with debug_mode: false
2025-04-22T01:11:54.461751Z  INFO stt_cli::my_tracing: Tracing initialized with debug_mode: false
2025-04-22T01:12:04.253008Z  INFO stt_cli::my_tracing: Tracing initialized with debug_mode: false
2025-04-22T01:12:13.230953Z  INFO stt_cli::my_tracing: Tracing initialized with debug_mode: false
2025-04-22T01:12:13.231503Z  INFO stt_cli: Starting application with config: AppConfig { device: None, mode: Hotkey, hotkey: "ctrl+space", data_dir: "data_dir", debug: false, transcription_provider: Groq }
2025-04-22T01:12:13.542567Z  INFO stt_cli::audio::device: Please select an audio input device:
2025-04-22T01:12:14.771675Z  INFO stt_cli::audio::device: Selected device: default
2025-04-22T01:12:14.793435Z  INFO stt_cli::audio::stream_manager: Audio stream started successfully
2025-04-22T01:12:14.793557Z  INFO stt_cli::app: Waiting for shutdown signal...
2025-04-22T01:12:14.793582Z  INFO stt_cli::app: Waiting for shutdown signal...
2025-04-22T01:12:14.793699Z  INFO stt_cli::app: Starting audio processing task
2025-04-22T01:12:20.205700Z  INFO transcribe: stt_cli::providers::groq: Starting Groq transcription request
2025-04-22T01:12:20.698934Z  INFO transcribe: stt_cli::providers::groq: Groq transcription successful
2025-04-22T01:12:25.533349Z  INFO transcribe: stt_cli::providers::groq: Starting Groq transcription request
2025-04-22T01:12:25.990168Z  INFO transcribe: stt_cli::providers::groq: Groq transcription successful
2025-04-22T01:12:29.356642Z  INFO stt_cli::shutdown_handler: Received SIGINT (Ctrl+C)
2025-04-22T01:12:29.356777Z  INFO stt_cli::app: Received shutdown signal
2025-04-22T01:12:29.365707Z  INFO stt_cli::audio::stream_manager: Audio stream stopped successfully
2025-04-22T01:12:29.366105Z  INFO stt_cli::app: Audio processing task stopped
2025-04-22T01:12:29.366496Z  INFO stt_cli::app: Shutdown complete
2025-04-22T01:18:20.416219Z  INFO stt_cli::my_tracing: Tracing initialized with debug_mode: false
2025-04-22T01:18:20.416838Z  INFO stt_cli: Starting application with config: AppConfig { device: None, mode: Hotkey, hotkey: "ctrl+space", data_dir: "data_dir", debug: false, transcription_provider: Groq }
2025-04-22T01:18:20.717958Z  INFO stt_cli::audio::device: Please select an audio input device:
2025-04-22T01:18:21.960224Z  INFO stt_cli::audio::device: Selected device: default
2025-04-22T01:18:21.984599Z  INFO stt_cli::audio::stream_manager: Audio stream started successfully
2025-04-22T01:18:21.986155Z  INFO stt_cli::app: Waiting for shutdown signal...
2025-04-22T01:18:21.986195Z  INFO stt_cli::app: Waiting for shutdown signal...
2025-04-22T01:18:21.986275Z  INFO stt_cli::app: Starting audio processing task
2025-04-22T01:18:21.986300Z  INFO stt_cli::hotkey_service: Hotkey service started
2025-04-22T01:18:24.240108Z  INFO stt_cli::hotkey_service: Recording started
2025-04-22T01:18:29.560803Z  INFO transcribe: stt_cli::providers::groq: Starting Groq transcription request
2025-04-22T01:18:30.027794Z  INFO transcribe: stt_cli::providers::groq: Groq transcription successful
2025-04-22T01:18:30.027869Z  INFO transcribe: stt_cli::providers::groq: Received transcription:  All right. So does this mean that this is working?
2025-04-22T01:18:30.252267Z  INFO stt_cli::hotkey_service: Recording paused
2025-04-22T01:18:45.280066Z  INFO stt_cli::app: Received Ctrl+C signal
2025-04-22T01:18:45.285524Z  INFO stt_cli::audio::stream_manager: Audio stream stopped successfully
2025-04-22T01:18:45.285749Z  INFO stt_cli::app: Audio processing task stopped
2025-04-22T01:31:04.839443Z  INFO stt_cli::my_tracing: Tracing initialized with debug_mode: false
2025-04-22T01:31:04.839833Z  INFO stt_cli: Starting application with config: AppConfig { device: None, mode: Hotkey, hotkey: "ctrl+space", data_dir: "data_dir", debug: false, transcription_provider: Groq }
2025-04-22T01:31:05.139704Z  INFO stt_cli::audio::device: Please select an audio input device:
2025-04-22T01:31:06.436817Z  INFO stt_cli::audio::device: Selected device: default
2025-04-22T01:31:06.465439Z  INFO stt_cli::audio::stream_manager: Audio stream started successfully
2025-04-22T01:31:06.467372Z  INFO stt_cli::app: Waiting for shutdown signal...
2025-04-22T01:31:06.467443Z  INFO stt_cli::app: Waiting for shutdown signal...
2025-04-22T01:31:06.467474Z  INFO stt_cli::app: Starting audio processing task
2025-04-22T01:31:06.467493Z  INFO stt_cli::hotkey_service: Hotkey service started
2025-04-22T01:31:09.072922Z  INFO stt_cli::hotkey_service: Recording started
2025-04-22T01:31:14.395104Z  INFO transcribe: stt_cli::providers::groq: Starting Groq transcription request
2025-04-22T01:31:15.268962Z  INFO transcribe: stt_cli::providers::groq: Groq transcription successful
2025-04-22T01:31:15.269038Z  INFO transcribe: stt_cli::providers::groq: Received transcription:  all right. So this is recording. Now I can see you
2025-04-22T01:31:17.092227Z  INFO stt_cli::hotkey_service: Recording paused
2025-04-22T01:31:42.420440Z  INFO stt_cli::shutdown_handler: Received SIGINT (Ctrl+C)
2025-04-22T01:31:42.420502Z  INFO stt_cli::app: Received shutdown signal
2025-04-22T01:31:42.422207Z  INFO stt_cli::audio::stream_manager: Audio stream stopped successfully
2025-04-22T01:31:42.422533Z  INFO stt_cli::app: Audio processing task stopped
2025-04-22T01:37:06.978489Z  INFO stt_cli::my_tracing: Tracing initialized with debug_mode: false
2025-04-22T01:37:06.978964Z  INFO stt_cli: Starting application with config: AppConfig { device: None, mode: Hotkey, hotkey: "ctrl+space", data_dir: "data_dir", debug: false, transcription_provider: Groq }
2025-04-22T01:37:07.285976Z  INFO stt_cli::audio::device: Please select an audio input device:
2025-04-22T01:37:08.232702Z  INFO stt_cli::audio::device: Selected device: default
2025-04-22T01:37:08.254375Z  INFO stt_cli::audio::stream_manager: Audio stream started successfully
2025-04-22T01:37:08.255951Z  INFO stt_cli::app: Waiting for shutdown signal...
2025-04-22T01:37:08.255981Z  INFO stt_cli::app: Waiting for shutdown signal...
2025-04-22T01:37:08.256069Z  INFO stt_cli::app: Starting audio processing task
2025-04-22T01:37:08.256110Z  INFO stt_cli::hotkey_service: Hotkey service started
2025-04-22T01:37:09.760341Z  INFO stt_cli::hotkey_service: Recording started
2025-04-22T01:37:15.088333Z  INFO transcribe: stt_cli::providers::groq: Starting Groq transcription request
2025-04-22T01:37:15.562492Z  INFO transcribe: stt_cli::providers::groq: Groq transcription successful
2025-04-22T01:37:15.562561Z  INFO transcribe: stt_cli::providers::groq: Received transcription:  All right, the transaction has started and it's free.
2025-04-22T01:37:17.427386Z  INFO stt_cli::hotkey_service: Recording paused
2025-04-22T01:37:21.753200Z  INFO stt_cli::shutdown_handler: Received SIGINT (Ctrl+C)
2025-04-22T01:37:21.753270Z  INFO stt_cli::app: Received shutdown signal
2025-04-22T01:37:21.762211Z  INFO stt_cli::audio::stream_manager: Audio stream stopped successfully
2025-04-22T01:37:21.762537Z  INFO stt_cli::app: Audio processing task stopped
2025-04-22T01:37:26.763582Z  WARN stt_cli::app: Task did not complete within timeout: deadline has elapsed
2025-04-22T01:37:26.763663Z  INFO stt_cli::app: Shutdown complete
2025-04-22T01:40:16.587312Z  INFO stt_cli::my_tracing: Tracing initialized with debug_mode: false
2025-04-22T01:40:16.587793Z  INFO stt_cli: Starting application with config: AppConfig { device: None, mode: Hotkey, hotkey: "ctrl+space", data_dir: "data_dir", debug: false, transcription_provider: Groq }
2025-04-22T01:40:16.883064Z  INFO stt_cli::audio::device: Please select an audio input device:
2025-04-22T01:40:17.803489Z  INFO stt_cli::audio::device: Selected device: default
2025-04-22T01:40:17.832989Z  INFO stt_cli::audio::stream_manager: Audio stream started successfully
2025-04-22T01:40:17.835683Z  INFO stt_cli::app: Waiting for shutdown signal...
2025-04-22T01:40:17.835722Z  INFO stt_cli::app: Waiting for shutdown signal...
2025-04-22T01:40:17.835849Z  INFO stt_cli::hotkey_service: Hotkey service started
2025-04-22T01:40:17.835913Z  INFO stt_cli::app: Starting audio processing task
2025-04-22T01:40:20.040919Z  INFO stt_cli::hotkey_service: Recording started
2025-04-22T01:40:25.372948Z  INFO transcribe: stt_cli::providers::groq: Starting Groq transcription request
2025-04-22T01:40:25.846080Z  INFO transcribe: stt_cli::providers::groq: Groq transcription successful
2025-04-22T01:40:25.846164Z  INFO transcribe: stt_cli::providers::groq: Received transcription:  All right so this has begun let's go.
2025-04-22T01:40:26.856558Z  INFO stt_cli::hotkey_service: Recording paused
2025-04-22T01:40:29.361683Z  INFO stt_cli::shutdown_handler: Received SIGINT (Ctrl+C)
2025-04-22T01:40:29.361828Z  INFO stt_cli::app: Received shutdown signal
2025-04-22T01:40:29.362737Z  INFO stt_cli::audio::stream_manager: Audio stream stopped successfully
2025-04-22T01:40:29.362934Z  INFO stt_cli::app: Audio processing task stopped
2025-04-22T01:40:34.364667Z  WARN stt_cli::app: Task did not complete within timeout: deadline has elapsed
2025-04-22T01:40:34.364750Z  INFO stt_cli::app: Shutdown complete