Filter: daymark_speech_audio
Supplies a post's audio instead of asking the AI provider.
Return an array {data: string (audio bytes), mime: string} to use it, false to treat the recording as failed, or null (the default) to ask the configured AI provider.
Parameters
| Name | Type | Description |
|---|---|---|
| $audio | array|false|null | The audio, or null. |
| $text | string | The text to read aloud. |
| $post | \WP_Post | The post. |
Since
- 0.21.0
Source
Defined in includes/class-speech.php at line 219