## Documentation Index

Fetch the complete documentation index at: [/llms.txt](https://developer.sanas.ai/llms.txt)

Use this file to discover all available pages before exploring further.

`AudioProcessor` handles the real-time processing of audio samples through the Sanas AI models. You obtain an instance by calling `RemoteSDK.CreateAudioProcessor()`, then feed it audio in fixed-size chunks. Each call to `ProcessSamples` sends a chunk to Sanas Cloud and returns the processed audio.

## Methods

| Method          | Parameters                  | Returns                                         | Description                                    |
|-----------------|----------------------------|------------------------------------------------|------------------------------------------------|
| `ProcessSamples`| `input_samples: List[float]` | `List[float]`                                  | Process a single 20 ms audio chunk            |
| `GetState`     | `-`                        | [ProcessorState](https://developer.sanas.ai/API-Reference/Reference/State-Enums/ProcessorState) | Get the current state of this processor        |

**Note:** ProcessSamples expects 160 samples (8kHz) or 320 samples (16kHz).
