General
PromptBeginner5 minmarkdown
<h1 align="center">
<a href="https://prompts.chat">
5
A collection of audio synthesis tools, compositions, and Claude Code integrations for Linux audio development.
Sign in to like and favorite skills
A collection of audio synthesis tools, compositions, and Claude Code integrations for Linux audio development.
This project provides:
audio/ ├── csound/ # Csound compositions and scripts │ ├── wide_horizons.csd # 2-min multi-genre composition │ ├── fm_bell.csd # FM synthesis demonstration │ ├── explorations.csd # Experimental sound textures │ ├── test_tone.csd # Basic test tones │ └── play.sh # Csound playback helper │ ├── supercollider/ # SuperCollider compositions and tools │ ├── wide_horizons.scd # 2-min multi-genre composition │ ├── generate_sounds.scd # Hook sound generator │ ├── play_hook_sound.sh # Hook sound player (uses FLAC) │ ├── hook_sounds.scd # SynthDef definitions │ ├── start_superdirt.scd # SuperDirt startup script │ └── sounds/ # Pre-rendered hook sounds (FLAC) │ ├── PreToolUse.flac │ ├── PostToolUse.flac │ ├── SessionStart.flac │ ├── SessionEnd.flac │ ├── UserPromptSubmit.flac │ ├── Stop.flac │ ├── SubagentStop.flac │ ├── PreCompact.flac │ ├── Error.flac │ └── Notification.flac │ ├── tidal/ # TidalCycles patterns ├── strudel/ # Strudel live coding setup ├── fluidsynth/ # FluidSynth scripts │ ├── audio-ctl.sh # Master audio control script └── README.md # This file
pw-jack)pw-play for FLAC playback)pacman -S csound)pacman -S supercollider)# Using Csound csound ~/Development/scripts/audio/csound/wide_horizons.csd # Using SuperCollider pw-jack sclang ~/Development/scripts/audio/supercollider/wide_horizons.scd
# Using the control script ./audio-ctl.sh mute # Mute hook sounds ./audio-ctl.sh unmute # Unmute hook sounds ./audio-ctl.sh status # Check status ./audio-ctl.sh list # List available compositions ./audio-ctl.sh play wide_horizons
cd supercollider/ pw-jack sclang generate_sounds.scd # Convert WAV to FLAC (SuperCollider outputs 32-bit float WAV) cd sounds/ for f in *.wav; do ffmpeg -y -i "$f" -c:a flac -sample_fmt s32 "${f%.wav}.flac" done rm *.wav
Install to
~/.claude/commands/ for global availability:
| Command | Description |
|---|---|
| Mute hook sounds |
| Unmute hook sounds |
| Test all hook sounds |
| Check audio system status |
| Play a composition |
| Create new music |
| Access documentation |
Add to
~/.claude/settings.local.json:
{ "hooks": { "PreToolUse": [{ "matcher": "*", "hooks": [{ "type": "command", "command": "~/Development/scripts/hooks/PreTool.hook" }] }] } }
A 2-minute multi-genre composition blending:
Available in both Csound and SuperCollider versions.
Hook sounds are designed to be:
| Level | Hooks | Rationale |
|---|---|---|
| Loud | SessionStart, SessionEnd, Error | Ceremonial/alert |
| Medium | PostToolUse, UserPromptSubmit, Stop, Notification | Acknowledgment |
| Soft | PreToolUse, SubagentStop, PreCompact | Background events |
Personal project - feel free to use for inspiration.
Compositions and tools created collaboratively with Claude (Anthropic).
"The machine computed frequencies. The human heard horizons."