FirstModulAR 0.1.0
Loading...
Searching...
No Matches
PythonAudioTranscriber Class Reference

Python audio transcriber, manages the audio transcription process, sending audio data to the Python server, and displaying the transcribed text. More...

Inheritance diagram for PythonAudioTranscriber:

Public Member Functions

 PythonAudioTranscriber (MicrophoneCapturer audioTest)
 
void SendAudioData ()
 Sends audio data to the Python server, first encoding the audio data to Opus format.
 
byte[] FloatArrayToByteArray (float[] floatArray)
 Converts a float array to a byte array.
 

Detailed Description

Python audio transcriber, manages the audio transcription process, sending audio data to the Python server, and displaying the transcribed text.

Constructor & Destructor Documentation

◆ PythonAudioTranscriber()

PythonAudioTranscriber.PythonAudioTranscriber ( MicrophoneCapturer audioTest)
inline

Member Function Documentation

◆ FloatArrayToByteArray()

byte[] PythonAudioTranscriber.FloatArrayToByteArray ( float[] floatArray)
inline

Converts a float array to a byte array.

Parameters
floatArrayThe float array to convert.
Returns
The byte array.

◆ SendAudioData()

void PythonAudioTranscriber.SendAudioData ( )
inline

Sends audio data to the Python server, first encoding the audio data to Opus format.


The documentation for this class was generated from the following file: