Логотип 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 по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 1

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — maximilianfeix. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Plinkfx в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/maximilianfeix/plinkfx/tree/main/skills/plinkfx
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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

Включите навык Plinkfx в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Plinkfx, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Plinkfx не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл 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.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ 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.

Зачем использовать Plinkfx в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Plinkfx — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Plinkfx в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/maximilianfeix/plinkfx/tree/main/skills/plinkfx. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Plinkfx?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Plinkfx?

С любым количеством. В TypingMind вы можете использовать Plinkfx с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Plinkfx?

Навык опубликован на GitHub. Издатель — maximilianfeix. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇