nowfound

Dev tools · September 18, 2024

CW

Chimed – wind chimes in your Linux environments

Have you ever played a game or watched a TV show/movie where certain actions like button presses or other events produced different sounds? This is usually done for audience's benefit (more action on screen) or in a game, to enforce the game loop. I wondered if sound effects could be useful in a work environment, in my case `vim`, to influence my brain in a similar way a game loop does things, and make working more "interesting" than procrastination. So I wrote 'chimed', a Python daemon that lets me play sounds on command and added `autocmd` options in `vim` to play sounds when…

What it does

In the maker’s words, at launch

Have you ever played a game or watched a TV show/movie where certain actions like button presses or other events produced different sounds? This is usually done for audience's benefit (more action on screen) or in a game, to enforce the game loop. I wondered if sound effects could be useful in a work environment, in my case `vim`, to influence my brain in a similar way a game loop does things, and make working more "interesting" than procrastination. So I wrote 'chimed', a Python daemon that lets me play sounds on command and added `autocmd` options in `vim` to play sounds when entering/leaving Insert mode or command line, adding text, yanking, etc. The idea is simple - load small `.wav` files into memory to make latency as small as possible and play them when certain events occur on inputs (and learn how daemons work in Python). Currently the only input is a FIFO, daemon expects specific configurable strings and plays a set of sounds found on https://freesound.org/. This could be expanded in the future to inputs over UDP or TCP, I had also an idea to create a set of process threads which could listen for certain interrupts and play a specific sound, like a set of "bells" in a "wind chime", which could be activated randomly. I'm sure many more ideas could be implemented later. You can find `chimed` on GitHub, it's also available on PyPI as `chimed`.[1] I tested the installation using `pipx` in a clean Debian Bookworm environment, but if there are issues with installation please let me know in the comments. To integrate it with `vim` you can use an example configuration file [2]. See the README.md file for more details. [1]: https://pypi.org/project/chimed/0.1.0/ [2]: https://github.com/drybjed/chimed/blob/master/lib/vim/vimrc

Does the same job

all alternatives →

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 1d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, September 2024

the whole month →
  • Wispr Flow2,737

    Speak naturally, write perfectly & 3x faster in every app

    AI · 2024 · wisprflow.ai

  • Pathway1,335

    Get user insights 10x faster

    Work · 2024 · wynde.io

  • Personalized AI daily planning that suits your life

    AI · 2024 · beforesunset.ai

  • Osmos1,194

    Match with like-minded professionals for 1:1 conversations

    Growth · 2024

  • Polar1,169

    An open source monetization platform for developers

    Dev tools · 2024 · polar.sh

  • Carrot Care1,167

    Understand & optimise your bloodwork

    Life & fun · 2024 · carrotcare.health