Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play sound #616

Open
dertuxmalwieder opened this issue Sep 24, 2023 · 4 comments
Open

Play sound #616

dertuxmalwieder opened this issue Sep 24, 2023 · 4 comments
Assignees

Comments

@dertuxmalwieder
Copy link

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
@christianromney
Copy link
Contributor

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?

@d12frosted
Copy link
Owner

@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?

@dertuxmalwieder
Copy link
Author

dertuxmalwieder commented Feb 21, 2024

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?

@ejmg
Copy link

ejmg commented May 15, 2024

with respect to play-sound, emacs does not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants