← Notes

Building your own keyboard sound pack

Recording a keyboard well takes about twenty minutes and one decision most people get wrong — how much silence to leave at the start of the sample.

Bundled sound packs are a compromise. They are somebody else's board, recorded in somebody else's room. If you own a keyboard you like — or have access to one for an afternoon — recording it yourself gets you a sound that is actually the one you want.

The process is simple. The part that decides whether it feels right is not the recording, it is the trimming.

Recording

A phone is fine. Voice Memos on an iPhone records at a quality far beyond what a short keystroke sample needs. A dedicated microphone is better, but the difference is smaller than the difference between a quiet room and a noisy one.

Get close, but not too close. Fifteen to thirty centimetres above the board, off to one side rather than directly overhead. Too close and you get a boomy thump plus air movement; too far and you get the room.

Kill the room. Close the window, turn off anything with a fan, put a towel or a cushion under the keyboard to stop the desk resonating. A hollow desk turns every keystroke into a drum.

Record far more than you need. Press keys slowly, with a clear gap of a second or so between each. Do thirty or forty presses. You are going to throw most of them away, and having options costs nothing.

Vary the keys. Record a few from the middle of the board, a couple of edge keys and the spacebar. Even if your app plays one sound for everything, listening to several tells you which is most representative.

Choosing the samples

Listen through and pick two or three that are clean: no room noise, no finger scrape, no neighbouring key rattle. Avoid the ones where your fingernail hit the keycap — they have a click on the front that sounds wrong when repeated.

If you are picking more than one, pick samples that are close to each other in level and character. A pack where one sample is noticeably louder is more distracting than a pack with one sample.

Trimming, which is the whole thing

This is where most home-made packs fail.

Cut the silence at the start aggressively. The sample must begin at the exact moment the sound starts. Even 20 or 30 milliseconds of lead-in makes the sound feel late — your finger moves, and the noise arrives fractionally afterwards, and the effect is subtly wrong in a way people describe as "laggy" without being able to say why.

Zoom into the waveform and cut right up against the first transient. When in doubt, cut slightly into it rather than leaving silence.

Keep the tail short. A long resonant decay sounds impressive on one keystroke and turns into mush at typing speed, because each sound is still ringing when the next three arrive. Fade out quickly. For fast typists, shorter is almost always better.

Normalise, but not to the ceiling. Bring the level up so the samples are consistent, leaving some headroom. A sample that peaks at full scale will clip when layered with itself during fast typing.

Export as a common format — WAV or AIFF for quality, or a high-bitrate compressed format if file size matters. Mono is fine and halves the size; a keystroke has no meaningful stereo information at this distance.

Testing it properly

Load the pack and then actually work for twenty minutes. Do not judge it by pressing keys deliberately — that is not how you type.

What you are listening for:

  • Does it get annoying? Most packs that seem great for a minute are fatiguing by the twentieth.
  • Does it smear at speed? If fast typing turns into noise, the tail is too long.
  • Is the volume right at the level you will leave it? Almost always the answer is "lower than I first set it".

Record at a comfortable level and set the app's volume lower than feels right initially. You will stop noticing it, which is the goal.

The copyright point

Sounds you recorded yourself are yours. Sounds extracted from a game, a film, someone else's commercial pack or a YouTube video are not, and distributing a pack built from them is not something to do casually. For personal use on your own machine this is a low-stakes question; for anything you share, record your own.

Doing this in ClackSmith

ClackSmith builds local sound packs from audio files you own — you point it at the samples you trimmed and it uses them. Imported packs stay on your Mac.

It also ships with bundled packs, which are the faster answer if you do not have a board to record.

The relevant design constraint: ClackSmith reads count-only key-down and key-up values and never receives key identities or typed characters, so it does not request Input Monitoring or Accessibility permission. One practical consequence for pack-building — it cannot play a different sound for the spacebar than for a letter, because it does not know which key you pressed. Build for one representative sound rather than a per-key set.

Volume and audio output are adjustable, it runs from the menu bar, it can launch at login, and volume can be changed through Shortcuts — useful for muting it when a call starts.

Keep reading