Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: wav audio sample rate

Joe Goldin6dc64a3670a1
diff --git a/screenpipe-audio/src/stt.rs b/screenpipe-audio/src/stt.rs
index 87d5f0ee0..a7dba1a08 100644
--- a/screenpipe-audio/src/stt.rs
+++ b/screenpipe-audio/src/stt.rs
@@ -443,7 +443,7 @@ fn transcribe_with_deepgram(api_key: &str, audio_data: &[f32]) -> Result<String>
{
let spec = WavSpec {
channels: 1,
- sample_rate: 16000,
+ sample_rate: 32000,
bits_per_sample: 32,
sample_format: hound::SampleFormat::Float,
};