شعار 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

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها maximilianfeix على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Plinkfx في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ 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؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Plinkfx معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Plinkfx مجانية؟

نشرها maximilianfeix على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇