SayAudio¶
- class SayAudio(audio: ndarray | list, sample_rate: int | float = 48000, microphone_device: int | str | None = None, blocking: bool = True, **settings)[source]¶
Bases:
BaseInstructionPlay raw audio through the selected voice output device.
- property id: int¶
Return the unique instruction identifier.
- Returns:
Instruction identifier.
- Return type:
int