Hz's
audio engine.
Right-click to navigate subsections.
The Audio Monitor panel is the home of several subpanels useful in controlling and monitoring the state of Hz. The display of subpanel content is controlled by the open/close control at the top right of each subpanel. Here we see seven subpanels in their closed state.
The AudioStatus panel allows you to monitor, start and stop the audio engine. When the AudioEngine is asleep this panel is empty but here we see it fully operational. Here are the details:
The Fibers panel displays the current collection of audio fibers
known to the audio engine. As discussed elsewhere, there are two
kinds of fibers in Hz. We use Sandbox
to refer to javascript async
functions and Lua
to refer to active coroutines. Each time you launch
a new music program it will appear (possibly briefly) in this panel.
You can cancel long-running fibers by click on the x
at its left.
Cancelation of sandbox fibers is a cooperative action since it is
only poassible if your script yields
control.
In addition to the fiber name you can see its runtime which is updated
when the fiber yields. Next to that is the fiber status: running
,
canceling
, or done
. Note that coroutines have a lifetime that is
independent of the audio engine. Stopping the audio engine doesn't
automatically cancel a fiber but will certainly prevent it from making
any sounds. Hz provides independent control over the sandboxes via
the context menu found within CodeEditor via
this context menu:
The Windows panel display the current collection of Anode GUI and sandowbox windows. Anode GUIs that don't support the webview GUI appear here where you can toggle their visibility.
Audio scenes that include Hz.Scope produce spectrum and signal plots that appear here.
Your soundcape scripts can choose to plot signals to two 2D plot surfaces. This can be helpful in debugging, sonfication or mesmerization. The scrollwheel can be used to modify the Y-axis scale and hovering over any position in a plot will update the value and data-index in the plot's legend at top.
See examples for more details.
Your soundscape scripts can request visualization of the current Audio Graph using Music API's Agraph class. Keep in mind:
Here's a simple graphviz:
You can use your mouse to navigate this panel as follows:
mouse-wheel
to zoom in and outclick+drag
to panhover
over edges to inspect a signal pathright-click
to reset the viewGraphViz is built atop the WASM packaging of the most excellent GraphViz.