vuo.type
These nodes convert between different types of data.
If you drag a data cable from one port to another port with a different data type, then one of these nodes may be automatically inserted. You also have the option to add these nodes to the composition yourself, for example if you need to do a series of data conversions (from one type to a second type to a third type).
The data types handled by these nodes include:
- Text, which is useful for reading and writing.
- Integers and real numbers, which are useful for math.
- Booleans, which are useful for logic.
Nodes:
- Convert Real List to Audio (vuo.type.audio.list.real): Creates an audio sample buffer from a list of real number values.
- Convert Frame to Audio (vuo.type.audioframe.audiosamples): Outputs a list of audio channels for the provided audio frame.
- Convert Frame to Timestamp (vuo.type.audioframe.real): Outputs the timestamp for the provided audio frame.
- Convert Audio to Frame (vuo.type.audiosamples.audioframe): Creates an audio frame from a list of audio channels.
- Convert Boolean to Integer (vuo.type.boolean.integer): Outputs 0 if the input is false or 1 if the input is true.
- Convert Boolean to Real (vuo.type.boolean.real): Outputs 0 if the input is false or 1 if the input is true.
- Convert Data to Text (vuo.type.data.text): Converts UTF-8 encoded data to text.
- Convert Image to Layer (vuo.type.image.layer): Creates a scaled layer from an image.
- Convert Image to Video Frame (vuo.type.image.videoframe): Creates a video frame from an image.
- Is Integer Nonzero (vuo.type.integer.boolean): Outputs false if the input is 0 or true if the input is anything else.
- Convert Integer to 2D Point (X,0) (vuo.type.integer.point2d.x): Creates a 2D point with coordinates (X,0)
- Convert Integer to 2D Point (0,Y) (vuo.type.integer.point2d.y): Creates a 2D point with coordinates (0,Y).
- Convert Integer to 3D Point (X,0,0) (vuo.type.integer.point3d.x): Creates a 3D point with coordinates (X,0,0).
- Convert Integer to 3D Point (0,Y,0) (vuo.type.integer.point3d.y): Creates a 3D point with coordinates (0,Y,0).
- Convert Integer to 3D Point (0,0,Z) (vuo.type.integer.point3d.z): Creates a 3D point with coordinates (0,0,Z).
- Convert Integer to 4D Point (0,0,0,W) (vuo.type.integer.point4d.w): Creates a 4D point with coordinates (0,0,0,W).
- Convert Integer to 4D Point (X,0,0,0) (vuo.type.integer.point4d.x): Creates a 4D point with coordinates (X,0,0,0).
- Convert Integer to 4D Point (0,Y,0,0) (vuo.type.integer.point4d.y): Creates a 4D point with coordinates (0,Y,0,0).
- Convert Integer to 4D Point (0,0,Z,0) (vuo.type.integer.point4d.z): Creates a 4D point with coordinates (0,0,Z,0).
- Convert Integer to Real Number (vuo.type.integer.real): Outputs the real number equivalent to an integer.
- Convert Audio to Real List (vuo.type.list.audio.real): Creates a list of real numbers using the audio sample values.
- Convert Integer List to Real List (vuo.type.list.integer.real): Outputs a list containing real number equivalents to the input list’s integers.
- Convert 2D Point List to 3D Point List (X,Y,0) (vuo.type.list.point2d.point3d.xy): Expands a list of 2D points (X,Y) to a list of 3D points (X,Y,0).
- Convert 2D Point List to Real List (X) (vuo.type.list.point2d.real.x): Creates a list of real numbers using the X coordinate of the input list of 2D points.
- Convert 2D Point List to Real List (Y) (vuo.type.list.point2d.real.y): Creates a list of real numbers using the Y coordinate of the input list of 2D points.
- Convert 3D Point List to 2D Point List (X,Y) (vuo.type.list.point3d.point2d.xy): Outputs a list of just the (X,Y) part of a list of 3D points (X,Y,Z).
- Convert 3D Point List to Real List (X) (vuo.type.list.point3d.real.x): Creates a list of real numbers using the X coordinate of the input list of 3D points.
- Convert 3D Point List to Real List (Y) (vuo.type.list.point3d.real.y): Creates a list of real numbers using the Y coordinate of the input list of 3D points.
- Convert 3D Point List to Real List (Z) (vuo.type.list.point3d.real.z): Creates a list of real numbers using the Z coordinate of the input list of 3D points.
- Convert Real List to Integer List (vuo.type.list.real.integer): Outputs a list containing integer approximations of the input list’s real numbers.
- Convert Real List to 2D Point List (X,0) (vuo.type.list.real.point2d.x): Creates a list of 2D points using the input real numbers as the X coordinate, and 0 as the Y coordinate.
- Convert Real List to 2D Point List (0,Y) (vuo.type.list.real.point2d.y): Creates a list of 2D points using the input real numbers as the Y coordinate, and 0 as the X coordinate.
- Convert Real List to 3D Point List (X,0,0) (vuo.type.list.real.point3d.x): Creates a list of 3D points using the input real numbers as the X coordinate, and 0 as the Y and Z coordinates.
- Convert Real List to 3D Point List (0,Y,0) (vuo.type.list.real.point3d.y): Creates a list of 3D points using the input real numbers as the Y coordinate, and 0 as the X and Z coordinates.
- Convert Real List to 3D Point List (0,0,Z) (vuo.type.list.real.point3d.z): Creates a list of 3D points using the input real numbers as the Z coordinate, and 0 as the X and Y coordinates.
- Convert Real List to Text List (vuo.type.list.real.text): Outputs a list containing text representing the input list’s real numbers.
- Convert Text List to Real List (vuo.type.list.text.real): Outputs a list containing real numbers representing the input list’s text numbers.
- Convert 2D Point to 3D Point (X,Y,0) (vuo.type.point2d.point3d.xy): Expands a 2D point (X,Y) to a 3D point (X,Y,0).
- Convert 2D Point to 4D Point (X,Y,0,0) (vuo.type.point2d.point4d.xy): Expands a 2D point (X,Y) to a 4D point (X,Y,0,0).
- Convert 2D Point to Real (X) (vuo.type.point2d.real.x): Outputs just the X-coordinate of a 2D point (X,Y).
- Convert 2D Point to Real (Y) (vuo.type.point2d.real.y): Outputs just the Y-coordinate of a 2D point (X,Y).
- Convert 3D Point to 2D Point (X,Y) (vuo.type.point3d.point2d.xy): Outputs just the (X,Y) part of a 3D point (X,Y,Z).
- Convert 3D Point to 4D Point (X,Y,Z,0) (vuo.type.point3d.point4d.xyz): Expands a 3D point (X,Y,Z) to a 4D point (X,Y,Z,0).
- Convert 3D Point to Real (X) (vuo.type.point3d.real.x): Outputs just the X-coordinate of a 3D point (X,Y,Z).
- Convert 3D Point to Real (Y) (vuo.type.point3d.real.y): Outputs just the Y-coordinate of a 3D point (X,Y,Z).
- Convert 3D Point to Real (Z) (vuo.type.point3d.real.z): Outputs just the Z-coordinate of a 3D point (X,Y,Z).
- Convert 4D Point to 2D Point (X,Y) (vuo.type.point4d.point2d.xy): Outputs just the (X,Y) part of a 4D point (X,Y,Z,W).
- Convert 4D Point to 3D Point (X,Y,Z) (vuo.type.point4d.point3d.xyz): Outputs just the (X,Y,Z) part of a 4D point (X,Y,Z,W).
- Convert 4D Point to Real (W) (vuo.type.point4d.real.w): Outputs just the W-coordinate of a 4D point (X,Y,Z,W).
- Convert 4D Point to Real (X) (vuo.type.point4d.real.x): Outputs just the X-coordinate of a 4D point (X,Y,Z,W).
- Convert 4D Point to Real (Y) (vuo.type.point4d.real.y): Outputs just the Y-coordinate of a 4D point (X,Y,Z,W).
- Convert 4D Point to Real (Z) (vuo.type.point4d.real.z): Outputs just the Z-coordinate of a 4D point (X,Y,Z,W).
- Is Real Nonzero (vuo.type.real.boolean): Outputs false if the input is close to 0 or true otherwise.
- Convert Real to 2D Point (X,0) (vuo.type.real.point2d.x): Creates a 2D point with coordinates (X,0).
- Convert Real to 2D Point (X,X) (vuo.type.real.point2d.xy): Creates a 2D point with coordinates (X,X).
- Convert Real to 2D Point (0,Y) (vuo.type.real.point2d.y): Creates a 2D point with coordinates (0,Y).
- Convert Real to 3D Point (X,0,0) (vuo.type.real.point3d.x): Creates a 3D point with coordinates (X,0,0).
- Convert Real to 3D Point (X,X,X) (vuo.type.real.point3d.xyz): Creates a 3D point with coordinates (X,X,X).
- Convert Real to 3D Point (0,Y,0) (vuo.type.real.point3d.y): Creates a 3D point with coordinates (0,Y,0).
- Convert Real to 3D Point (0,0,Z) (vuo.type.real.point3d.z): Creates a 3D point with coordinates (0,0,Z).
- Convert Real to 4D Point (0,0,0,W) (vuo.type.real.point4d.w): Creates a 4D point with coordinates (0,0,0,W).
- Convert Real to 4D Point (X,0,0,0) (vuo.type.real.point4d.x): Creates a 4D point with coordinates (X,0,0,0).
- Convert Real to 4D Point (0,Y,0,0) (vuo.type.real.point4d.y): Creates a 4D point with coordinates (0,Y,0,0).
- Convert Real to 4D Point (0,0,Z,0) (vuo.type.real.point4d.z): Creates a 4D point with coordinates (0,0,Z,0).
- Convert 3D Point to Rotation (vuo.type.rotate.point3d.transform): Converts a 3D point to a transform that rotates an object.
- Convert Real to Rotation (vuo.type.rotate.real.transform2d): Convert a real value to a 2D Transform with the specified rotation.
- Convert 2D Point to Scale (vuo.type.scale.point2d.transform2d): Convert a 2D point to a 2D Transform with the specified scale value.
- Convert 3D Point to Scale (vuo.type.scale.point3d.transform): Converts a 3D point to a transform that scales an object.
- Convert Real to Scale (X) (vuo.type.scale.real.transform2d.x): Converts a real value to a 2D Transform with the specified scale (in Vuo Coordinates) along the X axis.
- Convert Real to Scale (XY) (vuo.type.scale.real.transform2d.xy): Converts a real value to a 2D Transform with the specified scale (in Vuo Coordinates) along both the X and Y axes.
- Convert Real to Scale (Y) (vuo.type.scale.real.transform2d.y): Converts a real value to a 2D Transform with the specified scale (in Vuo Coordinates) along the Y axis.
- Convert Text to Boolean (vuo.type.text.boolean): Outputs true if the text says true or false if the text says anything else.
- Convert Text to Data (vuo.type.text.data): Converts text to UTF-8 encoded data.
- Convert Text to Integer (vuo.type.text.integer): Reads an integer number from text.
- Convert Text to Real (vuo.type.text.real): Reads a real number from text.
- Convert 3D Transform to 2D (vuo.type.transform.transform2d): Converts a 3D transform to 2D.
- Convert 2D Transform to 3D (vuo.type.transform2d.transform): Converts a 2D transform to 3D.
- Convert 2D Point to Translation (vuo.type.translate.point2d.transform2d): Convert a 2D point to a 2D Transform with the specified translation value.
- Convert 3D Point to Translation (vuo.type.translate.point3d.transform): Converts a 3D point to a transform that translates an object.
- Convert Real to Translation (X) (vuo.type.translate.real.transform2d.x): Converts a real value to a 2D Transform with the specified translation (in Vuo Coordinates) along the X axis.
- Convert Real to Translation (Y) (vuo.type.translate.real.transform2d.y): Converts a real value to a 2D Transform with the specified translation (in Vuo Coordinates) along the Y axis.
- Convert Frame to Image (vuo.type.videoframe.image): Outputs the image for the provided video frame.
- Convert Frame to Timestamp (vuo.type.videoframe.real): Outputs the timestamp for the provided video frame.