Plinkfxのロゴ

Plinkfx

コミュニティ
maximilianfeix
plinkfx

Design, render and measure game sound effects as code with plinkfx. Use when the user wants a sound effect for a game or UI ("a heavy door for a dungeon", "a softer coin", "a laser that sounds like 1985"), wants to tweak an existing plinkfx sound, or needs WAV/OGG files of game sounds. Produces a plinkfx parameter object plus a WAV, checked against loudness and peak limits. Runs locally through the plinkfx CLI; no network, no AI audio models.

概要

公開者maximilianfeix
リポジトリplinkfx
スキル名plinkfx
スター
113
フォーク
13
同梱ファイル
1
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

plinkfx: sound effects as code

plinkfx sounds are small JSON objects (layers of oscillators or noise with envelopes, pitch sweeps, filters and a few effects) that a 3.1 kB player renders in the browser, and the plinkfx CLI renders to WAV. You design a sound by writing that object, rendering it, measuring it, and adjusting.

You cannot hear. Say so once. Your checks are numbers and spectrograms; the user's ears decide. Always hand the user the WAV and ask them to listen before calling a sound done.

0. Setup (once)

bash
npx plinkfx --version          # or: npm i -D plinkfx

Everything below uses npx plinkfx. Inside the plinkfx repo itself use node dist/cli.js.

If the plinkfx MCP server is connected (claude mcp add plinkfx -- npx -y plinkfx mcp), its tools do the same work without a shell: list_sounds, show_sound, render_sound (with png: true you get the picture back), measure_sound and check_sound. They take a catalogue name or the recipe object itself.

1. Start from the catalogue

274 sounds in 21 categories already exist and are tuned (four of them seamless loops). Reuse before you invent.

bash
npx plinkfx list               # all sounds: name, category, description
npx plinkfx list mechanic      # one category: ui pickup jump hit explosion powerup shoot footstep magic alert jingle mechanic world creature nature card vehicle horror farm scifi puzzle
npx plinkfx show door-heavy    # the parameter object

If a sound is close, copy its object and change it. Pick the nearest sound as your reference for step 3.

2. Write the sound

Save it as sounds/<name>.json in the user's project (create the folder). Read reference.md for every field, the defaults and recipes per category. The essentials:

json
{
  "verb": [0.6, 0.3],
  "layers": [
    { "wave": "saw", "freq": 30, "to": 45, "vib": [2.5, 3], "bp": 700, "q": 6, "a": 0.1, "h": 0.5, "d": 0.2 },
    { "wave": "brown", "lp": 300, "at": 0.8, "a": 0.001, "d": 0.6, "shape": 2.5, "gain": 1.6, "drive": 1 },
    { "wave": "sine", "freq": 70, "to": 32, "at": 0.8, "a": 0.001, "d": 0.5, "drive": 1.5 }
  ]
}

Think in layers, like a sound designer: transient (1-30 ms click or noise burst) + body (the pitched or filtered part that says what it is) + tail (decay, reverb, echo). Cheap-sounding sounds are usually one layer with a linear decay.

3. Render, measure, compare

bash
npx plinkfx level sounds/door.json --like door-heavy   # sets "gain": reference loudness, true peak <= -1 dBTP
npx plinkfx measure sounds/door.json --like door-heavy
npx plinkfx check sounds/door.json --cat mechanic        # clicks, cut tail, DC, clipping, padding, loudness
npx plinkfx render sounds/door.json -o door.wav --png door.png

measure prints duration, loudness (max momentary LUFS), integrated LUFS, peak, true peak, spectral centroid (brightness) and DC, next to the reference. Before rendering, write down the target in one line, for example: "0.9-1.3 s, dark (centroid under 900 Hz), thud at the end, loudness near the reference". Then compare:

Measured vs. targetChange
too long / shortd, h, at of the layers; tail comes from verb size and echo feedback
too brightlower lp/lpTo, fewer square/saw/noise layers, less drive
too dullraise lp, add a noise layer with hp 3000+, or a square/saw layer
no punchadd a 5-30 ms transient layer (noise + hp, a: 0.001), add a sine thump (freq 60-150 to 35-50)
true peak above -1 dBTP, or loudness offrun npx plinkfx level again after every change
sounds static when repeatedraise vary (semitones between takes, default 0.4)

check must print no fail lines (it exits 1 if it does). Fix every failure before you deliver. The hint after each one says what to change. Warnings are for judgement: a 30 ms lead-in on a slow door is fine.

Look at door.png: waveform on top (full height = 0 dBFS), log spectrogram below with lines at 100 Hz, 1 kHz and 10 kHz. A click shows as a bright vertical line at the very start. Aliasing shows as mirrored diagonal lines. A tail that stops dead ends in a straight vertical edge instead of fading. See reference.md for more.

Iterate at most 5 rounds. Keep a short log of what you changed and why.

4. Deliver

Give the user:

  1. the file sounds/<name>.json,
  2. <name>.wav (plus --variant 1..3 takes if they want variety),
  3. the last measure and check output,
  4. how to play it:
js
import { play } from "plinkfx/core";
import door from "./sounds/door.json" with { type: "json" };
play(door);

play() skips a repeat of the same sound within 30 ms (cooldown) and keeps at most 4 copies playing (voices); both are options. It returns a voice (stop(fade), rate(r)) or undefined when skipped.

  1. one sentence: "I can't hear it: please listen and tell me what to change (darker, shorter, more punch...)."

For files for an engine: npx plinkfx export assets/sfx --format both writes every catalogue sound as 48 kHz mono WAV and OGG. In Godot, keep the import's Normalize off; in Unity, use Decompress On Load for short sounds and leave Force To Mono off (the files are mono already; it can re-normalise them).

Don'ts

  • Don't copy presets or samples from other tools or packs unless their licence allows it.
  • Don't claim a sound "sounds great". Report the numbers and let the user listen.
  • Don't exceed -1 dBTP or ship one-shots longer than about 4 s. Ambience and engines are loops: see "Loops" in reference.md.
  • Don't deliver a sound that plinkfx check fails.

同梱ファイル

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

よくある質問

AIスキル「Plinkfx」では何ができますか?

Design, render and measure game sound effects as code with plinkfx. Use when the user wants a sound effect for a game or UI ("a heavy door for a dungeon", "a softer coin", "a laser that sounds like 1985"), wants to tweak an existing plinkfx sound, or needs WAV/OGG files of game sounds. Produces a plinkfx parameter object plus a WAV, checked against loudness and peak limits. Runs locally through the plinkfx CLI; no network, no AI audio models.

TypingMindでPlinkfxを使うメリットは何ですか?

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

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

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

Plinkfxを使えるAIモデルはどれですか?

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

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

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

AIスキル「Plinkfx」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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