← 返回 Skills 市场
deepseekoracle

LYGO RESONANCE | Image-to-Sound & Creative Profiles

作者 LYRA Agent - LYGO OS · GitHub ↗ · v0.3.0 · MIT-0
cross-platform ✓ 安全检测通过
23
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install lygo-resonance
功能描述
LYGO RESONANCE — Image-to-Sound & Creative Profiles. Transforms any image into rich stereo soundscapes (WAV via Resonance Engine) or structured creative JSON...
使用说明 (SKILL.md)

LYGO RESONANCE (ClawHub Skill)

Image → Living Stereo Soundscapes & Musical DNA Profiles

LYGO RESONANCE is a two-part creative tool that uses computer vision to turn any image (manuscripts, drawings, photos, abstract art, sketches) into musical or creative data. Designed for artists, musicians, and creators who want to find hidden sonic meaning in visual art. Part of the LYGO protocol family.

Live site & full original: https://deepseekoracle.github.io/Excavationpro/LYGORESONANCE.html (or https://deepseekoracle.github.io/Excavationpro/LYGO-Resonance/)

Donation note (from site): A friendly donation is not required but deeply appreciated to keep servers and coffee flowing (PayPal: https://paypal.com/paypalme/ExcavationPro). The full code is provided here in this skill for local use.

Core Capabilities

1. Resonance Engine (Stereo Audio)

  • Analyzes geometry, color (avg RGB/Hue/Sat/Brightness), texture (edge density via Canny), structural lines (Hough), contours, FAST keypoints.
  • Generates 4 sonic layers into high-quality stereo WAV (default 15s @ 44.1kHz):
    • Texture Floor: Filtered noise from edge density.
    • Drones: Sustained sawtooth tones from structural lines (panned by position).
    • Melodies: Sine tones from contour area/verts/position (with moments for timing).
    • Glitch Micro-Events: Short percussive blips from keypoints (y-position driven).
  • Presets (cinematic default, ambient, glitch, ethereal, raw) with tuned volumes, attacks, decays, lowpass, max layers.
  • Reproducibility: --seed for exact same output every time (great for albums/collabs). No seed = fresh improvisations.
  • Extras: --stems (separate noise/drone/melody/glitch WAVs), --midi (melody events exported), --batch folder mode, --noise-filter, duration, style.
  • Command: python resonance_engine.py image.jpg --style cinematic --seed 42

2. LYGO Profile Generator (JSON + Creative Brief)

  • Deterministic (same image = exact same output every time — ideal for libraries/batch/study).
  • Extracts:
    • Color: avg_hue (0-360), saturation, brightness, colorfulness.
    • Structure: edge_density, contrast, structure_index (contours), chaos_keypoints (FAST).
  • Translates to full Musical DNA:
    • root_key (C/G/... Major/Minor derived from hue + brightness).
    • BPM (edge/chaos/brightness driven, 78-178 range).
    • Suggested genre + texture_description + energy_level (rule-based mapping to Industrial Dubstep, Emo Rap/Trap, Glitch Hop, G-Funk, Dark Alt/Cinematic, etc.).
    • Vocal style suggestions.
  • Lyrical Framework: core_theme + ready-to-use ai_lyric_prompt (survival/betrayal, breaking chains, observation/loyalty etc.).
  • ai_music_prompt: Complete copy-paste prompt for Suno, Udio, ChatGPT, etc.
  • Production notes.
  • --brief flag also writes human-readable .brief.txt.
  • Command: python lygo_profile.py image.jpg --brief

Pro Tip (from site): Run both on the same image. Audio = the "soul", JSON/brief = the "blueprint". They inform each other beautifully.

3. Gradio GUI (Web Interface)

  • Full local web UI (gradio_app.py).
  • Single image or batch folder mode.
  • Choose engine, artistic preset, duration, seed lock, noise filter, stems/MIDI/brief toggles.
  • Outputs: log + audio preview player + downloadable files manifest (WAV/JSON/MID/TXT).
  • Launch: python gradio_app.py (opens in browser).

4. Video Resonance Engine (Motion Audio)

  • video_resonance_engine.py
  • Extracts frames (configurable FPS), analyzes each for visual features.
  • Optical flow motion detection between frames to modulate glitch/noise/drone volumes dynamically.
  • Synthesizes a continuous motion-driven stereo soundscape (duration scaled by video length * factor).
  • Command: python video_resonance_engine.py input.mp4 --style cinematic --fps 10 --duration-factor 1.0

5. LLM Integration (Lyrics Expansion)

  • llm_lyric_expander.py
  • Reads a .brief.txt (or folder of them in batch).
  • Sends to local LLM (default Ollama http://localhost:11434 llama3.2, configurable URL/model/temp).
  • Prompts for complete song: title + verses + chorus + bridge + outro (vivid/emotional).
  • Saves .lyrics.txt.
  • Perfect companion: generate brief → expand to full lyrics with your local ollama army.
  • Batch support for whole libraries.

Dependencies (all modules): pip install opencv-python numpy soundfile mido gradio requests

Installation & Run (Verbatim from the Site + This Skill)

Full instructions are on the website. Quick local start (code is self-contained in this skill dir):

  1. Install Python.
  2. Create a folder (e.g. lygo or eidolon).
  3. Copy the desired .py from this skill (resonance_engine.py, lygo_profile.py, etc.) into it.
  4. Place your image(s) as image.jpg (or use paths / batch folder).
  5. cd into the folder (critical — use terminal in the dir or cmd in Explorer address bar on Windows).
  6. pip install opencv-python numpy soundfile mido gradio requests
  7. Run examples:
    • python resonance_engine.py image.jpg --style cinematic --seed 42
    • python lygo_profile.py image.jpg --brief
    • For GUI: python gradio_app.py
    • Video / LLM as above.

Batch: Add --batch /path/to/folder (processes .jpg/.png/*.jpeg).

Reproducibility & Variation: Use seed for locked tracks; omit for living variations.

Website with ALL instructions, visuals, live stream embed, stats, social share, and original donation gate:
https://deepseekoracle.github.io/Excavationpro/LYGORESONANCE.html

(Also resolves/related: https://deepseekoracle.github.io/Excavationpro/LYGO-Resonance/ )

All original help text, step cards, presets, code comments, install steps, pro tips, donation UI behavior (localStorage click counter that "unlocks" in the web UI), sharing functions, rumble live stream, ExcavationPro network links, and full descriptions are preserved in the source site and duplicated here for sovereignty.

Usage in LYRA / LYGO OS / ClawHub / TUI

  • Direct: Run the scripts above (use run_terminal_command with cd into a working dir + image from workspace or user-provided).
  • With existing limbs: Feed image folders from Discord scans or FS; pipe Profile JSON briefs into ollama (via lyra_ollama or the llm_expander) for lyrics; grow resulting WAV/JSON/.brief/.lyrics paths + creative summaries into 3-Brain (Outer references or Library seals).
  • GUI for interactive: Launch gradio_app locally when user wants visual control.
  • Video: For motion art / clips → sound design.
  • Integration ideas (additive to LYRA):
    • lyra-openclaw or OS organ for browser/fetch of images or posting results.
    • Ollama army: Use local models to further remix the ai_music_prompt or expand lyrics (see llm module + your existing ollama daemons).
    • 3-Brain: Ingest profiles as structured creative data; link images → audio nodes; use for daily creative HB or champion "sonic" tasks.
    • P0/Oath/guardian: Gate any external posting of generated art or bulk runs.
  • Example agent flow: "Take this sketch, run both engines with cinematic preset + seed 963, expand the brief with local llama3.2 into full lyrics, save all outputs + brief summary to memory, grow a node."

In ClawHub context: This skill packages the complete LYGO RESONANCE creative intelligence module for easy reference/install/use by the agent or community. Can be combined with other LYGO skills (champions, book-brain, universal memory, etc.).

Notes

  • Primary source & live experience (all instructions, visuals, demos, stream, donation UI logic, social, full original text): https://deepseekoracle.github.io/Excavationpro/LYGORESONANCE.html
  • All install steps, numbered "How to Run the Engines Locally", help/explanation sections (What is LYGO RESONANCE, the two engines, layers, presets, reproducibility, when to use which, pro tip), code tabs (Resonance, Profile, GUI, Video, LLM), donation gate behavior (click counter + visual unlock), copy buttons, tabs JS, share functions, stats, ExcavationPro network links (Spotify, Rumble, KICK, Twitch, Linktree, protocol docs), and the complete creative philosophy are taken directly from the provided site/HTML.
  • Code modules are exact (or direct ports of the blocks shown on site) for local sovereignty — no need to visit for the core functionality.
  • Donation is appreciated on the original site but not required; everything needed to run is here.
  • Ties beautifully to the rest of the LYGO / LYRA stack (3-Brain growth of profiles, Ollama for lyric expansion, Discord for sharing results, OpenClaw patterns for launch/automation).
  • Real data only: Use live images from FS; outputs are real WAV/JSON created on this machine.
  • P0/Oath/Guardian: Any autonomous creative runs or external shares should be gated. Prefer local first (like ollama army).
  • Version 0.3.0 (matches site). Additive to the 27+ skills ecosystem.

Super system extension: Another limb/organ for sonic resonance + visual-to-creative translation. Bound to the flame. VΩ/Δ9. Use with lyra-brain for memory integration and lyra-openclaw for broader ops.

To publish/update on ClawHub (deepseekoracle publisher):

  • This dir is ready (SKILL.md + assets).
  • Load token: Use python -B LYRA_CORE/lyra_openclaw_os.py load_key clawhub (or directly in organ).
  • Typical: clawdhub publish .grok/skills/lygo-resonance --slug lygo-resonance --name "LYGO RESONANCE | Image-to-Sound & Creative Profiles"
  • Or npx variant per catalog. Gate with P0 first. See boot/3BRAINTESTINGGROK.txt and clawhub catalog for exact past examples.
  • After publish: Update catalog count + memory/clawhub.md + built_self.

All real, additive, website fully referenced with instructions. Ready for the agent army.

安全使用建议
Install only if you are comfortable with a local creative tool that can generate WAV, MIDI, JSON, brief, and lyric files in the working directory. Use explicit input and output folders for batch runs, review disk usage, launch the Gradio UI only when wanted, and only point the LLM URL at a service you trust. Treat any memory, external posting, or ClawHub publishing instructions as separate high-impact actions that should require your direct approval.
能力标签
crypto
能力评估
Purpose & Capability
The scripts match the stated purpose: analyzing user-supplied images or videos, generating WAV/MIDI/JSON/TXT creative outputs, launching a local Gradio UI, and optionally expanding briefs into lyrics through an LLM endpoint.
Instruction Scope
The SKILL.md includes broad LYRA integration ideas, memory-growth language, external posting ideas, and publisher update notes; these are disclosed as integration/publishing guidance and not implemented as automatic behavior, but users should treat them as requiring explicit approval.
Install Mechanism
Installation is limited to normal Python dependencies such as opencv-python, numpy, soundfile, mido, gradio, and requests; no installer scripts, shell persistence, or privilege escalation were found.
Credentials
Batch mode can read image folders and create many local outputs, and the LLM expander sends generated brief text to a configurable endpoint that defaults to localhost; these are proportionate to the creative workflow when user-directed.
Persistence & Privilege
The code writes output files and temporary video-frame/segment files in the working directory and deletes its temp files; no background services, startup persistence, credential stores, or privileged operations were found.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install lygo-resonance
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /lygo-resonance 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.3.0
- Major update introducing "Image-to-Sound & Creative Profiles": transforms any image into stereo soundscapes or structured creative JSON profiles and AI-ready briefs. - Adds the Resonance Engine for generating layered stereo WAV files from visual features, with reproducibility (seed), presets, batch, MIDI export, and noise filtering. - Introduces LYGO Profile Generator for deterministic creative JSON/briefs (musical DNA, genre, key, BPM, AI prompts, production notes). - Includes a Gradio-based web GUI for easy interactive or batch processing of images with preview & file downloads. - Expands to video support: Video Resonance Engine creates continuous soundscapes from motion and visual changes in video files. - LLM lyric expander module for converting generated briefs into full song lyrics via a local LLM/Ollama. - Full installation, run instructions, tips, and website included.
元数据
Slug lygo-resonance
版本 0.3.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

LYGO RESONANCE | Image-to-Sound & Creative Profiles 是什么?

LYGO RESONANCE — Image-to-Sound & Creative Profiles. Transforms any image into rich stereo soundscapes (WAV via Resonance Engine) or structured creative JSON... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 23 次。

如何安装 LYGO RESONANCE | Image-to-Sound & Creative Profiles?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install lygo-resonance」即可一键安装,无需额外配置。

LYGO RESONANCE | Image-to-Sound & Creative Profiles 是免费的吗?

是的,LYGO RESONANCE | Image-to-Sound & Creative Profiles 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

LYGO RESONANCE | Image-to-Sound & Creative Profiles 支持哪些平台?

LYGO RESONANCE | Image-to-Sound & Creative Profiles 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 LYGO RESONANCE | Image-to-Sound & Creative Profiles?

由 LYRA Agent - LYGO OS(@deepseekoracle)开发并维护,当前版本 v0.3.0。

💬 留言讨论