Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > uk.comp.sys.mac > #180321

Re: Key sounds

From David <BD@invalid.email>
Newsgroups uk.comp.sys.mac
Subject Re: Key sounds
Date 2025-02-18 09:13 +0000
Message-ID <m1j19rFojf3U4@mid.individual.net> (permalink)
References <vp1h5e$1kf61$1@dont-email.me>

Show all headers | View raw


On 18/02/2025 08:42, John Hill wrote:
> I would like to hear a click when I press a key on the keyboard. I have
> searched among the plethora of options in System Settings. One or two that
> looked promising (mainly in acessibility) have been ineffective.
> 
> Is there an option for this and if so where is it hiding?

Hi John

macOS doesn't have a built-in option specifically for producing a click 
sound when pressing keys.

For a key click sound, you would likely need to use a third-party 
solution. One of the most popular tools to customize keyboard behavior 
on macOS is Karabiner-Elements, which allows for various tweaks, 
including sounds for key presses.

**Karabiner-Elements** is a powerful and versatile keyboard 
customization tool for macOS. It allows you to remap keys, modify key 
behavior, and add additional functionality to your keyboard. It's 
commonly used for advanced users who want to fine-tune their keyboard 
settings, including adding key press sounds.

### Features of Karabiner-Elements:
1. **Key Remapping**: You can remap any key to perform a different 
function or create custom shortcuts.
2. **Key Modifiers**: Customize how modifier keys (like Shift, Command, 
Option) behave or even create complex combinations.
3. **Advanced Configuration**: It supports complex conditions for key 
actions based on specific apps or other variables.
4. **Multiple Profiles**: You can set up different configurations for 
various situations or applications and switch between them easily.
5. **Key Repeat & Delay Customization**: Adjust the speed at which keys 
repeat when held down.
6. **Sounds & Feedback**: Although Karabiner-Elements itself doesn't 
directly produce a typing click sound, it can be configured with 
additional scripts to make a sound when a key is pressed.

### Installing Karabiner-Elements:
1. **Download**: Go to [Karabiner-Elements' official 
website](https://github.com/pqrs-org/Karabiner-Elements) and download 
the latest version.
2. **Install**: Open the downloaded file and follow the on-screen 
instructions to install the application.
3. **Allow Permissions**: Since Karabiner-Elements modifies system 
settings, you'll need to grant it some accessibility and security 
permissions in **System Settings > Security & Privacy**.

### Adding Key Press Sound:
Karabiner-Elements allows users to add custom scripts and 
configurations. You can modify it to trigger a sound effect upon 
pressing keys by following a few steps:

1. **Open Karabiner-Elements**: Launch the app after installation.
2. **Go to the "Complex Modifications" Tab**: Karabiner includes a 
repository of pre-built modifications, and you can add custom rules to them.
3. **Create a Custom Rule**: You'll need a script (e.g., an AppleScript 
or a sound-playing command) that plays a sound whenever a key is pressed.
4. **Apply the Rule**: Once your script is set up, you can activate it 
and listen for a click sound when typing.

### Example: Using AppleScript for Key Press Sound
To generate a sound on key press, you can add a simple AppleScript like 
this:
```applescript
do shell script "osascript -e 'beep'"
```
This will cause your system to produce the default macOS "beep" sound 
whenever a key is pressed, but you can substitute with any other sound 
if you wish.

### Final Thoughts:
While **Karabiner-Elements** is an advanced tool that can provide 
substantial control over your keyboard, adding a key press sound is not 
part of the default features. It requires some customization via 
scripts. However, once set up, it offers powerful functionality that 
might suit your needs if you're willing to experiment with these 
advanced features.

=

This information obtained from ChatGPT - NOT my own work! ;-)

It also asks .....

Would you like detailed steps for adding a key press sound or any 
specific help setting this up?

-- 
Warm regards,
David in Devon!

Back to uk.comp.sys.mac | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Key sounds John Hill <watcombeman@yahoo.co.uk> - 2025-02-18 08:42 +0000
  Re: Key sounds David <BD@invalid.email> - 2025-02-18 09:13 +0000
  Re: Key sounds Bruce <07.013@scorecrow.com> - 2025-02-18 16:02 +0000
    Re: Key sounds David <BD@invalid.email> - 2025-02-18 16:23 +0000
    Re: Key sounds John <Man@the.keyboard> - 2025-02-18 23:02 +0000
      Re: Key sounds John Hill <watcombeman@yahoo.co.uk> - 2025-02-19 09:34 +0000
        Re: Key sounds John <Man@the.keyboard> - 2025-02-19 11:09 +0000
    Re: Key sounds John Hill <watcombeman@yahoo.co.uk> - 2025-02-19 09:16 +0000
      Re: Key sounds David <David@home.today> - 2025-02-20 12:01 +0000
    Re: Key sounds Yeechang Lee <ylee@columbia.edu> - 2025-11-04 11:21 -0800

csiph-web