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 Used

Base64 Encode
Encodes or decodes text or files using Base64 encoding.
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).
Play Sound
Plays the audio file passed as input, or a default notification sound if no audio file was passed.

Extra Details

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

More From This Folder

More From The Library

Play my Chill Mix

Plays the Chill Mix that’s “Made For You” by Apple Music. Updated every Sunday, this one is good for unwinding in the evening or relaxing on the weekends.

Get shortcut »


Get way deeper into Shortcuts – become a member.