outputs #
By default, hydra contains four separate virtual outputs that can each render different visuals, and can be mixed with each other to create more complex visuals. The variables o0
, o1
, o2
, and o3
correspond to the different outputs.
The out function #
The special Hydra function that allows us to output our visuals is called out
.
out( output = o0 )
The src function #
In the example above you can also see the src
function, which allows use to access the video signals in framebuffers such as outputs or external sources. This is how take video from outputs and route them mixing them with each other.
src( texture )
default available textures are: o0, o1, o2, o3, s0, s1, s2, s3
Using multiple outputs #
Rendering all outputs at once #
To see all four of the outputs at once, use the render()
function. This will divide the screen into four, showing each output in a different section of the screen.
Using a different variable inside the .out()
function renders the patch to a different output. For example, .out(o1)
will render a function chain to the framebuffer o1
.
Rendering an output on screen #
By default, only output o0
is rendered to the screen, while the render()
command divides the screen in four. Show a specific output on the screen by adding it inside of render()
, for example render(o2)
to show buffer o2
.
Trick: try to create different sketches and switch them in your live performance or even combine them.