# Multichannel

The **Multichannel** method separates speakers based on each channel of the audio input. This is particularly useful in scenarios such as customer service calls, where different channels represent different speakers (e.g., channel 1 for the agent and channel 2 for the customer).&#x20;

**This method is highly recommended over** [**Diarization**](/speech-to-text/speaker-separation/diarization.md) **for its accuracy and efficiency.**

***

### Key Features

* **Use Case**: Ideal for structured audio inputs like customer service recordings, where different channels represent different speakers (e.g., channel 1 for the agent and channel 2 for the customer).
* **Accuracy**: High, as it directly uses separate channels for each speaker.
* **Performance**: Efficient and fast.
* **Recommendation**: Highly recommended over Diarization for applications where audio channels are clearly separated.

***

## Transcribing Multichannel Audio

### Required Parameters

1. **multichannel (boolean)**: Set `multichannel` to `true` to enable identify speakers based on each channel of the audio input.

### Example Request

```http
POST /v1/speech-to-text/${MODEL}/transcribe HTTP/1.1
Host: api.gowajee.ai
Content-Type: application/json
X-Api-Key: ${YOUR_API_KEY}

{
  "audioData": "base64_encoded_raw_audio_data",
  "multichannel": true
}

```

### Example Response

```json
{
  "type": "ASR_PULSE",
  "amount": 4.517,
  "output": {
    "results": [
      {
        "transcript": "วันนี้กินอะไรดี",
        "startTime": 0,
        "endTime": 4.517,
        "channel": 0
      },
      {
        "transcript": "พรุ่งนี้กินอะไรดี",
        "startTime": 0,
        "endTime": 4.517,
        "channel": 1
      }
    ],
    "duration": 4.517,
    "version": "2.2.0"
  }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.gowajee.ai/speech-to-text/speaker-separation/multichannel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
