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

Using Microphone with Complex Modification #4082

Open
EvanZhouDev opened this issue Dec 31, 2024 · 1 comment
Open

Using Microphone with Complex Modification #4082

EvanZhouDev opened this issue Dec 31, 2024 · 1 comment

Comments

@EvanZhouDev
Copy link

When I try to record audio with a Shell Command, as such, the microphone does not capture any audio. I am not sure if this is a Karabiner Element issue?

{
    "description": "Record Something",
    "manipulators": [
        {
            "from": {
                "key_code": "a",
                "modifiers": { "mandatory": ["left_shift", "left_command", "left_control", "left_option"] }
            },
            "to": [{ "shell_command": "/opt/homebrew/bin/sox -d somewhere/output.wav trim 0 10" }],
            "type": "basic"
        }
    ]
}
@tekezo
Copy link
Member

tekezo commented Jan 1, 2025

You may need to grant microphone access to karabiner_console_user_server to allow recording with sox.
https://support.apple.com/guide/mac-help/control-access-to-the-microphone-on-mac-mchla1b1e1fe/mac

karabiner_console_user_server is located at /Library/Application Support/org.pqrs/Karabiner-Elements/bin/karabiner_console_user_server.

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

No branches or pull requests

2 participants