Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

play-tape

БесплатноБез исполняемых скриптовНе проверен

Play a tape file by loading its patterns, effects, and arrangement from the tapes/ directory.

jeremyruppelот jeremyruppel★ 64 звезды на GitHub

Об этом скилле

Play Tape

This skill plays a tape — loading its patterns, effects, and routing in the correct order, then playing it as a jam or an arrangement.

When to use

When the user says play @tapes/<name>.scd or asks you to play a tape.

What's in a tape

A tape is a single file, tapes/<name>.scd:

  1. Header comment (/* ... */) — Markdown docs: title, tempo, key, elements, effects, arrangement overview, notes.
  2. Setup — ~cc.clear and ~cc.tempo(...).
  3. Definitions — Pdefs, Ndefs, motifs, samples. Defined only; nothing calls .play.
  4. Effects, routing, sidechains.
  5. Arrangement — ~arrangement = CCArrangement([...]); Assigned, not played.

Process

Step 1: Read the tape

Read tapes/<name>.scd. The header comment tells you the musical intent; the code is the source of truth.

Step 2: Ask the user how they want to play

Always ask:

  • Arrangement — Play the tape's ~arrangement (only if the file defines one)
  • Jam — Play all parts at once

If the tape has no ~arrangement, offer to create one with /arrange-tape as an alternative.

Step 3: Load the tape

Execute the tape's code via cc_execute verbatim, in chunks (setup, definitions, effects, arrangement). Don't send the header comment — it's documentation only. Executing the file never starts playback.

Step 4: Play

Arrangement:

~arrangement.play;

Jam: call .play on each Pdef and Ndef the tape defines. Pdefs pick up their own quant if the tape set one (e.g. Pdef(\fill).quant = 32); otherwise use quant: 4:

Pdef(\kick).play(quant: 4);
Pdef(\fill).play;  // tape set its quant to 32
Ndef(\drone).play;

Stopping

  • Arrangement: ~arrangement.stop
  • Jam: ~cc.stop

Optional: MIDI clock sync

If the user wants to sync external gear, enable MIDI clock before playing:

~cc.midi.connect("My Device", \out);
CCMIDIClock.enable(~cc.midi.output);

CCArrangement automatically sends MIDI clock start/stop/ticks when enabled. No extra steps needed during playback.

Key rules

  • Always ask jam vs arrangement before playing.
  • Never .play individual patterns when playing an arrangement — the arrangement handles start/stop timing.
  • Keep the SC code faithful to the tape file — don't rewrite or modify patterns.

Установить play-tape в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл play-tape?

Play a tape file by loading its patterns, effects, and arrangement from the tapes/ directory.

Как установить скилл play-tape?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл play-tape запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить play-tape с