Play encoded audio

Gets an audio file encoded as text, decodes the value, and plays the sound at 35%. Pairs well with “Encode audio.”

Actions

action-icon-base64-encode.webp
Base64 Encode
Encodes or decodes text or files using Base64 encoding.
shortcuts-action-icon-set-volume.webp
Set Volume
Sets the system volume. If you set the volume using a variable, use a number between 0 and 1 (for example, pass 0.5 for half volume).
shortcuts-action-icon-play-sound.webp
Play Sound
Plays the audio file passed as input, or a default notification sound if no audio file was passed.

More From This Folder

Record as AIFF

Records normal quality audio, starting or stopping with your tap, then encoding the recorded audio to AIFF before saving to to a folder of your choice.

Get Shortcut »

Encode audio

Records audio until you tap it to stop, then encodes it into a text-based format, then copies it to your clipboard (to be decoded and played back later).

Get Shortcut »

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Play%20encoded%20audio
Link to Open Shortcut
shortcuts://open-shortcut?name=Play%20encoded%20audio
AppleScript code
tell application “Shortcuts Events” run shortcut “Play encoded audio” end tell

More From The Library

Split bills

For a given contact, asks you to enter a payment amount (which is then divided by 2), then asks for a description, and sends the split total as a payment to the contact.

Get Shortcut »

Show my saved stories

Opens into the Saved Stories tab of the News app, where you can quickly access news stories you’ve saved for later – I’ll often save multiple stories as I browse, then visit this tab to read them all one-by-one.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more