homebrew-emacs-plus icon indicating copy to clipboard operation
homebrew-emacs-plus copied to clipboard

Play sound

Open dertuxmalwieder opened this issue 2 years ago • 4 comments

I would like to be able to play sound over Emacs's internal play-sound functionality. Emacs Plus does not let me do that by default:

play-sound: This Emacs binary lacks sound support

dertuxmalwieder avatar Sep 24 '23 23:09 dertuxmalwieder

I have a (possibly) related question. I would love to give emacs access to the microphone so I can use whisper.el. Looking at this commit it seems you've at least experimented with Camera access. Is this really as simple as adding a plist entry? The Apple Developer docs on the Hardened Runtime make it seem like some compile-time XCode tomfoolery is required. I would love to contribute, but I would need some guidance since I am not a Mac dev. Any suggestions?

christianromney avatar Feb 14 '24 15:02 christianromney

@christianromney I've merged your PR (thanks for it 🙏 ). In the case of play-sound I am pretty sure it's not about permission, but rather about implementation. Need to check if there is an implementation of this function for macos.

btw, @dertuxmalwieder did you find solution?

d12frosted avatar Feb 21 '24 06:02 d12frosted

I’m afraid not. The best thing I could find was this: https://github.com/leoliu/play-sound-osx

However, I’m not sure whether that’s more of a workaround than a solution. Does Emacs have native sound on macOS in its sources?

dertuxmalwieder avatar Feb 21 '24 10:02 dertuxmalwieder

with respect to play-sound, emacs does not.

ejmg avatar May 15 '24 20:05 ejmg