add Whisper to your iOS Action Button

The new iPhones ditched the physical mute button with a software enabled action button, that allows some customization. the highest degree of customization is Shortcuts. Apple’s default transcription is terrible. I got a new iPhone recently and so this is my chance.

It took me a while to work out how to make a shortcut that does this so here’s a good starting point: https://www.icloud.com/shortcuts/65d0ab52410b463fbfc3d29ab5a15550 (note you will have to add your own openai api key for this to work).

whisper swyx for sharing, no key

and then call the api

whisper swyx for sharing, no key-1

the updated shortcut (same link as above for your ref: https://www.icloud.com/shortcuts/65d0ab52410b463fbfc3d29ab5a15550 )

also saves down the raw audio file incase, yknow, you like to hear your voice in future. it took a while to figure out how to title the file based on the transcribed content… shortcuts programming isn’t very discoverable haha.

limit: 25mb file size - about 25 minutes of audio? (estimate - have not tested)

Leave a reaction if you liked this post! 🧡
Loading comments...
Webmentions
Loading...

Subscribe to the newsletter

Join >10,000 subscribers getting occasional updates on new posts and projects!

I also write an AI newsletter and a DevRel/DevTools newsletter.

Latest Posts

Search and see all content