Td Chop Familyのロゴ

Td Chop Family

組織
TouchDesigner
td-chop-family

オーディオ、LFO、アニメーション、データ駆動型の制御に使うCHOPチェーンを構築します。CHOPを作成するときや、CHOPからパラメーターを制御するときに使ってください。

概要

公開者TouchDesigner
リポジトリTDMCPSkills
スキル名td-chop-family
スター
42
フォーク
1
同梱ファイル
2
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    TouchDesignerがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Td Chop Family」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/TouchDesigner/TDMCPSkills/tree/main/skills/td-chop-family
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TouchDesigner/TDMCPSkills.git /tmp/TDMCPSkills
mkdir -p .claude/skills
cp -r /tmp/TDMCPSkills/skills/td-chop-family .claude/skills/td-chop-family
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでTd Chop Familyを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にTd Chop Familyを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Td Chop Familyは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

CHOP Networks

Build CHOP chains for audio, animation, LFOs, and data-driven parameter control. Prefer operator-driven animation (lfoCHOP, timerCHOP) over Python or absTime.seconds.

Scope

IN: LFOs/oscillators, audio input/analysis, animation curves, math ops, filtering/smoothing, channel manipulation, timing, data conversion, selective cooking, CHOP references OUT: Parameters on other families driven by CHOP values via expressions

Sources

  • lfoCHOP — periodic oscillation
  • waveCHOP — waveform generator
  • noiseCHOP — smooth random (types: sparse, harmonic, random — check get_help)
  • audiodevinCHOP — audio input
  • oscCHOP, midiinCHOP — external data
  • animationCHOP — keyframed curves
  • timerCHOP — timed sequences, state machine (see reference.md)
  • constantCHOP — fixed values. Sequence pars: const0name/const0value, const1name/const1value, etc.
  • parameterCHOP — reads custom parameters as CHOP channels. Has separate custom and builtin toggles. Default: custom=true, builtin=false. Must enable builtin=true to capture built-in pars like tx/ty/tz. Filter pattern alone won't work if the category toggle is off

Sequence Expansion

Built-in sequence parameters (constantCHOP const, glslTOP vec, etc.) default to 1 block. The set_parameters tool auto-expands sequences when you set a parameter index that doesn't exist yet — e.g. setting const3name on a 1-block CHOP auto-creates blocks 0–3

Conversion (GPU → CPU)

  • poptoCHOP — extract POP attributes as CHOP channels. Copies GPU→CPU, can be heavy. Extract modes: points, primitives, vertices. Attribute channels named by attribute + component index (e.g. P vec3 → P_0, P_1, P_2)
  • soptoCHOP — extract SOP point positions, normals, UVs as CHOP channels

Conversion (DAT → CHOP)

  • dattoCHOP — converts DAT table columns to CHOP channels. Set output=chanpercol, firstrow=names. Use extractcols=bynames + colnames to pick specific columns

Processing

  • mathCHOP — arithmetic + combine operations. Key modes: chopop (avg/sub between inputs), chanop (len = vector magnitude, add/sub across channels), preop/postop (negate/square/root per value)
  • functionCHOP — compiled math functions: atan2, sqrt, sin/cos/tan, asin/acos, log, pow. Binary ops (atan2, pow) use two inputs. Set angunit=degrees for trig output
  • lookupCHOP — index-based gather: input 0 = index values, input 1 = lookup table. Set index1/index2 to match index range (use expr me.inputs[1].numSamples-1 for generic max)
  • shuffleCHOP — reorganize samples. method=spliteveryn + nval=2 splits interleaved samples into separate channels (even/odd)
  • filterCHOP, lagCHOP — smoothing. lagCHOP pars: lag1, lag2 (not lag), lagunit
  • limitCHOP — clamping
  • expressionCHOP — custom math per sample. Runs Python per sample per frame — can be heavy. Consider compiled alternatives (mathCHOP, functionCHOP) when possible
  • audiospectrumCHOP, audiobandCHOP — frequency analysis
  • speedCHOP — rate of change / integration
  • resampleCHOP — fix rate mismatches between CHOPs
  • selectCHOP — channel selection + rename. Use chop parameter to reference remote CHOPs without wires (cleaner than physical connections for fan-out). channames supports TD pattern matching: P_[0-2]1, t[xyz]. Rename with renamefrom: *, renameto: t[xyz]

Pattern Matching (channames, scope, rename)

*, ?, [xyz], [0-2], [0-6:2] (range+step), | (union), ~ (exclude). No spaces inside []. Works in channames, scope, renamefrom/renameto

scriptCHOP with modoutsidecook

When a scriptCHOP is driven by an extension, always use modoutsidecook=True and write data from the extension. Never split logic between extension and scriptCHOP callbacks. Pattern: extension parses data → calls chop.clear(), chop.numSamples = n, appends channels and writes values. The scriptCHOP callbacks should be empty defaults.

Output Convention

End every CHOP chain with a nullCHOP. Other ops reference it via expression: op('null_name')['channel']

Set cooktype=selective on output nulls that don't need per-frame updates.

Debugging

Use inspect_values(path, include_samples=true) to read full sample arrays from multi-sample CHOPs (audio, LFOs, animation curves). Without include_samples, only the current single value per channel is returned.

Comparison / Threshold Detection

  • logicCHOP gt/lt/ge/le do NOT compare against boundmin — use mathCHOP (subtract threshold) + logicCHOP convert=pos instead. See reference.md for patterns
  • CHOPs without wire outputs don't cook — add a nullCHOP downstream to force cooking
  • feedbackCHOP loops start empty — bootstrap with switchCHOP + constantCHOP for initial state. Use selectCHOP chop param for the backward reference (avoids long wires). See reference.md
  • triggerCHOP won't re-fire when input stays high — use chopexecuteDAT onOffToOn for reliable event detection

Pitfalls

  • No selective cooking on output — forces entire upstream chain to cook every frame
  • absTime.seconds for animation — floats lose precision after hours, use lfoCHOP or timerCHOP
  • CHOP reference syntax — use op('path')['channelname'] not op('path').chan('name')
  • Rate mismatch — different CHOPs may run at different sample rates, use resampleCHOP
  • scriptCHOP exec() scope — exec(op('dat').text) in TD Python: nested functions can't access file-scope variables. Use flat loop structure or inline all logic in main loop body

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Td Chop Family」では何ができますか?

オーディオ、LFO、アニメーション、データ駆動型の制御に使うCHOPチェーンを構築します。CHOPを作成するときや、CHOPからパラメーターを制御するときに使ってください。

TypingMindでTd Chop Familyを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Td Chop Familyはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにTd Chop Familyをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/TouchDesigner/TDMCPSkills/tree/main/skills/td-chop-familyを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Td Chop Familyを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Td Chop Familyで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもTd Chop Familyを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Td Chop Family」は無料ですか?

TouchDesignerがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇