Skip to content
Voro
  1. Image
  2. Voro

Convert

Authoring guide Convert

Voro never converts data behind your back. When an output and an input are different kinds, you place Convert between them and choose how the change happens, so every conversion stays visible in the graph.

Place Convert from any view of the Voro menu, under Voro. Wire the source into it, pick the input class, the output class and the method, and wire the output onward. The controls of the chosen method appear with it.

One input and one output, whose kinds follow the chosen method: a row into a tensor, a row into a row, a tensor into a tensor of another type or layout, or a one-dimensional tensor into a control row.

The methods and their controls are listed under Conversions below.

Inputs

  • in row required
    control_f32_v1

Outputs

  • out image
    1 x 256

Audio row → tensor

In
row (control_f32_v1, pcm_mono_f32_v1, pcm_stereo_f32_v1, spectrum_mono_f32_v1, spectrum_stereo_f32_v1)
Out
tensor (f32, cf, rank 2)
Controls
Frames 1 to 4096 , default 256 . Destination tensor frame extent. Channels 1 to 64 , default 1 . Fallback row width; a connected authored row supplies its declared channel count.

Graph row → seat

In
row (control_f32_v1, pcm_mono_f32_v1, pcm_stereo_f32_v1, spectrum_mono_f32_v1, spectrum_stereo_f32_v1)
Out
row (control_f32_v1, pcm_mono_f32_v1, pcm_stereo_f32_v1, spectrum_mono_f32_v1, spectrum_stereo_f32_v1)

Tensor conform

In
tensor (rank 3)
Out
tensor (rank 3)
Controls
Dtype f32 / f16 / u8 , default f32 Layout hw / chw / hwc / nchw / nhwc , default hwc Fit nearest-centre / letterbox / stretch , default nearest-centre

Tensor → control row

In
tensor (f32, hw, rank 1)
Out
row (control_f32_v1)
In (In) Menu op('convert').par.In
Default:
control_f32_v1
Options:
control_f32_v1, pcm_mono_f32_v1, pcm_stereo_f32_v1, spectrum_mono_f32_v1, spectrum_stereo_f32_v1, tensor
Out (Out) Menu op('convert').par.Out
Default:
tensor
Options:
tensor, control_f32_v1, pcm_mono_f32_v1, pcm_stereo_f32_v1, spectrum_mono_f32_v1, spectrum_stereo_f32_v1
Method (Method) Menu op('convert').par.Method
Default:
audio_row_to_tensor
Options:
audio_row_to_tensor, graph_row_to_seat, tensor_conform, tensor_to_control_row