natrys / whisper.el

Speech-to-Text interface for Emacs using OpenAI's whisper model and whisper.cpp as inference engine.
149 stars 10 forks source link

Instructions to granting Mic access to Emacs seem outdated (atleast for macos 14.1.1) #18

Closed ManasJayanth closed 11 months ago

ManasJayanth commented 11 months ago

The SQL query that currently reads,

insert into access values  ('kTCCServiceMicrophone','org.gnu.Emacs', 0, 2, 2, 1, null, null, null, 'UNUSED', null, 0, strftime('%s', 'now'));

could be,

insert into access values  ('kTCCServiceMicrophone','org.gnu.Emacs', 0, 2, 2, 1, null, null, null, 'UNUSED', null, 0, strftime('%s', 'now'),null, null, 'UNUSED', 0);

This is what worked for me.

natrys commented 11 months ago

Thanks, I have updated the wiki page. I can't seem to find any changelog for TCC.db schema so I am thankful for feedback like yours as I am not a MacOS user myself.

g-simmons commented 9 months ago

The step here might be useful:

https://github.com/rksm/org-ai?tab=readme-ov-file#1-allow-emacs-to-record-audio