Skip to main content

chimed - wind chimes in your UNIX environments

The chimed daemon is an equivalent of a wind chime in a Linux system. It provides a way for other programs to create various sounds with simple interfaces - interrupt signals, UDP or TCP packets, UNIX sockets.

Installation

The chimed installation requires libasound2 development files, needed to build the simpleaudio Python module.

sudo apt install libasound2-dev

You can install chimed from source in editable mode, if you want to work on it:

git clone https://github.com/drybjed/chimed ~/src/github.com/drybjed/chimed
pipx install --editable ~/src/github.com/drybjed/chimed

You can also install chimed from PyPI:

pipx install chimed

Usage

After installation, run the daemon in a terminal window:

chimed serve

You can send commands to it using a FIFO file:

# Play a bell sound
echo "chime" >> $XDG_RUNTIME_DIR/chimed/fifo

The default installation includes a set of chimes and a corresponding configuration for vim editor. You can check the lib/vim/vimrc file in the repository to see an example configuration you need to include in your ~/.vimrc configuration to integrate with chimed. There's also an example systemd unit file available, to run chimed as an user daemon.

The internal configuration can be viewed using:

chimed config get

You can put YAML, TOML and JSON files in the ~/.config/chimed/conf.d/ directory to add or modify configuration options. See lib/example-config.toml for a starting point.

Bell options

Key Default Description
resource — WAV file from the bundled package (see chimed config get bells)
min_interval 0.08 Minimum seconds between successive plays of this bell — controls the rate limit (lower = more responsive, higher = gentler on resources)

Copyright

Copyright (C) 2022-2024 Maciej Delmanowski drybjed@gmail.com

Attribution

This software includes sounds from freesound.org:

Metadata

Release files for chimed 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for chimed 0.1.2
File Interpreter ABI Platform
chimed-0.1.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / chimed-0.1.2-py2.py3-none-any.whl

Download URL chimed-0.1.2-py2.py3-none-any.whl
Size 488.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
bd10855f63bd2e2eb98f5b1e7a439fde6380c1be947fa5f0ab837fce650a6b99
BLAKE2b-256 checksum
How to use checksums
cedf3f252d8d269faae55c93edd4040caa01a71c2271943bc0cadb4ce465e143
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page