News for hackers. Stuff that matters.
Re:Useful built-in macOS command-line utilities by antononcube on Wednesday November 06, 2024 @08:46AM (#42062191)
I would like to also recommend the app:

   hear (macOS speech recognition and dictation via the command line)
See: https://sveinbjorn.org/hear

(Uses built-in macOS capabilities for transcription from audio to text.)

Re:Useful built-in macOS command-line utilities by xpe on Wednesday November 06, 2024 @09:34AM (#42062871)
Its open source GitHub repo at https://github.com/sveinbjornt/hear

Man page at https://sveinbjorn.org/files/manpages/hear.1.html

> (Uses built-in macOS capabilities for transcription from audio to text.)

Question (to self, currently researching)... Which capabilities? Released when? I ask because Apple Intelligence has expanded the use of audio transcription features.

Answer: `hear` uses SFSpeechRecognizer [1] which has been available since macOS 10.15. I'm not yet sure how it relates to Apple Intelligence transcription services.

Note: "speech recognition is a network-based service" which perhaps suggests Apple Intelligence (the marketing term, not an Apple Developer term, I don't think) uses it as well

[1][ https://developer.apple.com/documentation/speech/sfspeechrec...

Re:Useful built-in macOS command-line utilities by e40 on Wednesday November 06, 2024 @09:38AM (#42062947)
I thought I recognized the name of the developer! The person that brought us Platypus! Nice.
Re:Useful built-in macOS command-line utilities by alsetmusic on Wednesday November 06, 2024 @03:31PM (#42068884)
I used Platypus to make my simple command line tools accessible to coworkers who considered the command line to be "too much" to learn. I've loved that app for close to two decades.
Re:Useful built-in macOS command-line utilities by hk1337 on Wednesday November 06, 2024 @01:05PM (#42066495)
> which hear

> hear not found

macOS 15.1

Re:Useful built-in macOS command-line utilities by avtar on Wednesday November 06, 2024 @03:07PM (#42068534)
Hear itself isn't a built-in utility.

> hear is a command line interface for the built-in speech recognition capabilities in macOS

Have you gone through the installation process? https://github.com/sveinbjornt/hear?tab=readme-ov-file#insta...

Re:Useful built-in macOS command-line utilities by avernet on Wednesday November 06, 2024 @03:24PM (#42068766)
Someone needs to create a brew formula for `hear`.
Re:Useful built-in macOS command-line utilities by dmix on Wednesday November 06, 2024 @02:10PM (#42067628)
Same, but there is the `say` command which you can cat a text file into and it will say it outloud

https://ss64.com/mac/say.html