home/ atoms/ hydra-inline-sources

Hydra can embed multiple sources inline in one chain instead of routing each to a separate output

Besides routing to named outputs, you can combine multiple sources within the same function chain without rendering them to separate outputs. A source expression is passed directly as the argument to a blend or modulate function, e.g. osc().blend(noise()), letting you use many sources, blend modes, and modulation all from within one chain. This is more compact than staging each layer on its own buffer, which is convenient live. A common pattern for complex scenes mixes both: named outputs for the major layers and inline sources for small embedded details.

Examples

osc(10).modulate(noise(3)).blend(shape(5,0.5)).out() — two inline sources in one chain; equivalent to noise().out(o1); osc().blend(src(o1)).out().

Assessment

Rewrite osc().blend(noise()).out() using a named output instead of an inline source, then explain when inline sources versus named outputs are preferable in a live set.

“you can also combine multiple sources within the same function chain, without rendering them to separate outputs”
corpus · hydra-getting-started-official-interactive-tutorial · chunk 2