[[Projects]]
"Vox" is a tiny script that transcribe voice snippets (short form) and add to daily Obsidian notes.
The name "vox" was inspired by the label musicians use in place of "vocals" for recording.
## How it works
### Record
A [macOS Shortcut](https://support.apple.com/en-ca/guide/shortcuts-mac/apd5ba077760/6.0/mac/13.0) records a voice snippet from my microphone.
![[2023-01-22 - Vox - Shortcut.png]]
That audio file is saved into a designated folder ("Voice snippets") on my computer.
### Transcribe
A [macOS Automator](https://support.apple.com/en-ca/guide/automator/welcome/mac) workflow executes a shell command (`vox`). It is triggered when a new file is added to "Voice snippets".
![[2023-01-22 - Vox - Automator.png]]
`vox` uses [Whisper by OpenAI](https://openai.com/blog/whisper/) to transcribe the recorded audio snippet, generating a `.txt` file.
### Note
`vox` reads the transcribe snippet from the `.txt` file and formats it - adding a timestamp and overall clean up of the text.
It then adds at the end of my Obsidian daily note in a dedicated section entitled "Log".
## Source code
The source code is private and the link below is for personal reference only.
https://github.com/ItsJonQ/vox
## See also
- [[Thunder]]
- [[Grams]]