Files
pytheory/.claude/settings.json
T
Claude c793e6147c feat: Score.ring_out() for effect tails + web SessionStart hook
Two quick wins:

- Score.ring_out([seconds]) appends trailing silence so reverb/delay
  tails ring out instead of being clipped at the last beat (resolves
  #60). Length auto-sizes to the longest effect tail across all parts
  (new play.effects_tail_seconds helper + _IR_DURATIONS table); pass an
  explicit duration to override. Opt-in via a new Score._tail_beats that
  total_beats adds after content, so seamless loops are unaffected.

- .claude SessionStart hook installs libportaudio2 + runs `uv sync` so
  the audio test suite works in Claude Code on the web (sounddevice's
  Linux wheels don't bundle PortAudio; without it the package fails to
  import and nearly every test errors).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014ijpMiuST8kXnBoB5pSu8t
2026-06-16 21:10:04 +00:00

15 lines
225 B
JSON

{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/session-start.sh"
}
]
}
]
}
}