KunalBagaria / rustyvibes

A Rust CLI that makes mechanical keyboard sound effects on every key press
https://github.com/kunalbagaria/rustyvibes
MIT License
208 stars 26 forks source link

Cant get sound to work on macOS big Sur #8

Closed aaSchcolnik closed 2 years ago

aaSchcolnik commented 2 years ago

I installed the CLI via brew, followed the usage instructions writing it like this rustyvibes /Users/.../Downloads/Soundpacks/cherrymx-black-abs which is where the sound files are located, the program started running but no sound is working, the first time I ran it it asked for permissions on accesability I clicked open accesibility preferences but nothing appeared, so i searched for the rustyvibes executable which was found in /usr/local/bin/rustyvibes and I dropped it on the accesibility panel, even then it still didnt work, any ideas on how to get it to work? I downloaded MechVibes just to check it out and I enjoy it BUT its really resource intensive

aaSchcolnik commented 2 years ago

Would restarting the computer make it work?

KunalBagaria commented 2 years ago

You'll have to enable the input monitoring settings for the terminal you are using. In my case I was using the iTerm terminal. It usually appears automatically when you click the prompt, but macOS bugs it out some times.

Screen Shot 2021-10-01 at 10 48 46 AM

KunalBagaria commented 2 years ago

I'm gonna make a GUI for this app soon, so enabling permissions would be much easier

aaSchcolnik commented 2 years ago

Ah, there we go, now it started working, while a GUI is great i'd say just leave this step regarding the terminal in the README, now it's working great, thank you for your answer, its working just as good as MechVibes and it's using WAY LESS resources. Great job man!

KunalBagaria commented 2 years ago

Glad to hear it :) I'll update the readme soon.