@hamsa-ai/voice-agents-sdk 0.5.1-beta.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -278,7 +278,7 @@ agent.disableAudioCapture();
278
278
 
279
279
  #### Audio Capture Formats
280
280
 
281
- The SDK supports three audio formats:
281
+ The SDK supports three high-quality audio formats:
282
282
 
283
283
  1. **`opus-webm`** (default, recommended)
284
284
  - Efficient Opus codec in WebM container
@@ -288,14 +288,14 @@ The SDK supports three audio formats:
288
288
 
289
289
  2. **`pcm-f32`**
290
290
  - Raw PCM audio as Float32Array
291
- - Values range from -1.0 to 1.0
291
+ - Values range from -1.0 to 1.0 (16kHz mono)
292
292
  - Best for audio analysis or DSP
293
293
  - `audioData` is a `Float32Array`
294
294
 
295
295
  3. **`pcm-i16`**
296
296
  - Raw PCM audio as Int16Array
297
297
  - Values range from -32768 to 32767
298
- - Best for compatibility with audio APIs
298
+ - Best for compatibility with legacy audio APIs
299
299
  - `audioData` is an `Int16Array`
300
300
 
301
301
  #### Common Use Cases