AgentSkillsCN

modular-synthesis-philosophy

将模块化合成原理应用于系统设计、工作流架构以及概念性框架的构建之中。无论是设计模块化系统、以合成隐喻绘制架构图、将信号流思维运用于数据管道,还是在音频工程与软件概念之间进行转换,本指南都能为您提供清晰的思路与实用的指导。适用于模块化架构设计、信号流图绘制、受合成启发的系统思维,以及“振荡器/插件”式隐喻的应用场景。

SKILL.md
--- frontmatter
name: modular-synthesis-philosophy
description: Apply modular synthesis principles to system design, workflow architecture, and conceptual frameworks. Use when designing modular systems, creating architecture diagrams using synthesis metaphors, applying signal flow thinking to data pipelines, or translating between audio engineering and software concepts. Triggers on modular architecture design, signal flow diagrams, synthesis-inspired system thinking, or "oscillator/patch" metaphors.
license: MIT

Modular Synthesis Philosophy

Translate the wisdom of modular synthesis into system design and conceptual frameworks.

Core Principles

Everything is a Module

In modular synthesis, every function is a discrete, replaceable unit with defined inputs and outputs. Apply this to:

  • Software: Microservices, functions, components
  • Workflows: Tasks, stages, handoffs
  • Organizations: Teams, roles, interfaces
  • Knowledge: Concepts, connections, domains

Patch Points are Everything

The power isn't in the modules—it's in how they connect. A simple oscillator becomes complex through routing.

System design equivalent: APIs, interfaces, data contracts, message passing.

CV is Control, Audio is Signal

Modular synthesis distinguishes between:

  • Control Voltage (CV): Tells modules how to behave
  • Audio: The actual signal being processed

System equivalent:

  • CV = Configuration, parameters, metadata
  • Audio = Data, content, payload

No Signal Path is Wrong

Synthesis philosophy: there are no mistakes, only unexpected results. Patching a clock into an audio input creates something.

Design equivalent: Embrace emergence. Systems can be recombined in ways designers didn't anticipate.

Module Types (Translated)

Oscillators → Signal Generators

SynthesisSystem Equivalent
VCO (voltage-controlled oscillator)Data source, API endpoint, sensor
LFO (low-frequency oscillator)Scheduler, cron job, heartbeat
Noise sourceRandom generator, entropy source
Sample & HoldCache, state capture, snapshot

Filters → Signal Processors

SynthesisSystem Equivalent
VCF (voltage-controlled filter)Data transformer, query filter
Lowpass filterNoise reduction, smoothing, aggregation
Highpass filterChange detection, delta extraction
Bandpass filterSpecific extraction, search query

Modulation → Control Systems

SynthesisSystem Equivalent
Envelope (ADSR)Lifecycle management (init, active, decay, cleanup)
SequencerWorkflow orchestrator, state machine
QuantizerValidator, normalizer, type coercer
Slew limiterRate limiter, gradual rollout

Utilities → Infrastructure

SynthesisSystem Equivalent
MixerAggregator, combiner, merge function
VCA (voltage-controlled amplifier)Gain control, feature flag, throttle
Multiple/SplitterFan-out, broadcast, pub/sub
SwitchRouter, conditional, A/B test
AttenuatorScaler, normalizer, reducer

Patching Patterns

Series (Linear Pipeline)

code
[Source] → [Process A] → [Process B] → [Output]

Simple, predictable, easy to debug. Each stage transforms and passes on.

When to use: ETL pipelines, request processing, assembly lines.

Parallel (Split & Merge)

code
        ┌→ [Process A] →┐
[Source]                 [Mixer] → [Output]
        └→ [Process B] →┘

Process the same signal differently, combine results.

When to use: A/B testing, redundancy, multi-format output.

Feedback Loop

code
[Source] → [Process] → [Output]
              ↑____________|

Output feeds back into input. Creates complexity, can create instability.

When to use: Iteration, learning systems, self-regulation. Warning: Needs attenuation or the system oscillates out of control.

Cross-Modulation

code
[Osc A] ←→ [Osc B]
   ↓          ↓
[Mix] → [Output]

Two modules modulate each other. Creates complex, evolving behavior.

When to use: Emergent systems, creative AI, market dynamics.

Anti-Consensus Methodology

Standard approach: Follow established patterns, use popular frameworks, minimize surprise.

Synthesis approach: Experiment with unconventional signal paths. The "wrong" patch might create something novel.

Application

  1. Identify the consensus in your domain
  2. Ask: What if we routed this differently?
  3. Patch experimentally: Try connections that "shouldn't" work
  4. Evaluate: Does the unexpected result have value?
  5. Document: If it works, it's a technique

Examples

  • AI Agents as Oscillators: Multiple AI instances generating continuous output, mixed and filtered before reaching user
  • Feedback in Writing: Output feeds into prompt, iteratively refining
  • Cross-domain Patching: Using music theory for visual composition, or rhetoric for code architecture

Designing with Synthesis Metaphors

Step 1: Identify Your Voices

What are the signal generators in your system?

  • Data sources, user inputs, scheduled events, external APIs

Step 2: Map Your Processing

What transforms signals?

  • Business logic, validation, enrichment, formatting

Step 3: Define Your Modulation

What controls behavior?

  • Configuration, user preferences, system state, time

Step 4: Establish Your Routing

How do signals flow?

  • Direct connections, message queues, event buses, shared state

Step 5: Set Your Mix

How do multiple signals combine?

  • Priority, averaging, voting, concatenation

Diagram Conventions

code
┌─────────────┐
│   MODULE    │
│             │
│ ○ CV In     │  ○ = Input
│ ● Audio In  │  ● = Output (filled)
│ ● Out       │
└─────────────┘

Patch cables: ──────── (audio)
              ········ (CV/control)

References

  • references/module-mappings.md - Extended module-to-system translations
  • references/patch-diagrams.md - Example system diagrams in synthesis style