-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat/115: Add Microsoft Azure Text to speech capability #403
Conversation
@Sidsector9 Just a couple small things left I flagged. Then we'll need to update the README file with details on this new feature and this should be good to go |
|
@dkotter I have updated the README by referring to the existing documentation. I couldn't confirm the steps with my own Azure account as I've exhausted the trial. Can you confirm this with the 10up account? |
@dkotter @Sidsector9 If we wanted to generate audio versions for all past posts, what would be the best method to achieve that? Don't see a quick method to generate via hook we could use for a custom CLI script. |
@rickalee At the moment, we don't have a built-in way to handle this in bulk. We do have existing That said, if you're looking to do this on your own before those changes are made, there's two approaches you could fairly easily take:
$save_post_handler = new SavePostHandler();
foreach ( $post_ids as $post_id ) {
$attachment_id = $save_post_handler->synthesize_speech( $post_id );
} |
Description of the Change
Closes #115
How to test the Change
/wp-admin/admin.php?page=language_processing&tab=azure_text_to_speech
.the_content
filter.Changelog Entry
Credits
Props @jeffpaul @Sidsector9
Checklist: