## Simultaneous Interpretation

### Feature Introduction
The simultaneous interpretation feature supports real-time collection of speaker audio through smart earphones and other recording devices, transmitting the audio data to the app. The system uses speech recognition and AI translation technologies to transcribe speech into text and enable multilingual synchronous translation. Recognition and translation results can be fed back in real time via text or voice, helping users achieve efficient and convenient communication in multilingual scenarios such as international conferences and academic exchanges.

<img alt="Simultaneous Interpretation" src="https://images.tuyacn.com/rms-static/c46272e0-7e38-11f0-9fb9-e1834df84344-1755744272654.png?tyName=sim.png" width="400" height="450">

### Interaction Flow

```mermaid
sequenceDiagram
    %% Panel initiates simultaneous interpretation
    rect rgb(191, 223, 255)
    Panel->>App: Initiate simultaneous interpretation
    end

    %% App uploads audio stream to the cloud in real time
    rect rgb(255, 239, 191)
    App->>Cloud: Upload audio stream in real time
    end

    %% Cloud returns ASR and AI translation results, returns TTS audio stream
    rect rgb(255, 191, 191)
    Cloud-->>App: Return ASR results, AI translation results, TTS audio stream
    end

    %% App pushes ASR and translation results to the panel
    rect rgb(191, 255, 191)
    App-->>Panel: Push ASR and translation results
    end

    %% App pushes TTS audio stream to earphones, earphones play audio stream
    rect rgb(191, 255, 255)
    App-->>Earphones: Push TTS audio stream
    Earphones->>User: Play audio stream
    end

    %% Panel listens for ASR and translation and renders
    rect rgb(223, 191, 255)
    Panel->>Panel: Render ASR and translation results
    end
```
