Skip to content

Instantly share code, notes, and snippets.

View BeliefJourney's full-sized avatar

BeliefJourney

View GitHub Profile
@willbchang
willbchang / azure_tts.sh
Last active November 11, 2023 04:55
A simple example to use Azure text to speech REST API with shell script in macOS via Popclip Snippet. You can get the newest version from: https://github.com/willbchang/popclip-azure-text-to-speech
#!/bin/zsh
# #popclip
# name: Azure TTS
# icon: symbol:message.and.waveform
# Please apply for your own key
AZURE_REGION=
AZURE_SUBSCRIPTION_KEY=
# Create a temporary audio file